diff --git a/kubernetes-model-generator/openapi/generator/tools/generator/openapi.go b/kubernetes-model-generator/openapi/generator/tools/generator/openapi.go
index 004f7fe8552..c1eb83b05be 100644
--- a/kubernetes-model-generator/openapi/generator/tools/generator/openapi.go
+++ b/kubernetes-model-generator/openapi/generator/tools/generator/openapi.go
@@ -1,5 +1,6 @@
-////go:build ignore
-//// +build ignore
+//go:build ignore
+// +build ignore
+
/**
* Copyright (C) 2015 Red Hat, Inc.
*
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/pom.xml b/kubernetes-model-generator/openshift-model-machineconfiguration/pom.xml
index 0246c28c278..5b212cf47db 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/pom.xml
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/pom.xml
@@ -43,6 +43,10 @@
io.fabric8
kubernetes-model-core
+
+ io.fabric8
+ openshift-model-config
+
@@ -56,18 +60,11 @@
- ${openapi.schema.openshift-latest}
+ ${openapi.schema.openshift-generated}
-
- io.fabric8.kubernetes.api.model
- io.fabric8.openshift.api.model.machineconfiguration
-
^io\.openshift\.machineconfiguration\..*$
-
- io.fabric8.kubernetes.api.model.LabelSelectorRequirement
-
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatusCertExpirys.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/CertExpiry.java
similarity index 89%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatusCertExpirys.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/CertExpiry.java
index 8503fe46629..5cac4c7ce1b 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatusCertExpirys.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/CertExpiry.java
@@ -53,7 +53,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class MachineConfigPoolStatusCertExpirys implements Editable , KubernetesResource
+public class CertExpiry implements Editable , KubernetesResource
{
@JsonProperty("bundle")
@@ -69,10 +69,10 @@ public class MachineConfigPoolStatusCertExpirys implements Editable , KubernetesResource
+public class ContainerRuntimeConfigCondition implements Editable , KubernetesResource
{
@JsonProperty("lastTransitionTime")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object lastTransitionTime;
+ private String lastTransitionTime;
@JsonProperty("message")
private String message;
@JsonProperty("reason")
@@ -76,10 +75,10 @@ public class KubeletConfigStatusConditions implements Editable additionalProperties = new LinkedHashMap();
@@ -69,29 +69,29 @@ public class ContainerRuntimeConfigSpec implements Editable conditions = new ArrayList<>();
+ private List conditions = new ArrayList<>();
@JsonProperty("observedGeneration")
private Long observedGeneration;
@JsonIgnore
@@ -72,7 +72,7 @@ public class ContainerRuntimeConfigStatus implements Editable conditions, Long observedGeneration) {
+ public ContainerRuntimeConfigStatus(List conditions, Long observedGeneration) {
super();
this.conditions = conditions;
this.observedGeneration = observedGeneration;
@@ -80,12 +80,12 @@ public ContainerRuntimeConfigStatus(List
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getConditions() {
+ public List getConditions() {
return conditions;
}
@JsonProperty("conditions")
- public void setConditions(List conditions) {
+ public void setConditions(List conditions) {
this.conditions = conditions;
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ContainerRuntimeConfigSpecContainerRuntimeConfig.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ContainerRuntimeConfiguration.java
similarity index 78%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ContainerRuntimeConfigSpecContainerRuntimeConfig.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ContainerRuntimeConfiguration.java
index 61724f9ea6b..1e38e02bfa3 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ContainerRuntimeConfigSpecContainerRuntimeConfig.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ContainerRuntimeConfiguration.java
@@ -21,6 +21,7 @@
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.Quantity;
import io.fabric8.kubernetes.api.model.ResourceRequirements;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
@@ -55,7 +56,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class ContainerRuntimeConfigSpecContainerRuntimeConfig implements Editable , KubernetesResource
+public class ContainerRuntimeConfiguration implements Editable , KubernetesResource
{
@JsonProperty("defaultRuntime")
@@ -63,11 +64,9 @@ public class ContainerRuntimeConfigSpecContainerRuntimeConfig implements Editabl
@JsonProperty("logLevel")
private String logLevel;
@JsonProperty("logSizeMax")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object logSizeMax;
+ private Quantity logSizeMax;
@JsonProperty("overlaySize")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object overlaySize;
+ private Quantity overlaySize;
@JsonProperty("pidsLimit")
private Long pidsLimit;
@JsonIgnore
@@ -77,10 +76,10 @@ public class ContainerRuntimeConfigSpecContainerRuntimeConfig implements Editabl
* No args constructor for use in serialization
*
*/
- public ContainerRuntimeConfigSpecContainerRuntimeConfig() {
+ public ContainerRuntimeConfiguration() {
}
- public ContainerRuntimeConfigSpecContainerRuntimeConfig(String defaultRuntime, String logLevel, Object logSizeMax, Object overlaySize, Long pidsLimit) {
+ public ContainerRuntimeConfiguration(String defaultRuntime, String logLevel, Quantity logSizeMax, Quantity overlaySize, Long pidsLimit) {
super();
this.defaultRuntime = defaultRuntime;
this.logLevel = logLevel;
@@ -110,24 +109,22 @@ public void setLogLevel(String logLevel) {
}
@JsonProperty("logSizeMax")
- public Object getLogSizeMax() {
+ public Quantity getLogSizeMax() {
return logSizeMax;
}
@JsonProperty("logSizeMax")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setLogSizeMax(Object logSizeMax) {
+ public void setLogSizeMax(Quantity logSizeMax) {
this.logSizeMax = logSizeMax;
}
@JsonProperty("overlaySize")
- public Object getOverlaySize() {
+ public Quantity getOverlaySize() {
return overlaySize;
}
@JsonProperty("overlaySize")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setOverlaySize(Object overlaySize) {
+ public void setOverlaySize(Quantity overlaySize) {
this.overlaySize = overlaySize;
}
@@ -142,12 +139,12 @@ public void setPidsLimit(Long pidsLimit) {
}
@JsonIgnore
- public ContainerRuntimeConfigSpecContainerRuntimeConfigBuilder edit() {
- return new ContainerRuntimeConfigSpecContainerRuntimeConfigBuilder(this);
+ public ContainerRuntimeConfigurationBuilder edit() {
+ return new ContainerRuntimeConfigurationBuilder(this);
}
@JsonIgnore
- public ContainerRuntimeConfigSpecContainerRuntimeConfigBuilder toBuilder() {
+ public ContainerRuntimeConfigurationBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatusControllerCertificates.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerCertificate.java
similarity index 88%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatusControllerCertificates.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerCertificate.java
index fdf6cceb9b7..b8bee4dadf6 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatusControllerCertificates.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerCertificate.java
@@ -55,7 +55,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class ControllerConfigStatusControllerCertificates implements Editable , KubernetesResource
+public class ControllerCertificate implements Editable , KubernetesResource
{
@JsonProperty("bundleFile")
@@ -75,10 +75,10 @@ public class ControllerConfigStatusControllerCertificates implements Editable imageRegistryBundleData = new ArrayList<>();
+ private List imageRegistryBundleData = new ArrayList<>();
@JsonProperty("imageRegistryBundleUserData")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List imageRegistryBundleUserData = new ArrayList<>();
+ private List imageRegistryBundleUserData = new ArrayList<>();
@JsonProperty("images")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private Map images = new LinkedHashMap<>();
@JsonProperty("infra")
- private ControllerConfigSpecInfra infra;
+ private Infrastructure infra;
@JsonProperty("internalRegistryPullSecret")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object internalRegistryPullSecret;
+ private String internalRegistryPullSecret;
@JsonProperty("ipFamilies")
private String ipFamilies;
@JsonProperty("kubeAPIServerServingCAData")
private String kubeAPIServerServingCAData;
@JsonProperty("network")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object network;
+ private NetworkInfo network;
@JsonProperty("networkType")
private String networkType;
@JsonProperty("osImageURL")
@@ -124,10 +123,9 @@ public class ControllerConfigSpec implements Editable imageRegistryBundleData, List imageRegistryBundleUserData, Map images, ControllerConfigSpecInfra infra, Object internalRegistryPullSecret, String ipFamilies, String kubeAPIServerServingCAData, Object network, String networkType, String osImageURL, String platform, Object proxy, ControllerConfigSpecPullSecret pullSecret, String releaseImage, String rootCAData) {
+ public ControllerConfigSpec(String additionalTrustBundle, String baseOSContainerImage, String baseOSExtensionsContainerImage, String cloudProviderCAData, String cloudProviderConfig, String clusterDNSIP, DNS dns, String etcdDiscoveryDomain, List imageRegistryBundleData, List imageRegistryBundleUserData, Map images, Infrastructure infra, String internalRegistryPullSecret, String ipFamilies, String kubeAPIServerServingCAData, NetworkInfo network, String networkType, String osImageURL, String platform, ProxyStatus proxy, ObjectReference pullSecret, String releaseImage, String rootCAData) {
super();
this.additionalTrustBundle = additionalTrustBundle;
this.baseOSContainerImage = baseOSContainerImage;
@@ -170,13 +168,12 @@ public ControllerConfigSpec(Object additionalTrustBundle, String baseOSContainer
}
@JsonProperty("additionalTrustBundle")
- public Object getAdditionalTrustBundle() {
+ public String getAdditionalTrustBundle() {
return additionalTrustBundle;
}
@JsonProperty("additionalTrustBundle")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setAdditionalTrustBundle(Object additionalTrustBundle) {
+ public void setAdditionalTrustBundle(String additionalTrustBundle) {
this.additionalTrustBundle = additionalTrustBundle;
}
@@ -201,13 +198,12 @@ public void setBaseOSExtensionsContainerImage(String baseOSExtensionsContainerIm
}
@JsonProperty("cloudProviderCAData")
- public Object getCloudProviderCAData() {
+ public String getCloudProviderCAData() {
return cloudProviderCAData;
}
@JsonProperty("cloudProviderCAData")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setCloudProviderCAData(Object cloudProviderCAData) {
+ public void setCloudProviderCAData(String cloudProviderCAData) {
this.cloudProviderCAData = cloudProviderCAData;
}
@@ -232,12 +228,12 @@ public void setClusterDNSIP(String clusterDNSIP) {
}
@JsonProperty("dns")
- public ControllerConfigSpecDns getDns() {
+ public DNS getDns() {
return dns;
}
@JsonProperty("dns")
- public void setDns(ControllerConfigSpecDns dns) {
+ public void setDns(DNS dns) {
this.dns = dns;
}
@@ -253,23 +249,23 @@ public void setEtcdDiscoveryDomain(String etcdDiscoveryDomain) {
@JsonProperty("imageRegistryBundleData")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getImageRegistryBundleData() {
+ public List getImageRegistryBundleData() {
return imageRegistryBundleData;
}
@JsonProperty("imageRegistryBundleData")
- public void setImageRegistryBundleData(List imageRegistryBundleData) {
+ public void setImageRegistryBundleData(List imageRegistryBundleData) {
this.imageRegistryBundleData = imageRegistryBundleData;
}
@JsonProperty("imageRegistryBundleUserData")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getImageRegistryBundleUserData() {
+ public List getImageRegistryBundleUserData() {
return imageRegistryBundleUserData;
}
@JsonProperty("imageRegistryBundleUserData")
- public void setImageRegistryBundleUserData(List imageRegistryBundleUserData) {
+ public void setImageRegistryBundleUserData(List imageRegistryBundleUserData) {
this.imageRegistryBundleUserData = imageRegistryBundleUserData;
}
@@ -285,23 +281,22 @@ public void setImages(Map images) {
}
@JsonProperty("infra")
- public ControllerConfigSpecInfra getInfra() {
+ public Infrastructure getInfra() {
return infra;
}
@JsonProperty("infra")
- public void setInfra(ControllerConfigSpecInfra infra) {
+ public void setInfra(Infrastructure infra) {
this.infra = infra;
}
@JsonProperty("internalRegistryPullSecret")
- public Object getInternalRegistryPullSecret() {
+ public String getInternalRegistryPullSecret() {
return internalRegistryPullSecret;
}
@JsonProperty("internalRegistryPullSecret")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setInternalRegistryPullSecret(Object internalRegistryPullSecret) {
+ public void setInternalRegistryPullSecret(String internalRegistryPullSecret) {
this.internalRegistryPullSecret = internalRegistryPullSecret;
}
@@ -326,13 +321,12 @@ public void setKubeAPIServerServingCAData(String kubeAPIServerServingCAData) {
}
@JsonProperty("network")
- public Object getNetwork() {
+ public NetworkInfo getNetwork() {
return network;
}
@JsonProperty("network")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setNetwork(Object network) {
+ public void setNetwork(NetworkInfo network) {
this.network = network;
}
@@ -367,23 +361,22 @@ public void setPlatform(String platform) {
}
@JsonProperty("proxy")
- public Object getProxy() {
+ public ProxyStatus getProxy() {
return proxy;
}
@JsonProperty("proxy")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setProxy(Object proxy) {
+ public void setProxy(ProxyStatus proxy) {
this.proxy = proxy;
}
@JsonProperty("pullSecret")
- public ControllerConfigSpecPullSecret getPullSecret() {
+ public ObjectReference getPullSecret() {
return pullSecret;
}
@JsonProperty("pullSecret")
- public void setPullSecret(ControllerConfigSpecPullSecret pullSecret) {
+ public void setPullSecret(ObjectReference pullSecret) {
this.pullSecret = pullSecret;
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatus.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatus.java
index 4a8b441cc6f..d2dd15ade7a 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatus.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatus.java
@@ -60,10 +60,10 @@ public class ControllerConfigStatus implements Editable conditions = new ArrayList<>();
+ private List conditions = new ArrayList<>();
@JsonProperty("controllerCertificates")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List controllerCertificates = new ArrayList<>();
+ private List controllerCertificates = new ArrayList<>();
@JsonProperty("observedGeneration")
private Long observedGeneration;
@JsonIgnore
@@ -76,7 +76,7 @@ public class ControllerConfigStatus implements Editable conditions, List controllerCertificates, Long observedGeneration) {
+ public ControllerConfigStatus(List conditions, List controllerCertificates, Long observedGeneration) {
super();
this.conditions = conditions;
this.controllerCertificates = controllerCertificates;
@@ -85,23 +85,23 @@ public ControllerConfigStatus(List conditions,
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getConditions() {
+ public List getConditions() {
return conditions;
}
@JsonProperty("conditions")
- public void setConditions(List conditions) {
+ public void setConditions(List conditions) {
this.conditions = conditions;
}
@JsonProperty("controllerCertificates")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getControllerCertificates() {
+ public List getControllerCertificates() {
return controllerCertificates;
}
@JsonProperty("controllerCertificates")
- public void setControllerCertificates(List controllerCertificates) {
+ public void setControllerCertificates(List controllerCertificates) {
this.controllerCertificates = controllerCertificates;
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatusConditions.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatusCondition.java
similarity index 84%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatusConditions.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatusCondition.java
index 6c32611d75a..efe24f69c5f 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatusConditions.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigStatusCondition.java
@@ -55,12 +55,11 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class ControllerConfigStatusConditions implements Editable , KubernetesResource
+public class ControllerConfigStatusCondition implements Editable , KubernetesResource
{
@JsonProperty("lastTransitionTime")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object lastTransitionTime;
+ private String lastTransitionTime;
@JsonProperty("message")
private String message;
@JsonProperty("reason")
@@ -76,10 +75,10 @@ public class ControllerConfigStatusConditions implements Editable , KubernetesResource
+public class ImageRegistryBundle implements Editable , KubernetesResource
{
@JsonProperty("data")
@@ -66,10 +66,10 @@ public class ControllerConfigSpecImageRegistryBundleData implements Editable , KubernetesResource
+public class KubeletConfigCondition implements Editable , KubernetesResource
{
@JsonProperty("lastTransitionTime")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object lastTransitionTime;
+ private String lastTransitionTime;
@JsonProperty("message")
private String message;
@JsonProperty("reason")
@@ -76,10 +75,10 @@ public class MachineConfigPoolStatusConditions implements Editable , K
@JsonProperty("logLevel")
private Integer logLevel;
@JsonProperty("machineConfigPoolSelector")
- private KubeletConfigSpecMachineConfigPoolSelector machineConfigPoolSelector;
+ private LabelSelector machineConfigPoolSelector;
@JsonProperty("tlsSecurityProfile")
- private KubeletConfigSpecTlsSecurityProfile tlsSecurityProfile;
+ private TLSSecurityProfile tlsSecurityProfile;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -79,7 +80,7 @@ public class KubeletConfigSpec implements Editable , K
public KubeletConfigSpec() {
}
- public KubeletConfigSpec(Boolean autoSizingReserved, Object kubeletConfig, Integer logLevel, KubeletConfigSpecMachineConfigPoolSelector machineConfigPoolSelector, KubeletConfigSpecTlsSecurityProfile tlsSecurityProfile) {
+ public KubeletConfigSpec(Boolean autoSizingReserved, Object kubeletConfig, Integer logLevel, LabelSelector machineConfigPoolSelector, TLSSecurityProfile tlsSecurityProfile) {
super();
this.autoSizingReserved = autoSizingReserved;
this.kubeletConfig = kubeletConfig;
@@ -120,22 +121,22 @@ public void setLogLevel(Integer logLevel) {
}
@JsonProperty("machineConfigPoolSelector")
- public KubeletConfigSpecMachineConfigPoolSelector getMachineConfigPoolSelector() {
+ public LabelSelector getMachineConfigPoolSelector() {
return machineConfigPoolSelector;
}
@JsonProperty("machineConfigPoolSelector")
- public void setMachineConfigPoolSelector(KubeletConfigSpecMachineConfigPoolSelector machineConfigPoolSelector) {
+ public void setMachineConfigPoolSelector(LabelSelector machineConfigPoolSelector) {
this.machineConfigPoolSelector = machineConfigPoolSelector;
}
@JsonProperty("tlsSecurityProfile")
- public KubeletConfigSpecTlsSecurityProfile getTlsSecurityProfile() {
+ public TLSSecurityProfile getTlsSecurityProfile() {
return tlsSecurityProfile;
}
@JsonProperty("tlsSecurityProfile")
- public void setTlsSecurityProfile(KubeletConfigSpecTlsSecurityProfile tlsSecurityProfile) {
+ public void setTlsSecurityProfile(TLSSecurityProfile tlsSecurityProfile) {
this.tlsSecurityProfile = tlsSecurityProfile;
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/KubeletConfigSpecTlsSecurityProfile.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/KubeletConfigSpecTlsSecurityProfile.java
deleted file mode 100644
index 5e996d618f7..00000000000
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/KubeletConfigSpecTlsSecurityProfile.java
+++ /dev/null
@@ -1,172 +0,0 @@
-
-package io.fabric8.openshift.api.model.machineconfiguration.v1;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-import io.fabric8.kubernetes.api.model.LabelSelector;
-import io.fabric8.kubernetes.api.model.LocalObjectReference;
-import io.fabric8.kubernetes.api.model.ObjectMeta;
-import io.fabric8.kubernetes.api.model.ObjectReference;
-import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
-import io.fabric8.kubernetes.api.model.PodTemplateSpec;
-import io.fabric8.kubernetes.api.model.ResourceRequirements;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "custom",
- "intermediate",
- "modern",
- "old",
- "type"
-})
-@ToString
-@EqualsAndHashCode
-@Accessors(prefix = {
- "_",
- ""
-})
-@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(ObjectMeta.class),
- @BuildableReference(LabelSelector.class),
- @BuildableReference(Container.class),
- @BuildableReference(PodTemplateSpec.class),
- @BuildableReference(ResourceRequirements.class),
- @BuildableReference(IntOrString.class),
- @BuildableReference(ObjectReference.class),
- @BuildableReference(LocalObjectReference.class),
- @BuildableReference(PersistentVolumeClaim.class)
-})
-@Generated("jsonschema2pojo")
-public class KubeletConfigSpecTlsSecurityProfile implements Editable , KubernetesResource
-{
-
- @JsonProperty("custom")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object custom;
- @JsonProperty("intermediate")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object intermediate;
- @JsonProperty("modern")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object modern;
- @JsonProperty("old")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object old;
- @JsonProperty("type")
- private String type;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public KubeletConfigSpecTlsSecurityProfile() {
- }
-
- public KubeletConfigSpecTlsSecurityProfile(Object custom, Object intermediate, Object modern, Object old, String type) {
- super();
- this.custom = custom;
- this.intermediate = intermediate;
- this.modern = modern;
- this.old = old;
- this.type = type;
- }
-
- @JsonProperty("custom")
- public Object getCustom() {
- return custom;
- }
-
- @JsonProperty("custom")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setCustom(Object custom) {
- this.custom = custom;
- }
-
- @JsonProperty("intermediate")
- public Object getIntermediate() {
- return intermediate;
- }
-
- @JsonProperty("intermediate")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setIntermediate(Object intermediate) {
- this.intermediate = intermediate;
- }
-
- @JsonProperty("modern")
- public Object getModern() {
- return modern;
- }
-
- @JsonProperty("modern")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setModern(Object modern) {
- this.modern = modern;
- }
-
- @JsonProperty("old")
- public Object getOld() {
- return old;
- }
-
- @JsonProperty("old")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setOld(Object old) {
- this.old = old;
- }
-
- @JsonProperty("type")
- public String getType() {
- return type;
- }
-
- @JsonProperty("type")
- public void setType(String type) {
- this.type = type;
- }
-
- @JsonIgnore
- public KubeletConfigSpecTlsSecurityProfileBuilder edit() {
- return new KubeletConfigSpecTlsSecurityProfileBuilder(this);
- }
-
- @JsonIgnore
- public KubeletConfigSpecTlsSecurityProfileBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/KubeletConfigStatus.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/KubeletConfigStatus.java
index cc8e1e05d74..e91d3dd260b 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/KubeletConfigStatus.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/KubeletConfigStatus.java
@@ -59,7 +59,7 @@ public class KubeletConfigStatus implements Editable
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List conditions = new ArrayList<>();
+ private List conditions = new ArrayList<>();
@JsonProperty("observedGeneration")
private Long observedGeneration;
@JsonIgnore
@@ -72,7 +72,7 @@ public class KubeletConfigStatus implements Editable
public KubeletConfigStatus() {
}
- public KubeletConfigStatus(List conditions, Long observedGeneration) {
+ public KubeletConfigStatus(List conditions, Long observedGeneration) {
super();
this.conditions = conditions;
this.observedGeneration = observedGeneration;
@@ -80,12 +80,12 @@ public KubeletConfigStatus(List conditions, Long
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getConditions() {
+ public List getConditions() {
return conditions;
}
@JsonProperty("conditions")
- public void setConditions(List conditions) {
+ public void setConditions(List conditions) {
this.conditions = conditions;
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ContainerRuntimeConfigStatusConditions.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolCondition.java
similarity index 83%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ContainerRuntimeConfigStatusConditions.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolCondition.java
index 92b6f809e5e..a881df82439 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ContainerRuntimeConfigStatusConditions.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolCondition.java
@@ -55,12 +55,11 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class ContainerRuntimeConfigStatusConditions implements Editable , KubernetesResource
+public class MachineConfigPoolCondition implements Editable , KubernetesResource
{
@JsonProperty("lastTransitionTime")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object lastTransitionTime;
+ private String lastTransitionTime;
@JsonProperty("message")
private String message;
@JsonProperty("reason")
@@ -76,10 +75,10 @@ public class ContainerRuntimeConfigStatusConditions implements Editable pinnedImageSets = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -79,53 +84,53 @@ public class MachineConfigPoolSpec implements Editable pinnedImageSets) {
super();
this.configuration = configuration;
this.machineConfigSelector = machineConfigSelector;
this.maxUnavailable = maxUnavailable;
this.nodeSelector = nodeSelector;
this.paused = paused;
+ this.pinnedImageSets = pinnedImageSets;
}
@JsonProperty("configuration")
- public MachineConfigPoolSpecConfiguration getConfiguration() {
+ public MachineConfigPoolStatusConfiguration getConfiguration() {
return configuration;
}
@JsonProperty("configuration")
- public void setConfiguration(MachineConfigPoolSpecConfiguration configuration) {
+ public void setConfiguration(MachineConfigPoolStatusConfiguration configuration) {
this.configuration = configuration;
}
@JsonProperty("machineConfigSelector")
- public MachineConfigPoolSpecMachineConfigSelector getMachineConfigSelector() {
+ public LabelSelector getMachineConfigSelector() {
return machineConfigSelector;
}
@JsonProperty("machineConfigSelector")
- public void setMachineConfigSelector(MachineConfigPoolSpecMachineConfigSelector machineConfigSelector) {
+ public void setMachineConfigSelector(LabelSelector machineConfigSelector) {
this.machineConfigSelector = machineConfigSelector;
}
@JsonProperty("maxUnavailable")
- public Object getMaxUnavailable() {
+ public IntOrString getMaxUnavailable() {
return maxUnavailable;
}
@JsonProperty("maxUnavailable")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setMaxUnavailable(Object maxUnavailable) {
+ public void setMaxUnavailable(IntOrString maxUnavailable) {
this.maxUnavailable = maxUnavailable;
}
@JsonProperty("nodeSelector")
- public MachineConfigPoolSpecNodeSelector getNodeSelector() {
+ public LabelSelector getNodeSelector() {
return nodeSelector;
}
@JsonProperty("nodeSelector")
- public void setNodeSelector(MachineConfigPoolSpecNodeSelector nodeSelector) {
+ public void setNodeSelector(LabelSelector nodeSelector) {
this.nodeSelector = nodeSelector;
}
@@ -139,6 +144,17 @@ public void setPaused(Boolean paused) {
this.paused = paused;
}
+ @JsonProperty("pinnedImageSets")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getPinnedImageSets() {
+ return pinnedImageSets;
+ }
+
+ @JsonProperty("pinnedImageSets")
+ public void setPinnedImageSets(List pinnedImageSets) {
+ this.pinnedImageSets = pinnedImageSets;
+ }
+
@JsonIgnore
public MachineConfigPoolSpecBuilder edit() {
return new MachineConfigPoolSpecBuilder(this);
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatus.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatus.java
index f5b414bcde5..1930b15b735 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatus.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatus.java
@@ -39,6 +39,7 @@
"degradedMachineCount",
"machineCount",
"observedGeneration",
+ "poolSynchronizersStatus",
"readyMachineCount",
"unavailableMachineCount",
"updatedMachineCount"
@@ -66,10 +67,10 @@ public class MachineConfigPoolStatus implements Editable certExpirys = new ArrayList<>();
+ private List certExpirys = new ArrayList<>();
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List conditions = new ArrayList<>();
+ private List conditions = new ArrayList<>();
@JsonProperty("configuration")
private MachineConfigPoolStatusConfiguration configuration;
@JsonProperty("degradedMachineCount")
@@ -78,6 +79,9 @@ public class MachineConfigPoolStatus implements Editable poolSynchronizersStatus = new ArrayList<>();
@JsonProperty("readyMachineCount")
private Integer readyMachineCount;
@JsonProperty("unavailableMachineCount")
@@ -94,7 +98,7 @@ public class MachineConfigPoolStatus implements Editable certExpirys, List conditions, MachineConfigPoolStatusConfiguration configuration, Integer degradedMachineCount, Integer machineCount, Long observedGeneration, Integer readyMachineCount, Integer unavailableMachineCount, Integer updatedMachineCount) {
+ public MachineConfigPoolStatus(List certExpirys, List conditions, MachineConfigPoolStatusConfiguration configuration, Integer degradedMachineCount, Integer machineCount, Long observedGeneration, List poolSynchronizersStatus, Integer readyMachineCount, Integer unavailableMachineCount, Integer updatedMachineCount) {
super();
this.certExpirys = certExpirys;
this.conditions = conditions;
@@ -102,6 +106,7 @@ public MachineConfigPoolStatus(List certExpi
this.degradedMachineCount = degradedMachineCount;
this.machineCount = machineCount;
this.observedGeneration = observedGeneration;
+ this.poolSynchronizersStatus = poolSynchronizersStatus;
this.readyMachineCount = readyMachineCount;
this.unavailableMachineCount = unavailableMachineCount;
this.updatedMachineCount = updatedMachineCount;
@@ -109,23 +114,23 @@ public MachineConfigPoolStatus(List certExpi
@JsonProperty("certExpirys")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getCertExpirys() {
+ public List getCertExpirys() {
return certExpirys;
}
@JsonProperty("certExpirys")
- public void setCertExpirys(List certExpirys) {
+ public void setCertExpirys(List certExpirys) {
this.certExpirys = certExpirys;
}
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getConditions() {
+ public List getConditions() {
return conditions;
}
@JsonProperty("conditions")
- public void setConditions(List conditions) {
+ public void setConditions(List conditions) {
this.conditions = conditions;
}
@@ -169,6 +174,17 @@ public void setObservedGeneration(Long observedGeneration) {
this.observedGeneration = observedGeneration;
}
+ @JsonProperty("poolSynchronizersStatus")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getPoolSynchronizersStatus() {
+ return poolSynchronizersStatus;
+ }
+
+ @JsonProperty("poolSynchronizersStatus")
+ public void setPoolSynchronizersStatus(List poolSynchronizersStatus) {
+ this.poolSynchronizersStatus = poolSynchronizersStatus;
+ }
+
@JsonProperty("readyMachineCount")
public Integer getReadyMachineCount() {
return readyMachineCount;
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatusConfiguration.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatusConfiguration.java
index d3425b2a98f..d11c5a66046 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatusConfiguration.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatusConfiguration.java
@@ -77,7 +77,7 @@ public class MachineConfigPoolStatusConfiguration implements Editable source = new ArrayList<>();
+ private List source = new ArrayList<>();
@JsonProperty("uid")
private String uid;
@JsonIgnore
@@ -90,7 +90,7 @@ public class MachineConfigPoolStatusConfiguration implements Editable source, String uid) {
+ public MachineConfigPoolStatusConfiguration(String apiVersion, String fieldPath, String kind, String name, String namespace, String resourceVersion, List source, String uid) {
super();
this.apiVersion = apiVersion;
this.fieldPath = fieldPath;
@@ -164,12 +164,12 @@ public void setResourceVersion(String resourceVersion) {
@JsonProperty("source")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getSource() {
+ public List getSource() {
return source;
}
@JsonProperty("source")
- public void setSource(List source) {
+ public void setSource(List source) {
this.source = source;
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigSpec.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigSpec.java
index 9a290cbbb96..1e0f5f9f69a 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigSpec.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigSpec.java
@@ -73,8 +73,8 @@ public class MachineConfigSpec implements Editable , K
@JsonProperty("fips")
private Boolean fips;
@JsonProperty("kernelArguments")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object kernelArguments;
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List kernelArguments = new ArrayList<>();
@JsonProperty("kernelType")
private String kernelType;
@JsonProperty("osImageURL")
@@ -89,7 +89,7 @@ public class MachineConfigSpec implements Editable , K
public MachineConfigSpec() {
}
- public MachineConfigSpec(String baseOSExtensionsContainerImage, Object config, List extensions, Boolean fips, Object kernelArguments, String kernelType, String osImageURL) {
+ public MachineConfigSpec(String baseOSExtensionsContainerImage, Object config, List extensions, Boolean fips, List kernelArguments, String kernelType, String osImageURL) {
super();
this.baseOSExtensionsContainerImage = baseOSExtensionsContainerImage;
this.config = config;
@@ -143,13 +143,13 @@ public void setFips(Boolean fips) {
}
@JsonProperty("kernelArguments")
- public Object getKernelArguments() {
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getKernelArguments() {
return kernelArguments;
}
@JsonProperty("kernelArguments")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setKernelArguments(Object kernelArguments) {
+ public void setKernelArguments(List kernelArguments) {
this.kernelArguments = kernelArguments;
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigSpecImageRegistryBundleUserData.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/NetworkInfo.java
similarity index 73%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigSpecImageRegistryBundleUserData.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/NetworkInfo.java
index c232daa3ed9..0473f27b817 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigSpecImageRegistryBundleUserData.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/NetworkInfo.java
@@ -22,6 +22,7 @@
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.fabric8.openshift.api.model.config.v1.MTUMigration;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
@@ -31,8 +32,7 @@
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
- "data",
- "file"
+ "mtuMigration"
})
@ToString
@EqualsAndHashCode
@@ -52,13 +52,11 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class ControllerConfigSpecImageRegistryBundleUserData implements Editable , KubernetesResource
+public class NetworkInfo implements Editable , KubernetesResource
{
- @JsonProperty("data")
- private String data;
- @JsonProperty("file")
- private String file;
+ @JsonProperty("mtuMigration")
+ private MTUMigration mtuMigration;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -66,42 +64,31 @@ public class ControllerConfigSpecImageRegistryBundleUserData implements Editable
* No args constructor for use in serialization
*
*/
- public ControllerConfigSpecImageRegistryBundleUserData() {
+ public NetworkInfo() {
}
- public ControllerConfigSpecImageRegistryBundleUserData(String data, String file) {
+ public NetworkInfo(MTUMigration mtuMigration) {
super();
- this.data = data;
- this.file = file;
+ this.mtuMigration = mtuMigration;
}
- @JsonProperty("data")
- public String getData() {
- return data;
+ @JsonProperty("mtuMigration")
+ public MTUMigration getMtuMigration() {
+ return mtuMigration;
}
- @JsonProperty("data")
- public void setData(String data) {
- this.data = data;
- }
-
- @JsonProperty("file")
- public String getFile() {
- return file;
- }
-
- @JsonProperty("file")
- public void setFile(String file) {
- this.file = file;
+ @JsonProperty("mtuMigration")
+ public void setMtuMigration(MTUMigration mtuMigration) {
+ this.mtuMigration = mtuMigration;
}
@JsonIgnore
- public ControllerConfigSpecImageRegistryBundleUserDataBuilder edit() {
- return new ControllerConfigSpecImageRegistryBundleUserDataBuilder(this);
+ public NetworkInfoBuilder edit() {
+ return new NetworkInfoBuilder(this);
}
@JsonIgnore
- public ControllerConfigSpecImageRegistryBundleUserDataBuilder toBuilder() {
+ public NetworkInfoBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigSpecDns.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/PinnedImageSetRef.java
similarity index 68%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigSpecDns.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/PinnedImageSetRef.java
index d15009328b8..836597c7447 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigSpecDns.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/PinnedImageSetRef.java
@@ -31,9 +31,7 @@
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
- "apiVersion",
- "kind",
- "metadata"
+ "name"
})
@ToString
@EqualsAndHashCode
@@ -53,15 +51,11 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class ControllerConfigSpecDns implements Editable , KubernetesResource
+public class PinnedImageSetRef implements Editable , KubernetesResource
{
- @JsonProperty("apiVersion")
- private String apiVersion;
- @JsonProperty("kind")
- private String kind;
- @JsonProperty("metadata")
- private ObjectMeta metadata;
+ @JsonProperty("name")
+ private String name;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -69,53 +63,31 @@ public class ControllerConfigSpecDns implements Editable , KubernetesResource
+{
+
+ @JsonProperty("availableMachineCount")
+ private Long availableMachineCount;
+ @JsonProperty("machineCount")
+ private Long machineCount;
+ @JsonProperty("observedGeneration")
+ private Long observedGeneration;
+ @JsonProperty("poolSynchronizerType")
+ private String poolSynchronizerType;
+ @JsonProperty("readyMachineCount")
+ private Long readyMachineCount;
+ @JsonProperty("unavailableMachineCount")
+ private Long unavailableMachineCount;
+ @JsonProperty("updatedMachineCount")
+ private Long updatedMachineCount;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public PoolSynchronizerStatus() {
+ }
+
+ public PoolSynchronizerStatus(Long availableMachineCount, Long machineCount, Long observedGeneration, String poolSynchronizerType, Long readyMachineCount, Long unavailableMachineCount, Long updatedMachineCount) {
+ super();
+ this.availableMachineCount = availableMachineCount;
+ this.machineCount = machineCount;
+ this.observedGeneration = observedGeneration;
+ this.poolSynchronizerType = poolSynchronizerType;
+ this.readyMachineCount = readyMachineCount;
+ this.unavailableMachineCount = unavailableMachineCount;
+ this.updatedMachineCount = updatedMachineCount;
+ }
+
+ @JsonProperty("availableMachineCount")
+ public Long getAvailableMachineCount() {
+ return availableMachineCount;
+ }
+
+ @JsonProperty("availableMachineCount")
+ public void setAvailableMachineCount(Long availableMachineCount) {
+ this.availableMachineCount = availableMachineCount;
+ }
+
+ @JsonProperty("machineCount")
+ public Long getMachineCount() {
+ return machineCount;
+ }
+
+ @JsonProperty("machineCount")
+ public void setMachineCount(Long machineCount) {
+ this.machineCount = machineCount;
+ }
+
+ @JsonProperty("observedGeneration")
+ public Long getObservedGeneration() {
+ return observedGeneration;
+ }
+
+ @JsonProperty("observedGeneration")
+ public void setObservedGeneration(Long observedGeneration) {
+ this.observedGeneration = observedGeneration;
+ }
+
+ @JsonProperty("poolSynchronizerType")
+ public String getPoolSynchronizerType() {
+ return poolSynchronizerType;
+ }
+
+ @JsonProperty("poolSynchronizerType")
+ public void setPoolSynchronizerType(String poolSynchronizerType) {
+ this.poolSynchronizerType = poolSynchronizerType;
+ }
+
+ @JsonProperty("readyMachineCount")
+ public Long getReadyMachineCount() {
+ return readyMachineCount;
+ }
+
+ @JsonProperty("readyMachineCount")
+ public void setReadyMachineCount(Long readyMachineCount) {
+ this.readyMachineCount = readyMachineCount;
+ }
+
+ @JsonProperty("unavailableMachineCount")
+ public Long getUnavailableMachineCount() {
+ return unavailableMachineCount;
+ }
+
+ @JsonProperty("unavailableMachineCount")
+ public void setUnavailableMachineCount(Long unavailableMachineCount) {
+ this.unavailableMachineCount = unavailableMachineCount;
+ }
+
+ @JsonProperty("updatedMachineCount")
+ public Long getUpdatedMachineCount() {
+ return updatedMachineCount;
+ }
+
+ @JsonProperty("updatedMachineCount")
+ public void setUpdatedMachineCount(Long updatedMachineCount) {
+ this.updatedMachineCount = updatedMachineCount;
+ }
+
+ @JsonIgnore
+ public PoolSynchronizerStatusBuilder edit() {
+ return new PoolSynchronizerStatusBuilder(this);
+ }
+
+ @JsonIgnore
+ public PoolSynchronizerStatusBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/BuildInputs.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/BuildInputs.java
new file mode 100644
index 00000000000..314f74a2a20
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/BuildInputs.java
@@ -0,0 +1,210 @@
+
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "baseImagePullSecret",
+ "baseOSExtensionsImagePullspec",
+ "baseOSImagePullspec",
+ "containerFile",
+ "imageBuilder",
+ "releaseVersion",
+ "renderedImagePushSecret",
+ "renderedImagePushspec"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class BuildInputs implements Editable , KubernetesResource
+{
+
+ @JsonProperty("baseImagePullSecret")
+ private ImageSecretObjectReference baseImagePullSecret;
+ @JsonProperty("baseOSExtensionsImagePullspec")
+ private String baseOSExtensionsImagePullspec;
+ @JsonProperty("baseOSImagePullspec")
+ private String baseOSImagePullspec;
+ @JsonProperty("containerFile")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List containerFile = new ArrayList<>();
+ @JsonProperty("imageBuilder")
+ private MachineOSImageBuilder imageBuilder;
+ @JsonProperty("releaseVersion")
+ private String releaseVersion;
+ @JsonProperty("renderedImagePushSecret")
+ private ImageSecretObjectReference renderedImagePushSecret;
+ @JsonProperty("renderedImagePushspec")
+ private String renderedImagePushspec;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public BuildInputs() {
+ }
+
+ public BuildInputs(ImageSecretObjectReference baseImagePullSecret, String baseOSExtensionsImagePullspec, String baseOSImagePullspec, List containerFile, MachineOSImageBuilder imageBuilder, String releaseVersion, ImageSecretObjectReference renderedImagePushSecret, String renderedImagePushspec) {
+ super();
+ this.baseImagePullSecret = baseImagePullSecret;
+ this.baseOSExtensionsImagePullspec = baseOSExtensionsImagePullspec;
+ this.baseOSImagePullspec = baseOSImagePullspec;
+ this.containerFile = containerFile;
+ this.imageBuilder = imageBuilder;
+ this.releaseVersion = releaseVersion;
+ this.renderedImagePushSecret = renderedImagePushSecret;
+ this.renderedImagePushspec = renderedImagePushspec;
+ }
+
+ @JsonProperty("baseImagePullSecret")
+ public ImageSecretObjectReference getBaseImagePullSecret() {
+ return baseImagePullSecret;
+ }
+
+ @JsonProperty("baseImagePullSecret")
+ public void setBaseImagePullSecret(ImageSecretObjectReference baseImagePullSecret) {
+ this.baseImagePullSecret = baseImagePullSecret;
+ }
+
+ @JsonProperty("baseOSExtensionsImagePullspec")
+ public String getBaseOSExtensionsImagePullspec() {
+ return baseOSExtensionsImagePullspec;
+ }
+
+ @JsonProperty("baseOSExtensionsImagePullspec")
+ public void setBaseOSExtensionsImagePullspec(String baseOSExtensionsImagePullspec) {
+ this.baseOSExtensionsImagePullspec = baseOSExtensionsImagePullspec;
+ }
+
+ @JsonProperty("baseOSImagePullspec")
+ public String getBaseOSImagePullspec() {
+ return baseOSImagePullspec;
+ }
+
+ @JsonProperty("baseOSImagePullspec")
+ public void setBaseOSImagePullspec(String baseOSImagePullspec) {
+ this.baseOSImagePullspec = baseOSImagePullspec;
+ }
+
+ @JsonProperty("containerFile")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getContainerFile() {
+ return containerFile;
+ }
+
+ @JsonProperty("containerFile")
+ public void setContainerFile(List containerFile) {
+ this.containerFile = containerFile;
+ }
+
+ @JsonProperty("imageBuilder")
+ public MachineOSImageBuilder getImageBuilder() {
+ return imageBuilder;
+ }
+
+ @JsonProperty("imageBuilder")
+ public void setImageBuilder(MachineOSImageBuilder imageBuilder) {
+ this.imageBuilder = imageBuilder;
+ }
+
+ @JsonProperty("releaseVersion")
+ public String getReleaseVersion() {
+ return releaseVersion;
+ }
+
+ @JsonProperty("releaseVersion")
+ public void setReleaseVersion(String releaseVersion) {
+ this.releaseVersion = releaseVersion;
+ }
+
+ @JsonProperty("renderedImagePushSecret")
+ public ImageSecretObjectReference getRenderedImagePushSecret() {
+ return renderedImagePushSecret;
+ }
+
+ @JsonProperty("renderedImagePushSecret")
+ public void setRenderedImagePushSecret(ImageSecretObjectReference renderedImagePushSecret) {
+ this.renderedImagePushSecret = renderedImagePushSecret;
+ }
+
+ @JsonProperty("renderedImagePushspec")
+ public String getRenderedImagePushspec() {
+ return renderedImagePushspec;
+ }
+
+ @JsonProperty("renderedImagePushspec")
+ public void setRenderedImagePushspec(String renderedImagePushspec) {
+ this.renderedImagePushspec = renderedImagePushspec;
+ }
+
+ @JsonIgnore
+ public BuildInputsBuilder edit() {
+ return new BuildInputsBuilder(this);
+ }
+
+ @JsonIgnore
+ public BuildInputsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/BuildOutputs.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/BuildOutputs.java
new file mode 100644
index 00000000000..7d293be1922
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/BuildOutputs.java
@@ -0,0 +1,108 @@
+
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "currentImagePullSecret"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class BuildOutputs implements Editable , KubernetesResource
+{
+
+ @JsonProperty("currentImagePullSecret")
+ private ImageSecretObjectReference currentImagePullSecret;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public BuildOutputs() {
+ }
+
+ public BuildOutputs(ImageSecretObjectReference currentImagePullSecret) {
+ super();
+ this.currentImagePullSecret = currentImagePullSecret;
+ }
+
+ @JsonProperty("currentImagePullSecret")
+ public ImageSecretObjectReference getCurrentImagePullSecret() {
+ return currentImagePullSecret;
+ }
+
+ @JsonProperty("currentImagePullSecret")
+ public void setCurrentImagePullSecret(ImageSecretObjectReference currentImagePullSecret) {
+ this.currentImagePullSecret = currentImagePullSecret;
+ }
+
+ @JsonIgnore
+ public BuildOutputsBuilder edit() {
+ return new BuildOutputsBuilder(this);
+ }
+
+ @JsonIgnore
+ public BuildOutputsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/ImageSecretObjectReference.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/ImageSecretObjectReference.java
new file mode 100644
index 00000000000..c60f1e89cdd
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/ImageSecretObjectReference.java
@@ -0,0 +1,108 @@
+
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "name"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class ImageSecretObjectReference implements Editable , KubernetesResource
+{
+
+ @JsonProperty("name")
+ private String name;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public ImageSecretObjectReference() {
+ }
+
+ public ImageSecretObjectReference(String name) {
+ super();
+ this.name = name;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonIgnore
+ public ImageSecretObjectReferenceBuilder edit() {
+ return new ImageSecretObjectReferenceBuilder(this);
+ }
+
+ @JsonIgnore
+ public ImageSecretObjectReferenceBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MCOObjectReference.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MCOObjectReference.java
new file mode 100644
index 00000000000..bb5f1b49a68
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MCOObjectReference.java
@@ -0,0 +1,108 @@
+
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "name"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class MCOObjectReference implements Editable , KubernetesResource
+{
+
+ @JsonProperty("name")
+ private String name;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public MCOObjectReference() {
+ }
+
+ public MCOObjectReference(String name) {
+ super();
+ this.name = name;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonIgnore
+ public MCOObjectReferenceBuilder edit() {
+ return new MCOObjectReferenceBuilder(this);
+ }
+
+ @JsonIgnore
+ public MCOObjectReferenceBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNode.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNode.java
new file mode 100644
index 00000000000..1593635dde0
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNode.java
@@ -0,0 +1,203 @@
+
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.HasMetadata;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.fabric8.kubernetes.model.annotation.Group;
+import io.fabric8.kubernetes.model.annotation.Version;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import io.sundr.transform.annotations.TemplateTransformation;
+import io.sundr.transform.annotations.TemplateTransformations;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "apiVersion",
+ "kind",
+ "metadata",
+ "spec",
+ "status"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@TemplateTransformations({
+ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true)
+})
+@Version("v1alpha1")
+@Group("machineconfiguration.openshift.io")
+@Generated("jsonschema2pojo")
+public class MachineConfigNode implements Editable , HasMetadata
+{
+
+ /**
+ *
+ * (Required)
+ *
+ */
+ @JsonProperty("apiVersion")
+ private String apiVersion = "machineconfiguration.openshift.io/v1alpha1";
+ /**
+ *
+ * (Required)
+ *
+ */
+ @JsonProperty("kind")
+ private String kind = "MachineConfigNode";
+ @JsonProperty("metadata")
+ private ObjectMeta metadata;
+ @JsonProperty("spec")
+ private MachineConfigNodeSpec spec;
+ @JsonProperty("status")
+ private MachineConfigNodeStatus status;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public MachineConfigNode() {
+ }
+
+ public MachineConfigNode(String apiVersion, String kind, ObjectMeta metadata, MachineConfigNodeSpec spec, MachineConfigNodeStatus status) {
+ super();
+ this.apiVersion = apiVersion;
+ this.kind = kind;
+ this.metadata = metadata;
+ this.spec = spec;
+ this.status = status;
+ }
+
+ /**
+ *
+ * (Required)
+ *
+ */
+ @JsonProperty("apiVersion")
+ public String getApiVersion() {
+ return apiVersion;
+ }
+
+ /**
+ *
+ * (Required)
+ *
+ */
+ @JsonProperty("apiVersion")
+ public void setApiVersion(String apiVersion) {
+ this.apiVersion = apiVersion;
+ }
+
+ /**
+ *
+ * (Required)
+ *
+ */
+ @JsonProperty("kind")
+ public String getKind() {
+ return kind;
+ }
+
+ /**
+ *
+ * (Required)
+ *
+ */
+ @JsonProperty("kind")
+ public void setKind(String kind) {
+ this.kind = kind;
+ }
+
+ @JsonProperty("metadata")
+ public ObjectMeta getMetadata() {
+ return metadata;
+ }
+
+ @JsonProperty("metadata")
+ public void setMetadata(ObjectMeta metadata) {
+ this.metadata = metadata;
+ }
+
+ @JsonProperty("spec")
+ public MachineConfigNodeSpec getSpec() {
+ return spec;
+ }
+
+ @JsonProperty("spec")
+ public void setSpec(MachineConfigNodeSpec spec) {
+ this.spec = spec;
+ }
+
+ @JsonProperty("status")
+ public MachineConfigNodeStatus getStatus() {
+ return status;
+ }
+
+ @JsonProperty("status")
+ public void setStatus(MachineConfigNodeStatus status) {
+ this.status = status;
+ }
+
+ @JsonIgnore
+ public MachineConfigNodeBuilder edit() {
+ return new MachineConfigNodeBuilder(this);
+ }
+
+ @JsonIgnore
+ public MachineConfigNodeBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolSpecConfiguration.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeList.java
similarity index 57%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolSpecConfiguration.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeList.java
index a5c639eb921..34b543d046e 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolSpecConfiguration.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeList.java
@@ -1,5 +1,5 @@
-package io.fabric8.openshift.api.model.machineconfiguration.v1;
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
import java.util.ArrayList;
import java.util.LinkedHashMap;
@@ -17,15 +17,21 @@
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.KubernetesResourceList;
import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.ListMeta;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.fabric8.kubernetes.model.annotation.Group;
+import io.fabric8.kubernetes.model.annotation.Version;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
+import io.sundr.transform.annotations.TemplateTransformation;
+import io.sundr.transform.annotations.TemplateTransformations;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
@@ -35,12 +41,8 @@
@JsonPropertyOrder({
"apiVersion",
"kind",
- "fieldPath",
- "name",
- "namespace",
- "resourceVersion",
- "source",
- "uid"
+ "metadata",
+ "items"
})
@ToString
@EqualsAndHashCode
@@ -59,27 +61,34 @@
@BuildableReference(LocalObjectReference.class),
@BuildableReference(PersistentVolumeClaim.class)
})
+@TemplateTransformations({
+ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true)
+})
+@Version("v1alpha1")
+@Group("machineconfiguration.openshift.io")
@Generated("jsonschema2pojo")
-public class MachineConfigPoolSpecConfiguration implements Editable , KubernetesResource
+public class MachineConfigNodeList implements Editable , KubernetesResource, KubernetesResourceList
{
+ /**
+ *
+ * (Required)
+ *
+ */
@JsonProperty("apiVersion")
- private String apiVersion;
- @JsonProperty("fieldPath")
- private String fieldPath;
- @JsonProperty("kind")
- private String kind;
- @JsonProperty("name")
- private String name;
- @JsonProperty("namespace")
- private String namespace;
- @JsonProperty("resourceVersion")
- private String resourceVersion;
- @JsonProperty("source")
+ private String apiVersion = "machineconfiguration.openshift.io/v1alpha1";
+ @JsonProperty("items")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List source = new ArrayList<>();
- @JsonProperty("uid")
- private String uid;
+ private List items = new ArrayList<>();
+ /**
+ *
+ * (Required)
+ *
+ */
+ @JsonProperty("kind")
+ private String kind = "MachineConfigNodeList";
+ @JsonProperty("metadata")
+ private ListMeta metadata;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -87,109 +96,85 @@ public class MachineConfigPoolSpecConfiguration implements Editable source, String uid) {
+ public MachineConfigNodeList(String apiVersion, List items, String kind, ListMeta metadata) {
super();
this.apiVersion = apiVersion;
- this.fieldPath = fieldPath;
+ this.items = items;
this.kind = kind;
- this.name = name;
- this.namespace = namespace;
- this.resourceVersion = resourceVersion;
- this.source = source;
- this.uid = uid;
+ this.metadata = metadata;
}
+ /**
+ *
+ * (Required)
+ *
+ */
@JsonProperty("apiVersion")
public String getApiVersion() {
return apiVersion;
}
+ /**
+ *
+ * (Required)
+ *
+ */
@JsonProperty("apiVersion")
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
- @JsonProperty("fieldPath")
- public String getFieldPath() {
- return fieldPath;
+ @JsonProperty("items")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getItems() {
+ return items;
}
- @JsonProperty("fieldPath")
- public void setFieldPath(String fieldPath) {
- this.fieldPath = fieldPath;
+ @JsonProperty("items")
+ public void setItems(List items) {
+ this.items = items;
}
+ /**
+ *
+ * (Required)
+ *
+ */
@JsonProperty("kind")
public String getKind() {
return kind;
}
+ /**
+ *
+ * (Required)
+ *
+ */
@JsonProperty("kind")
public void setKind(String kind) {
this.kind = kind;
}
- @JsonProperty("name")
- public String getName() {
- return name;
- }
-
- @JsonProperty("name")
- public void setName(String name) {
- this.name = name;
- }
-
- @JsonProperty("namespace")
- public String getNamespace() {
- return namespace;
- }
-
- @JsonProperty("namespace")
- public void setNamespace(String namespace) {
- this.namespace = namespace;
- }
-
- @JsonProperty("resourceVersion")
- public String getResourceVersion() {
- return resourceVersion;
- }
-
- @JsonProperty("resourceVersion")
- public void setResourceVersion(String resourceVersion) {
- this.resourceVersion = resourceVersion;
- }
-
- @JsonProperty("source")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getSource() {
- return source;
- }
-
- @JsonProperty("source")
- public void setSource(List source) {
- this.source = source;
- }
-
- @JsonProperty("uid")
- public String getUid() {
- return uid;
+ @JsonProperty("metadata")
+ public ListMeta getMetadata() {
+ return metadata;
}
- @JsonProperty("uid")
- public void setUid(String uid) {
- this.uid = uid;
+ @JsonProperty("metadata")
+ public void setMetadata(ListMeta metadata) {
+ this.metadata = metadata;
}
@JsonIgnore
- public MachineConfigPoolSpecConfigurationBuilder edit() {
- return new MachineConfigPoolSpecConfigurationBuilder(this);
+ public MachineConfigNodeListBuilder edit() {
+ return new MachineConfigNodeListBuilder(this);
}
@JsonIgnore
- public MachineConfigPoolSpecConfigurationBuilder toBuilder() {
+ public MachineConfigNodeListBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolSpecMachineConfigSelector.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeSpec.java
similarity index 58%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolSpecMachineConfigSelector.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeSpec.java
index 96b325bccc4..a170b664f3f 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolSpecMachineConfigSelector.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeSpec.java
@@ -1,5 +1,5 @@
-package io.fabric8.openshift.api.model.machineconfiguration.v1;
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
import java.util.ArrayList;
import java.util.LinkedHashMap;
@@ -18,7 +18,6 @@
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.KubernetesResource;
import io.fabric8.kubernetes.api.model.LabelSelector;
-import io.fabric8.kubernetes.api.model.LabelSelectorRequirement;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
@@ -34,8 +33,10 @@
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
- "matchExpressions",
- "matchLabels"
+ "configVersion",
+ "node",
+ "pinnedImageSets",
+ "pool"
})
@ToString
@EqualsAndHashCode
@@ -55,15 +56,18 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class MachineConfigPoolSpecMachineConfigSelector implements Editable , KubernetesResource
+public class MachineConfigNodeSpec implements Editable , KubernetesResource
{
- @JsonProperty("matchExpressions")
+ @JsonProperty("configVersion")
+ private MachineConfigNodeSpecMachineConfigVersion configVersion;
+ @JsonProperty("node")
+ private MCOObjectReference node;
+ @JsonProperty("pinnedImageSets")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List matchExpressions = new ArrayList<>();
- @JsonProperty("matchLabels")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private Map matchLabels = new LinkedHashMap<>();
+ private List pinnedImageSets = new ArrayList<>();
+ @JsonProperty("pool")
+ private MCOObjectReference pool;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -71,44 +75,65 @@ public class MachineConfigPoolSpecMachineConfigSelector implements Editable matchExpressions, Map matchLabels) {
+ public MachineConfigNodeSpec(MachineConfigNodeSpecMachineConfigVersion configVersion, MCOObjectReference node, List pinnedImageSets, MCOObjectReference pool) {
super();
- this.matchExpressions = matchExpressions;
- this.matchLabels = matchLabels;
+ this.configVersion = configVersion;
+ this.node = node;
+ this.pinnedImageSets = pinnedImageSets;
+ this.pool = pool;
}
- @JsonProperty("matchExpressions")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getMatchExpressions() {
- return matchExpressions;
+ @JsonProperty("configVersion")
+ public MachineConfigNodeSpecMachineConfigVersion getConfigVersion() {
+ return configVersion;
+ }
+
+ @JsonProperty("configVersion")
+ public void setConfigVersion(MachineConfigNodeSpecMachineConfigVersion configVersion) {
+ this.configVersion = configVersion;
+ }
+
+ @JsonProperty("node")
+ public MCOObjectReference getNode() {
+ return node;
}
- @JsonProperty("matchExpressions")
- public void setMatchExpressions(List matchExpressions) {
- this.matchExpressions = matchExpressions;
+ @JsonProperty("node")
+ public void setNode(MCOObjectReference node) {
+ this.node = node;
}
- @JsonProperty("matchLabels")
+ @JsonProperty("pinnedImageSets")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public Map getMatchLabels() {
- return matchLabels;
+ public List getPinnedImageSets() {
+ return pinnedImageSets;
+ }
+
+ @JsonProperty("pinnedImageSets")
+ public void setPinnedImageSets(List pinnedImageSets) {
+ this.pinnedImageSets = pinnedImageSets;
+ }
+
+ @JsonProperty("pool")
+ public MCOObjectReference getPool() {
+ return pool;
}
- @JsonProperty("matchLabels")
- public void setMatchLabels(Map matchLabels) {
- this.matchLabels = matchLabels;
+ @JsonProperty("pool")
+ public void setPool(MCOObjectReference pool) {
+ this.pool = pool;
}
@JsonIgnore
- public MachineConfigPoolSpecMachineConfigSelectorBuilder edit() {
- return new MachineConfigPoolSpecMachineConfigSelectorBuilder(this);
+ public MachineConfigNodeSpecBuilder edit() {
+ return new MachineConfigNodeSpecBuilder(this);
}
@JsonIgnore
- public MachineConfigPoolSpecMachineConfigSelectorBuilder toBuilder() {
+ public MachineConfigNodeSpecBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeSpecMachineConfigVersion.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeSpecMachineConfigVersion.java
new file mode 100644
index 00000000000..a968e96fdd7
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeSpecMachineConfigVersion.java
@@ -0,0 +1,108 @@
+
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "desired"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class MachineConfigNodeSpecMachineConfigVersion implements Editable , KubernetesResource
+{
+
+ @JsonProperty("desired")
+ private String desired;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public MachineConfigNodeSpecMachineConfigVersion() {
+ }
+
+ public MachineConfigNodeSpecMachineConfigVersion(String desired) {
+ super();
+ this.desired = desired;
+ }
+
+ @JsonProperty("desired")
+ public String getDesired() {
+ return desired;
+ }
+
+ @JsonProperty("desired")
+ public void setDesired(String desired) {
+ this.desired = desired;
+ }
+
+ @JsonIgnore
+ public MachineConfigNodeSpecMachineConfigVersionBuilder edit() {
+ return new MachineConfigNodeSpecMachineConfigVersionBuilder(this);
+ }
+
+ @JsonIgnore
+ public MachineConfigNodeSpecMachineConfigVersionBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeSpecPinnedImageSet.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeSpecPinnedImageSet.java
new file mode 100644
index 00000000000..d29da3737e2
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeSpecPinnedImageSet.java
@@ -0,0 +1,108 @@
+
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "name"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class MachineConfigNodeSpecPinnedImageSet implements Editable , KubernetesResource
+{
+
+ @JsonProperty("name")
+ private String name;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public MachineConfigNodeSpecPinnedImageSet() {
+ }
+
+ public MachineConfigNodeSpecPinnedImageSet(String name) {
+ super();
+ this.name = name;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonIgnore
+ public MachineConfigNodeSpecPinnedImageSetBuilder edit() {
+ return new MachineConfigNodeSpecPinnedImageSetBuilder(this);
+ }
+
+ @JsonIgnore
+ public MachineConfigNodeSpecPinnedImageSetBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/KubeletConfigSpecMachineConfigPoolSelector.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeStatus.java
similarity index 55%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/KubeletConfigSpecMachineConfigPoolSelector.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeStatus.java
index 60f8b2f0abe..e5b85e11657 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/KubeletConfigSpecMachineConfigPoolSelector.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeStatus.java
@@ -1,5 +1,5 @@
-package io.fabric8.openshift.api.model.machineconfiguration.v1;
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
import java.util.ArrayList;
import java.util.LinkedHashMap;
@@ -14,11 +14,11 @@
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Condition;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.KubernetesResource;
import io.fabric8.kubernetes.api.model.LabelSelector;
-import io.fabric8.kubernetes.api.model.LabelSelectorRequirement;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
@@ -34,8 +34,10 @@
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
- "matchExpressions",
- "matchLabels"
+ "conditions",
+ "configVersion",
+ "observedGeneration",
+ "pinnedImageSets"
})
@ToString
@EqualsAndHashCode
@@ -55,15 +57,19 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class KubeletConfigSpecMachineConfigPoolSelector implements Editable , KubernetesResource
+public class MachineConfigNodeStatus implements Editable , KubernetesResource
{
- @JsonProperty("matchExpressions")
+ @JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List matchExpressions = new ArrayList<>();
- @JsonProperty("matchLabels")
+ private List conditions = new ArrayList<>();
+ @JsonProperty("configVersion")
+ private MachineConfigNodeStatusMachineConfigVersion configVersion;
+ @JsonProperty("observedGeneration")
+ private Long observedGeneration;
+ @JsonProperty("pinnedImageSets")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private Map matchLabels = new LinkedHashMap<>();
+ private List pinnedImageSets = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -71,44 +77,66 @@ public class KubeletConfigSpecMachineConfigPoolSelector implements Editable matchExpressions, Map matchLabels) {
+ public MachineConfigNodeStatus(List conditions, MachineConfigNodeStatusMachineConfigVersion configVersion, Long observedGeneration, List pinnedImageSets) {
super();
- this.matchExpressions = matchExpressions;
- this.matchLabels = matchLabels;
+ this.conditions = conditions;
+ this.configVersion = configVersion;
+ this.observedGeneration = observedGeneration;
+ this.pinnedImageSets = pinnedImageSets;
}
- @JsonProperty("matchExpressions")
+ @JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getMatchExpressions() {
- return matchExpressions;
+ public List getConditions() {
+ return conditions;
}
- @JsonProperty("matchExpressions")
- public void setMatchExpressions(List matchExpressions) {
- this.matchExpressions = matchExpressions;
+ @JsonProperty("conditions")
+ public void setConditions(List conditions) {
+ this.conditions = conditions;
}
- @JsonProperty("matchLabels")
+ @JsonProperty("configVersion")
+ public MachineConfigNodeStatusMachineConfigVersion getConfigVersion() {
+ return configVersion;
+ }
+
+ @JsonProperty("configVersion")
+ public void setConfigVersion(MachineConfigNodeStatusMachineConfigVersion configVersion) {
+ this.configVersion = configVersion;
+ }
+
+ @JsonProperty("observedGeneration")
+ public Long getObservedGeneration() {
+ return observedGeneration;
+ }
+
+ @JsonProperty("observedGeneration")
+ public void setObservedGeneration(Long observedGeneration) {
+ this.observedGeneration = observedGeneration;
+ }
+
+ @JsonProperty("pinnedImageSets")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public Map getMatchLabels() {
- return matchLabels;
+ public List getPinnedImageSets() {
+ return pinnedImageSets;
}
- @JsonProperty("matchLabels")
- public void setMatchLabels(Map matchLabels) {
- this.matchLabels = matchLabels;
+ @JsonProperty("pinnedImageSets")
+ public void setPinnedImageSets(List pinnedImageSets) {
+ this.pinnedImageSets = pinnedImageSets;
}
@JsonIgnore
- public KubeletConfigSpecMachineConfigPoolSelectorBuilder edit() {
- return new KubeletConfigSpecMachineConfigPoolSelectorBuilder(this);
+ public MachineConfigNodeStatusBuilder edit() {
+ return new MachineConfigNodeStatusBuilder(this);
}
@JsonIgnore
- public KubeletConfigSpecMachineConfigPoolSelectorBuilder toBuilder() {
+ public MachineConfigNodeStatusBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeStatusMachineConfigVersion.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeStatusMachineConfigVersion.java
new file mode 100644
index 00000000000..e41a6465c1e
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeStatusMachineConfigVersion.java
@@ -0,0 +1,122 @@
+
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "current",
+ "desired"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class MachineConfigNodeStatusMachineConfigVersion implements Editable , KubernetesResource
+{
+
+ @JsonProperty("current")
+ private String current;
+ @JsonProperty("desired")
+ private String desired;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public MachineConfigNodeStatusMachineConfigVersion() {
+ }
+
+ public MachineConfigNodeStatusMachineConfigVersion(String current, String desired) {
+ super();
+ this.current = current;
+ this.desired = desired;
+ }
+
+ @JsonProperty("current")
+ public String getCurrent() {
+ return current;
+ }
+
+ @JsonProperty("current")
+ public void setCurrent(String current) {
+ this.current = current;
+ }
+
+ @JsonProperty("desired")
+ public String getDesired() {
+ return desired;
+ }
+
+ @JsonProperty("desired")
+ public void setDesired(String desired) {
+ this.desired = desired;
+ }
+
+ @JsonIgnore
+ public MachineConfigNodeStatusMachineConfigVersionBuilder edit() {
+ return new MachineConfigNodeStatusMachineConfigVersionBuilder(this);
+ }
+
+ @JsonIgnore
+ public MachineConfigNodeStatusMachineConfigVersionBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatusCSource.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeStatusPinnedImageSet.java
similarity index 54%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatusCSource.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeStatusPinnedImageSet.java
index 58c34481a56..0657187dda3 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/MachineConfigPoolStatusCSource.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigNodeStatusPinnedImageSet.java
@@ -1,7 +1,9 @@
-package io.fabric8.openshift.api.model.machineconfiguration.v1;
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
+import java.util.ArrayList;
import java.util.LinkedHashMap;
+import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
@@ -31,13 +33,11 @@
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
- "apiVersion",
- "kind",
- "fieldPath",
- "name",
- "namespace",
- "resourceVersion",
- "uid"
+ "currentGeneration",
+ "desiredGeneration",
+ "lastFailedGeneration",
+ "lastFailedGenerationErrors",
+ "name"
})
@ToString
@EqualsAndHashCode
@@ -57,23 +57,20 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class MachineConfigPoolStatusCSource implements Editable , KubernetesResource
+public class MachineConfigNodeStatusPinnedImageSet implements Editable , KubernetesResource
{
- @JsonProperty("apiVersion")
- private String apiVersion;
- @JsonProperty("fieldPath")
- private String fieldPath;
- @JsonProperty("kind")
- private String kind;
+ @JsonProperty("currentGeneration")
+ private Integer currentGeneration;
+ @JsonProperty("desiredGeneration")
+ private Integer desiredGeneration;
+ @JsonProperty("lastFailedGeneration")
+ private Integer lastFailedGeneration;
+ @JsonProperty("lastFailedGenerationErrors")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List lastFailedGenerationErrors = new ArrayList<>();
@JsonProperty("name")
private String name;
- @JsonProperty("namespace")
- private String namespace;
- @JsonProperty("resourceVersion")
- private String resourceVersion;
- @JsonProperty("uid")
- private String uid;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -81,48 +78,57 @@ public class MachineConfigPoolStatusCSource implements Editable lastFailedGenerationErrors, String name) {
super();
- this.apiVersion = apiVersion;
- this.fieldPath = fieldPath;
- this.kind = kind;
+ this.currentGeneration = currentGeneration;
+ this.desiredGeneration = desiredGeneration;
+ this.lastFailedGeneration = lastFailedGeneration;
+ this.lastFailedGenerationErrors = lastFailedGenerationErrors;
this.name = name;
- this.namespace = namespace;
- this.resourceVersion = resourceVersion;
- this.uid = uid;
}
- @JsonProperty("apiVersion")
- public String getApiVersion() {
- return apiVersion;
+ @JsonProperty("currentGeneration")
+ public Integer getCurrentGeneration() {
+ return currentGeneration;
}
- @JsonProperty("apiVersion")
- public void setApiVersion(String apiVersion) {
- this.apiVersion = apiVersion;
+ @JsonProperty("currentGeneration")
+ public void setCurrentGeneration(Integer currentGeneration) {
+ this.currentGeneration = currentGeneration;
}
- @JsonProperty("fieldPath")
- public String getFieldPath() {
- return fieldPath;
+ @JsonProperty("desiredGeneration")
+ public Integer getDesiredGeneration() {
+ return desiredGeneration;
}
- @JsonProperty("fieldPath")
- public void setFieldPath(String fieldPath) {
- this.fieldPath = fieldPath;
+ @JsonProperty("desiredGeneration")
+ public void setDesiredGeneration(Integer desiredGeneration) {
+ this.desiredGeneration = desiredGeneration;
}
- @JsonProperty("kind")
- public String getKind() {
- return kind;
+ @JsonProperty("lastFailedGeneration")
+ public Integer getLastFailedGeneration() {
+ return lastFailedGeneration;
}
- @JsonProperty("kind")
- public void setKind(String kind) {
- this.kind = kind;
+ @JsonProperty("lastFailedGeneration")
+ public void setLastFailedGeneration(Integer lastFailedGeneration) {
+ this.lastFailedGeneration = lastFailedGeneration;
+ }
+
+ @JsonProperty("lastFailedGenerationErrors")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getLastFailedGenerationErrors() {
+ return lastFailedGenerationErrors;
+ }
+
+ @JsonProperty("lastFailedGenerationErrors")
+ public void setLastFailedGenerationErrors(List lastFailedGenerationErrors) {
+ this.lastFailedGenerationErrors = lastFailedGenerationErrors;
}
@JsonProperty("name")
@@ -135,43 +141,13 @@ public void setName(String name) {
this.name = name;
}
- @JsonProperty("namespace")
- public String getNamespace() {
- return namespace;
- }
-
- @JsonProperty("namespace")
- public void setNamespace(String namespace) {
- this.namespace = namespace;
- }
-
- @JsonProperty("resourceVersion")
- public String getResourceVersion() {
- return resourceVersion;
- }
-
- @JsonProperty("resourceVersion")
- public void setResourceVersion(String resourceVersion) {
- this.resourceVersion = resourceVersion;
- }
-
- @JsonProperty("uid")
- public String getUid() {
- return uid;
- }
-
- @JsonProperty("uid")
- public void setUid(String uid) {
- this.uid = uid;
- }
-
@JsonIgnore
- public MachineConfigPoolStatusCSourceBuilder edit() {
- return new MachineConfigPoolStatusCSourceBuilder(this);
+ public MachineConfigNodeStatusPinnedImageSetBuilder edit() {
+ return new MachineConfigNodeStatusPinnedImageSetBuilder(this);
}
@JsonIgnore
- public MachineConfigPoolStatusCSourceBuilder toBuilder() {
+ public MachineConfigNodeStatusPinnedImageSetBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigPoolReference.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigPoolReference.java
new file mode 100644
index 00000000000..fe38bd6a0f9
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineConfigPoolReference.java
@@ -0,0 +1,108 @@
+
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import io.fabric8.kubernetes.api.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.IntOrString;
+import io.fabric8.kubernetes.api.model.KubernetesResource;
+import io.fabric8.kubernetes.api.model.LabelSelector;
+import io.fabric8.kubernetes.api.model.LocalObjectReference;
+import io.fabric8.kubernetes.api.model.ObjectMeta;
+import io.fabric8.kubernetes.api.model.ObjectReference;
+import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "name"
+})
+@ToString
+@EqualsAndHashCode
+@Accessors(prefix = {
+ "_",
+ ""
+})
+@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
+ @BuildableReference(ObjectMeta.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
+ @BuildableReference(PodTemplateSpec.class),
+ @BuildableReference(ResourceRequirements.class),
+ @BuildableReference(IntOrString.class),
+ @BuildableReference(ObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
+ @BuildableReference(PersistentVolumeClaim.class)
+})
+@Generated("jsonschema2pojo")
+public class MachineConfigPoolReference implements Editable , KubernetesResource
+{
+
+ @JsonProperty("name")
+ private String name;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public MachineConfigPoolReference() {
+ }
+
+ public MachineConfigPoolReference(String name) {
+ super();
+ this.name = name;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonIgnore
+ public MachineConfigPoolReferenceBuilder edit() {
+ return new MachineConfigPoolReferenceBuilder(this);
+ }
+
+ @JsonIgnore
+ public MachineConfigPoolReferenceBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigSpecPullSecret.java b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineOSBuild.java
similarity index 59%
rename from kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigSpecPullSecret.java
rename to kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineOSBuild.java
index 203731b8257..699c7f0c749 100644
--- a/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1/ControllerConfigSpecPullSecret.java
+++ b/kubernetes-model-generator/openshift-model-machineconfiguration/src/generated/java/io/fabric8/openshift/api/model/machineconfiguration/v1alpha1/MachineOSBuild.java
@@ -1,5 +1,5 @@
-package io.fabric8.openshift.api.model.machineconfiguration.v1;
+package io.fabric8.openshift.api.model.machineconfiguration.v1alpha1;
import java.util.LinkedHashMap;
import java.util.Map;
@@ -13,8 +13,8 @@
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.builder.Editable;
import io.fabric8.kubernetes.api.model.Container;
+import io.fabric8.kubernetes.api.model.HasMetadata;
import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.ObjectMeta;
@@ -22,8 +22,12 @@
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
import io.fabric8.kubernetes.api.model.ResourceRequirements;
+import io.fabric8.kubernetes.model.annotation.Group;
+import io.fabric8.kubernetes.model.annotation.Version;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
+import io.sundr.transform.annotations.TemplateTransformation;
+import io.sundr.transform.annotations.TemplateTransformations;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
@@ -33,11 +37,9 @@
@JsonPropertyOrder({
"apiVersion",
"kind",
- "fieldPath",
- "name",
- "namespace",
- "resourceVersion",
- "uid"
+ "metadata",
+ "spec",
+ "status"
})
@ToString
@EqualsAndHashCode
@@ -56,24 +58,35 @@
@BuildableReference(LocalObjectReference.class),
@BuildableReference(PersistentVolumeClaim.class)
})
+@TemplateTransformations({
+ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true)
+})
+@Version("v1alpha1")
+@Group("machineconfiguration.openshift.io")
@Generated("jsonschema2pojo")
-public class ControllerConfigSpecPullSecret implements Editable , KubernetesResource
+public class MachineOSBuild implements Editable , HasMetadata
{
+ /**
+ *
+ * (Required)
+ *
+ */
@JsonProperty("apiVersion")
- private String apiVersion;
- @JsonProperty("fieldPath")
- private String fieldPath;
+ private String apiVersion = "machineconfiguration.openshift.io/v1alpha1";
+ /**
+ *
+ * (Required)
+ *
+ */
@JsonProperty("kind")
- private String kind;
- @JsonProperty("name")
- private String name;
- @JsonProperty("namespace")
- private String namespace;
- @JsonProperty("resourceVersion")
- private String resourceVersion;
- @JsonProperty("uid")
- private String uid;
+ private String kind = "MachineOSBuild";
+ @JsonProperty("metadata")
+ private ObjectMeta metadata;
+ @JsonProperty("spec")
+ private MachineOSBuildSpec spec;
+ @JsonProperty("status")
+ private MachineOSBuildStatus status;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -81,97 +94,95 @@ public class ControllerConfigSpecPullSecret implements Editable , KubernetesResource, KubernetesResourceList
+{
+
+ /**
+ *
+ * (Required)
+ *
+ */
+ @JsonProperty("apiVersion")
+ private String apiVersion = "machineconfiguration.openshift.io/v1alpha1";
+ @JsonProperty("items")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List