diff --git a/kubernetes-model-generator/openshift-model-config/pom.xml b/kubernetes-model-generator/openshift-model-config/pom.xml
index 1dd2f8700dd..3d1a0515c5b 100644
--- a/kubernetes-model-generator/openshift-model-config/pom.xml
+++ b/kubernetes-model-generator/openshift-model-config/pom.xml
@@ -61,7 +61,7 @@
- ${openapi.schema.openshift-latest}
+ ${openapi.schema.openshift-generated}
io.fabric8.openshift.api.model.config
@@ -70,23 +70,8 @@
^io\.openshift\.config\..*$
- ^io\.openshift\.config\.v1\.BuildSpecBDEnv$
- ^io\.openshift\.config\.v1\.BuildSpecBDEValueFrom$
- ^io\.openshift\.config\.v1\.BuildSpecBDResources$
+ ^io\.openshift\.config\.v1alpha1\..*$
-
- io.fabric8.kubernetes.api.model.Condition
- io.fabric8.kubernetes.api.model.EnvVar
- io.fabric8.kubernetes.api.model.ResourceRequirements
-
-
- com.coreos.monitoring.v1.AlertmanagerSpecTolerations
- io.fabric8.kubernetes.api.model.Toleration
-
-
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServer.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServer.java
index 137d0edb216..5208bf3be46 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServer.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServer.java
@@ -86,8 +86,7 @@ public class APIServer implements Editable , HasMetadata
@JsonProperty("spec")
private APIServerSpec spec;
@JsonProperty("status")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- private Object status;
+ private APIServerStatus status;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -98,7 +97,7 @@ public class APIServer implements Editable , HasMetadata
public APIServer() {
}
- public APIServer(String apiVersion, String kind, ObjectMeta metadata, APIServerSpec spec, Object status) {
+ public APIServer(String apiVersion, String kind, ObjectMeta metadata, APIServerSpec spec, APIServerStatus status) {
super();
this.apiVersion = apiVersion;
this.kind = kind;
@@ -168,13 +167,12 @@ public void setSpec(APIServerSpec spec) {
}
@JsonProperty("status")
- public Object getStatus() {
+ public APIServerStatus getStatus() {
return status;
}
@JsonProperty("status")
- @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
- public void setStatus(Object status) {
+ public void setStatus(APIServerStatus status) {
this.status = status;
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecEncryption.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerEncryption.java
similarity index 89%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecEncryption.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerEncryption.java
index 9690ee3c3ca..f8db9ffbc56 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecEncryption.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerEncryption.java
@@ -51,7 +51,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class APIServerSpecEncryption implements Editable , KubernetesResource
+public class APIServerEncryption implements Editable , KubernetesResource
{
@JsonProperty("type")
@@ -63,10 +63,10 @@ public class APIServerSpecEncryption implements Editable , KubernetesResource
+public class APIServerNamedServingCert implements Editable , KubernetesResource
{
@JsonProperty("names")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List names = new ArrayList<>();
@JsonProperty("servingCertificate")
- private APIServerSpecSCNCServingCertificate servingCertificate;
+ private SecretNameReference servingCertificate;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -69,10 +69,10 @@ public class APIServerSpecSCNamedCertificates implements Editable names, APIServerSpecSCNCServingCertificate servingCertificate) {
+ public APIServerNamedServingCert(List names, SecretNameReference servingCertificate) {
super();
this.names = names;
this.servingCertificate = servingCertificate;
@@ -90,22 +90,22 @@ public void setNames(List names) {
}
@JsonProperty("servingCertificate")
- public APIServerSpecSCNCServingCertificate getServingCertificate() {
+ public SecretNameReference getServingCertificate() {
return servingCertificate;
}
@JsonProperty("servingCertificate")
- public void setServingCertificate(APIServerSpecSCNCServingCertificate servingCertificate) {
+ public void setServingCertificate(SecretNameReference servingCertificate) {
this.servingCertificate = servingCertificate;
}
@JsonIgnore
- public APIServerSpecSCNamedCertificatesBuilder edit() {
- return new APIServerSpecSCNamedCertificatesBuilder(this);
+ public APIServerNamedServingCertBuilder edit() {
+ return new APIServerNamedServingCertBuilder(this);
}
@JsonIgnore
- public APIServerSpecSCNamedCertificatesBuilder toBuilder() {
+ public APIServerNamedServingCertBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecServingCerts.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerServingCerts.java
similarity index 83%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecServingCerts.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerServingCerts.java
index c8aff0fda14..b8e065df685 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecServingCerts.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerServingCerts.java
@@ -53,12 +53,12 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class APIServerSpecServingCerts implements Editable , KubernetesResource
+public class APIServerServingCerts implements Editable , KubernetesResource
{
@JsonProperty("namedCertificates")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List namedCertificates = new ArrayList<>();
+ private List namedCertificates = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -66,32 +66,32 @@ public class APIServerSpecServingCerts implements Editable namedCertificates) {
+ public APIServerServingCerts(List namedCertificates) {
super();
this.namedCertificates = namedCertificates;
}
@JsonProperty("namedCertificates")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getNamedCertificates() {
+ public List getNamedCertificates() {
return namedCertificates;
}
@JsonProperty("namedCertificates")
- public void setNamedCertificates(List namedCertificates) {
+ public void setNamedCertificates(List namedCertificates) {
this.namedCertificates = namedCertificates;
}
@JsonIgnore
- public APIServerSpecServingCertsBuilder edit() {
- return new APIServerSpecServingCertsBuilder(this);
+ public APIServerServingCertsBuilder edit() {
+ return new APIServerServingCertsBuilder(this);
}
@JsonIgnore
- public APIServerSpecServingCertsBuilder toBuilder() {
+ public APIServerServingCertsBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpec.java
index 0776200c8c5..2dc54f6616a 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpec.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpec.java
@@ -65,15 +65,15 @@ public class APIServerSpec implements Editable , Kubernete
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List additionalCORSAllowedOrigins = new ArrayList<>();
@JsonProperty("audit")
- private APIServerSpecAudit audit;
+ private Audit audit;
@JsonProperty("clientCA")
- private APIServerSpecClientCA clientCA;
+ private ConfigMapNameReference clientCA;
@JsonProperty("encryption")
- private APIServerSpecEncryption encryption;
+ private APIServerEncryption encryption;
@JsonProperty("servingCerts")
- private APIServerSpecServingCerts servingCerts;
+ private APIServerServingCerts servingCerts;
@JsonProperty("tlsSecurityProfile")
- private APIServerSpecTlsSecurityProfile tlsSecurityProfile;
+ private TLSSecurityProfile tlsSecurityProfile;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -84,7 +84,7 @@ public class APIServerSpec implements Editable , Kubernete
public APIServerSpec() {
}
- public APIServerSpec(List additionalCORSAllowedOrigins, APIServerSpecAudit audit, APIServerSpecClientCA clientCA, APIServerSpecEncryption encryption, APIServerSpecServingCerts servingCerts, APIServerSpecTlsSecurityProfile tlsSecurityProfile) {
+ public APIServerSpec(List additionalCORSAllowedOrigins, Audit audit, ConfigMapNameReference clientCA, APIServerEncryption encryption, APIServerServingCerts servingCerts, TLSSecurityProfile tlsSecurityProfile) {
super();
this.additionalCORSAllowedOrigins = additionalCORSAllowedOrigins;
this.audit = audit;
@@ -106,52 +106,52 @@ public void setAdditionalCORSAllowedOrigins(List additionalCORSAllowedOr
}
@JsonProperty("audit")
- public APIServerSpecAudit getAudit() {
+ public Audit getAudit() {
return audit;
}
@JsonProperty("audit")
- public void setAudit(APIServerSpecAudit audit) {
+ public void setAudit(Audit audit) {
this.audit = audit;
}
@JsonProperty("clientCA")
- public APIServerSpecClientCA getClientCA() {
+ public ConfigMapNameReference getClientCA() {
return clientCA;
}
@JsonProperty("clientCA")
- public void setClientCA(APIServerSpecClientCA clientCA) {
+ public void setClientCA(ConfigMapNameReference clientCA) {
this.clientCA = clientCA;
}
@JsonProperty("encryption")
- public APIServerSpecEncryption getEncryption() {
+ public APIServerEncryption getEncryption() {
return encryption;
}
@JsonProperty("encryption")
- public void setEncryption(APIServerSpecEncryption encryption) {
+ public void setEncryption(APIServerEncryption encryption) {
this.encryption = encryption;
}
@JsonProperty("servingCerts")
- public APIServerSpecServingCerts getServingCerts() {
+ public APIServerServingCerts getServingCerts() {
return servingCerts;
}
@JsonProperty("servingCerts")
- public void setServingCerts(APIServerSpecServingCerts servingCerts) {
+ public void setServingCerts(APIServerServingCerts servingCerts) {
this.servingCerts = servingCerts;
}
@JsonProperty("tlsSecurityProfile")
- public APIServerSpecTlsSecurityProfile getTlsSecurityProfile() {
+ public TLSSecurityProfile getTlsSecurityProfile() {
return tlsSecurityProfile;
}
@JsonProperty("tlsSecurityProfile")
- public void setTlsSecurityProfile(APIServerSpecTlsSecurityProfile tlsSecurityProfile) {
+ public void setTlsSecurityProfile(TLSSecurityProfile tlsSecurityProfile) {
this.tlsSecurityProfile = tlsSecurityProfile;
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecSCNCServingCertificate.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecSCNCServingCertificate.java
deleted file mode 100644
index 3f9395ab213..00000000000
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecSCNCServingCertificate.java
+++ /dev/null
@@ -1,108 +0,0 @@
-
-package io.fabric8.openshift.api.model.config.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({
- "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 APIServerSpecSCNCServingCertificate implements Editable , KubernetesResource
-{
-
- @JsonProperty("name")
- private String name;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public APIServerSpecSCNCServingCertificate() {
- }
-
- public APIServerSpecSCNCServingCertificate(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 APIServerSpecSCNCServingCertificateBuilder edit() {
- return new APIServerSpecSCNCServingCertificateBuilder(this);
- }
-
- @JsonIgnore
- public APIServerSpecSCNCServingCertificateBuilder 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-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthSpecTError.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerStatus.java
similarity index 79%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthSpecTError.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerStatus.java
index b71a452a0a6..14ef355650f 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthSpecTError.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerStatus.java
@@ -8,7 +8,6 @@
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;
@@ -31,7 +30,7 @@
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
- "name"
+
})
@ToString
@EqualsAndHashCode
@@ -51,43 +50,19 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class OAuthSpecTError implements Editable , KubernetesResource
+public class APIServerStatus implements Editable , KubernetesResource
{
- @JsonProperty("name")
- private String name;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
- /**
- * No args constructor for use in serialization
- *
- */
- public OAuthSpecTError() {
- }
-
- public OAuthSpecTError(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 OAuthSpecTErrorBuilder edit() {
- return new OAuthSpecTErrorBuilder(this);
+ public APIServerStatusBuilder edit() {
+ return new APIServerStatusBuilder(this);
}
@JsonIgnore
- public OAuthSpecTErrorBuilder toBuilder() {
+ public APIServerStatusBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSSpecPAws.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSDNSSpec.java
similarity index 92%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSSpecPAws.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSDNSSpec.java
index 83a807373f3..5fc5247724f 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/DNSSpecPAws.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSDNSSpec.java
@@ -51,7 +51,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class DNSSpecPAws implements Editable , KubernetesResource
+public class AWSDNSSpec implements Editable , KubernetesResource
{
@JsonProperty("privateZoneIAMRole")
@@ -63,10 +63,10 @@ public class DNSSpecPAws implements Editable , KubernetesRes
* No args constructor for use in serialization
*
*/
- public DNSSpecPAws() {
+ public AWSDNSSpec() {
}
- public DNSSpecPAws(String privateZoneIAMRole) {
+ public AWSDNSSpec(String privateZoneIAMRole) {
super();
this.privateZoneIAMRole = privateZoneIAMRole;
}
@@ -82,12 +82,12 @@ public void setPrivateZoneIAMRole(String privateZoneIAMRole) {
}
@JsonIgnore
- public DNSSpecPAwsBuilder edit() {
- return new DNSSpecPAwsBuilder(this);
+ public AWSDNSSpecBuilder edit() {
+ return new AWSDNSSpecBuilder(this);
}
@JsonIgnore
- public DNSSpecPAwsBuilder toBuilder() {
+ public AWSDNSSpecBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressSpecLBPAws.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSIngressSpec.java
similarity index 90%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressSpecLBPAws.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSIngressSpec.java
index 5d9d659f139..cdf8d41dcc1 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/IngressSpecLBPAws.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSIngressSpec.java
@@ -51,7 +51,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class IngressSpecLBPAws implements Editable , KubernetesResource
+public class AWSIngressSpec implements Editable , KubernetesResource
{
@JsonProperty("type")
@@ -63,10 +63,10 @@ public class IngressSpecLBPAws implements Editable , K
* No args constructor for use in serialization
*
*/
- public IngressSpecLBPAws() {
+ public AWSIngressSpec() {
}
- public IngressSpecLBPAws(String type) {
+ public AWSIngressSpec(String type) {
super();
this.type = type;
}
@@ -82,12 +82,12 @@ public void setType(String type) {
}
@JsonIgnore
- public IngressSpecLBPAwsBuilder edit() {
- return new IngressSpecLBPAwsBuilder(this);
+ public AWSIngressSpecBuilder edit() {
+ return new AWSIngressSpecBuilder(this);
}
@JsonIgnore
- public IngressSpecLBPAwsBuilder toBuilder() {
+ public AWSIngressSpecBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureSpecPSAws.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformSpec.java
similarity index 82%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureSpecPSAws.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformSpec.java
index 02ab5a7a8d5..0ed820a33de 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureSpecPSAws.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformSpec.java
@@ -53,12 +53,12 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class InfrastructureSpecPSAws implements Editable , KubernetesResource
+public class AWSPlatformSpec implements Editable , KubernetesResource
{
@JsonProperty("serviceEndpoints")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List serviceEndpoints = new ArrayList<>();
+ private List serviceEndpoints = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -66,32 +66,32 @@ public class InfrastructureSpecPSAws implements Editable serviceEndpoints) {
+ public AWSPlatformSpec(List serviceEndpoints) {
super();
this.serviceEndpoints = serviceEndpoints;
}
@JsonProperty("serviceEndpoints")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getServiceEndpoints() {
+ public List getServiceEndpoints() {
return serviceEndpoints;
}
@JsonProperty("serviceEndpoints")
- public void setServiceEndpoints(List serviceEndpoints) {
+ public void setServiceEndpoints(List serviceEndpoints) {
this.serviceEndpoints = serviceEndpoints;
}
@JsonIgnore
- public InfrastructureSpecPSAwsBuilder edit() {
- return new InfrastructureSpecPSAwsBuilder(this);
+ public AWSPlatformSpecBuilder edit() {
+ return new AWSPlatformSpecBuilder(this);
}
@JsonIgnore
- public InfrastructureSpecPSAwsBuilder toBuilder() {
+ public AWSPlatformSpecBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAws.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformStatus.java
similarity index 79%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAws.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformStatus.java
index fb7ab23e857..65a6d16283e 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAws.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSPlatformStatus.java
@@ -55,17 +55,17 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class InfrastructureStatusPSAws implements Editable , KubernetesResource
+public class AWSPlatformStatus implements Editable , KubernetesResource
{
@JsonProperty("region")
private String region;
@JsonProperty("resourceTags")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List resourceTags = new ArrayList<>();
+ private List resourceTags = new ArrayList<>();
@JsonProperty("serviceEndpoints")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List serviceEndpoints = new ArrayList<>();
+ private List serviceEndpoints = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -73,10 +73,10 @@ public class InfrastructureStatusPSAws implements Editable resourceTags, List serviceEndpoints) {
+ public AWSPlatformStatus(String region, List resourceTags, List serviceEndpoints) {
super();
this.region = region;
this.resourceTags = resourceTags;
@@ -95,33 +95,33 @@ public void setRegion(String region) {
@JsonProperty("resourceTags")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getResourceTags() {
+ public List getResourceTags() {
return resourceTags;
}
@JsonProperty("resourceTags")
- public void setResourceTags(List resourceTags) {
+ public void setResourceTags(List resourceTags) {
this.resourceTags = resourceTags;
}
@JsonProperty("serviceEndpoints")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getServiceEndpoints() {
+ public List getServiceEndpoints() {
return serviceEndpoints;
}
@JsonProperty("serviceEndpoints")
- public void setServiceEndpoints(List serviceEndpoints) {
+ public void setServiceEndpoints(List serviceEndpoints) {
this.serviceEndpoints = serviceEndpoints;
}
@JsonIgnore
- public InfrastructureStatusPSAwsBuilder edit() {
- return new InfrastructureStatusPSAwsBuilder(this);
+ public AWSPlatformStatusBuilder edit() {
+ return new AWSPlatformStatusBuilder(this);
}
@JsonIgnore
- public InfrastructureStatusPSAwsBuilder toBuilder() {
+ public AWSPlatformStatusBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSACResourceTags.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSResourceTag.java
similarity index 88%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSACResourceTags.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSResourceTag.java
index 2e68b33c1eb..153b37d9110 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSACResourceTags.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AWSResourceTag.java
@@ -52,7 +52,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class InfrastructureStatusPSACResourceTags implements Editable , KubernetesResource
+public class AWSResourceTag implements Editable , KubernetesResource
{
@JsonProperty("key")
@@ -66,10 +66,10 @@ public class InfrastructureStatusPSACResourceTags implements Editable , KubernetesResource
+public class AWSServiceEndpoint implements Editable , KubernetesResource
{
@JsonProperty("name")
@@ -66,10 +66,10 @@ public class InfrastructureSpecPSAwsServiceEndpoints implements Editable , KubernetesResource
+{
+
+ @JsonProperty("disabledPlugins")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List disabledPlugins = new ArrayList<>();
+ @JsonProperty("enabledPlugins")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List enabledPlugins = new ArrayList<>();
+ @JsonProperty("pluginConfig")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private Map pluginConfig = new LinkedHashMap<>();
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AdmissionConfig() {
+ }
+
+ public AdmissionConfig(List disabledPlugins, List enabledPlugins, Map pluginConfig) {
+ super();
+ this.disabledPlugins = disabledPlugins;
+ this.enabledPlugins = enabledPlugins;
+ this.pluginConfig = pluginConfig;
+ }
+
+ @JsonProperty("disabledPlugins")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getDisabledPlugins() {
+ return disabledPlugins;
+ }
+
+ @JsonProperty("disabledPlugins")
+ public void setDisabledPlugins(List disabledPlugins) {
+ this.disabledPlugins = disabledPlugins;
+ }
+
+ @JsonProperty("enabledPlugins")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getEnabledPlugins() {
+ return enabledPlugins;
+ }
+
+ @JsonProperty("enabledPlugins")
+ public void setEnabledPlugins(List enabledPlugins) {
+ this.enabledPlugins = enabledPlugins;
+ }
+
+ @JsonProperty("pluginConfig")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public Map getPluginConfig() {
+ return pluginConfig;
+ }
+
+ @JsonProperty("pluginConfig")
+ public void setPluginConfig(Map pluginConfig) {
+ this.pluginConfig = pluginConfig;
+ }
+
+ @JsonIgnore
+ public AdmissionConfigBuilder edit() {
+ return new AdmissionConfigBuilder(this);
+ }
+
+ @JsonIgnore
+ public AdmissionConfigBuilder 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-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AdmissionPluginConfig.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AdmissionPluginConfig.java
new file mode 100644
index 00000000000..6dd144b390f
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AdmissionPluginConfig.java
@@ -0,0 +1,124 @@
+
+package io.fabric8.openshift.api.model.config.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({
+ "configuration",
+ "location"
+})
+@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 AdmissionPluginConfig implements Editable , KubernetesResource
+{
+
+ @JsonProperty("configuration")
+ @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
+ private Object configuration;
+ @JsonProperty("location")
+ private String location;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AdmissionPluginConfig() {
+ }
+
+ public AdmissionPluginConfig(Object configuration, String location) {
+ super();
+ this.configuration = configuration;
+ this.location = location;
+ }
+
+ @JsonProperty("configuration")
+ public Object getConfiguration() {
+ return configuration;
+ }
+
+ @JsonProperty("configuration")
+ @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
+ public void setConfiguration(Object configuration) {
+ this.configuration = configuration;
+ }
+
+ @JsonProperty("location")
+ public String getLocation() {
+ return location;
+ }
+
+ @JsonProperty("location")
+ public void setLocation(String location) {
+ this.location = location;
+ }
+
+ @JsonIgnore
+ public AdmissionPluginConfigBuilder edit() {
+ return new AdmissionPluginConfigBuilder(this);
+ }
+
+ @JsonIgnore
+ public AdmissionPluginConfigBuilder 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-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformSpec.java
new file mode 100644
index 00000000000..2922272ee64
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformSpec.java
@@ -0,0 +1,83 @@
+
+package io.fabric8.openshift.api.model.config.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.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({
+
+})
+@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 AlibabaCloudPlatformSpec implements Editable , KubernetesResource
+{
+
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ @JsonIgnore
+ public AlibabaCloudPlatformSpecBuilder edit() {
+ return new AlibabaCloudPlatformSpecBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlibabaCloudPlatformSpecBuilder 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-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAlibabaCloud.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformStatus.java
similarity index 83%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAlibabaCloud.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformStatus.java
index 976ca0138a9..7ca874819e1 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAlibabaCloud.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudPlatformStatus.java
@@ -55,7 +55,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class InfrastructureStatusPSAlibabaCloud implements Editable , KubernetesResource
+public class AlibabaCloudPlatformStatus implements Editable , KubernetesResource
{
@JsonProperty("region")
@@ -64,7 +64,7 @@ public class InfrastructureStatusPSAlibabaCloud implements Editable resourceTags = new ArrayList<>();
+ private List resourceTags = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -72,10 +72,10 @@ public class InfrastructureStatusPSAlibabaCloud implements Editable resourceTags) {
+ public AlibabaCloudPlatformStatus(String region, String resourceGroupID, List resourceTags) {
super();
this.region = region;
this.resourceGroupID = resourceGroupID;
@@ -104,22 +104,22 @@ public void setResourceGroupID(String resourceGroupID) {
@JsonProperty("resourceTags")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getResourceTags() {
+ public List getResourceTags() {
return resourceTags;
}
@JsonProperty("resourceTags")
- public void setResourceTags(List resourceTags) {
+ public void setResourceTags(List resourceTags) {
this.resourceTags = resourceTags;
}
@JsonIgnore
- public InfrastructureStatusPSAlibabaCloudBuilder edit() {
- return new InfrastructureStatusPSAlibabaCloudBuilder(this);
+ public AlibabaCloudPlatformStatusBuilder edit() {
+ return new AlibabaCloudPlatformStatusBuilder(this);
}
@JsonIgnore
- public InfrastructureStatusPSAlibabaCloudBuilder toBuilder() {
+ public AlibabaCloudPlatformStatusBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAwsResourceTags.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudResourceTag.java
similarity index 88%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAwsResourceTags.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudResourceTag.java
index c146c95e6f9..588466a7999 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAwsResourceTags.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AlibabaCloudResourceTag.java
@@ -52,7 +52,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class InfrastructureStatusPSAwsResourceTags implements Editable , KubernetesResource
+public class AlibabaCloudResourceTag implements Editable , KubernetesResource
{
@JsonProperty("key")
@@ -66,10 +66,10 @@ public class InfrastructureStatusPSAwsResourceTags implements Editable , KubernetesResource
+public class Audit implements Editable , KubernetesResource
{
@JsonProperty("customRules")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List customRules = new ArrayList<>();
+ private List customRules = new ArrayList<>();
@JsonProperty("profile")
private String profile;
@JsonIgnore
@@ -69,10 +69,10 @@ public class APIServerSpecAudit implements Editable ,
* No args constructor for use in serialization
*
*/
- public APIServerSpecAudit() {
+ public Audit() {
}
- public APIServerSpecAudit(List customRules, String profile) {
+ public Audit(List customRules, String profile) {
super();
this.customRules = customRules;
this.profile = profile;
@@ -80,12 +80,12 @@ public APIServerSpecAudit(List customRules, String pr
@JsonProperty("customRules")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getCustomRules() {
+ public List getCustomRules() {
return customRules;
}
@JsonProperty("customRules")
- public void setCustomRules(List customRules) {
+ public void setCustomRules(List customRules) {
this.customRules = customRules;
}
@@ -100,12 +100,12 @@ public void setProfile(String profile) {
}
@JsonIgnore
- public APIServerSpecAuditBuilder edit() {
- return new APIServerSpecAuditBuilder(this);
+ public AuditBuilder edit() {
+ return new AuditBuilder(this);
}
@JsonIgnore
- public APIServerSpecAuditBuilder toBuilder() {
+ public AuditBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuditConfig.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuditConfig.java
new file mode 100644
index 00000000000..05e8fb46e41
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuditConfig.java
@@ -0,0 +1,236 @@
+
+package io.fabric8.openshift.api.model.config.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({
+ "auditFilePath",
+ "enabled",
+ "logFormat",
+ "maximumFileRetentionDays",
+ "maximumFileSizeMegabytes",
+ "maximumRetainedFiles",
+ "policyConfiguration",
+ "policyFile",
+ "webHookKubeConfig",
+ "webHookMode"
+})
+@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 AuditConfig implements Editable , KubernetesResource
+{
+
+ @JsonProperty("auditFilePath")
+ private String auditFilePath;
+ @JsonProperty("enabled")
+ private Boolean enabled;
+ @JsonProperty("logFormat")
+ private String logFormat;
+ @JsonProperty("maximumFileRetentionDays")
+ private Integer maximumFileRetentionDays;
+ @JsonProperty("maximumFileSizeMegabytes")
+ private Integer maximumFileSizeMegabytes;
+ @JsonProperty("maximumRetainedFiles")
+ private Integer maximumRetainedFiles;
+ @JsonProperty("policyConfiguration")
+ @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
+ private Object policyConfiguration;
+ @JsonProperty("policyFile")
+ private String policyFile;
+ @JsonProperty("webHookKubeConfig")
+ private String webHookKubeConfig;
+ @JsonProperty("webHookMode")
+ private String webHookMode;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AuditConfig() {
+ }
+
+ public AuditConfig(String auditFilePath, Boolean enabled, String logFormat, Integer maximumFileRetentionDays, Integer maximumFileSizeMegabytes, Integer maximumRetainedFiles, Object policyConfiguration, String policyFile, String webHookKubeConfig, String webHookMode) {
+ super();
+ this.auditFilePath = auditFilePath;
+ this.enabled = enabled;
+ this.logFormat = logFormat;
+ this.maximumFileRetentionDays = maximumFileRetentionDays;
+ this.maximumFileSizeMegabytes = maximumFileSizeMegabytes;
+ this.maximumRetainedFiles = maximumRetainedFiles;
+ this.policyConfiguration = policyConfiguration;
+ this.policyFile = policyFile;
+ this.webHookKubeConfig = webHookKubeConfig;
+ this.webHookMode = webHookMode;
+ }
+
+ @JsonProperty("auditFilePath")
+ public String getAuditFilePath() {
+ return auditFilePath;
+ }
+
+ @JsonProperty("auditFilePath")
+ public void setAuditFilePath(String auditFilePath) {
+ this.auditFilePath = auditFilePath;
+ }
+
+ @JsonProperty("enabled")
+ public Boolean getEnabled() {
+ return enabled;
+ }
+
+ @JsonProperty("enabled")
+ public void setEnabled(Boolean enabled) {
+ this.enabled = enabled;
+ }
+
+ @JsonProperty("logFormat")
+ public String getLogFormat() {
+ return logFormat;
+ }
+
+ @JsonProperty("logFormat")
+ public void setLogFormat(String logFormat) {
+ this.logFormat = logFormat;
+ }
+
+ @JsonProperty("maximumFileRetentionDays")
+ public Integer getMaximumFileRetentionDays() {
+ return maximumFileRetentionDays;
+ }
+
+ @JsonProperty("maximumFileRetentionDays")
+ public void setMaximumFileRetentionDays(Integer maximumFileRetentionDays) {
+ this.maximumFileRetentionDays = maximumFileRetentionDays;
+ }
+
+ @JsonProperty("maximumFileSizeMegabytes")
+ public Integer getMaximumFileSizeMegabytes() {
+ return maximumFileSizeMegabytes;
+ }
+
+ @JsonProperty("maximumFileSizeMegabytes")
+ public void setMaximumFileSizeMegabytes(Integer maximumFileSizeMegabytes) {
+ this.maximumFileSizeMegabytes = maximumFileSizeMegabytes;
+ }
+
+ @JsonProperty("maximumRetainedFiles")
+ public Integer getMaximumRetainedFiles() {
+ return maximumRetainedFiles;
+ }
+
+ @JsonProperty("maximumRetainedFiles")
+ public void setMaximumRetainedFiles(Integer maximumRetainedFiles) {
+ this.maximumRetainedFiles = maximumRetainedFiles;
+ }
+
+ @JsonProperty("policyConfiguration")
+ public Object getPolicyConfiguration() {
+ return policyConfiguration;
+ }
+
+ @JsonProperty("policyConfiguration")
+ @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class)
+ public void setPolicyConfiguration(Object policyConfiguration) {
+ this.policyConfiguration = policyConfiguration;
+ }
+
+ @JsonProperty("policyFile")
+ public String getPolicyFile() {
+ return policyFile;
+ }
+
+ @JsonProperty("policyFile")
+ public void setPolicyFile(String policyFile) {
+ this.policyFile = policyFile;
+ }
+
+ @JsonProperty("webHookKubeConfig")
+ public String getWebHookKubeConfig() {
+ return webHookKubeConfig;
+ }
+
+ @JsonProperty("webHookKubeConfig")
+ public void setWebHookKubeConfig(String webHookKubeConfig) {
+ this.webHookKubeConfig = webHookKubeConfig;
+ }
+
+ @JsonProperty("webHookMode")
+ public String getWebHookMode() {
+ return webHookMode;
+ }
+
+ @JsonProperty("webHookMode")
+ public void setWebHookMode(String webHookMode) {
+ this.webHookMode = webHookMode;
+ }
+
+ @JsonIgnore
+ public AuditConfigBuilder edit() {
+ return new AuditConfigBuilder(this);
+ }
+
+ @JsonIgnore
+ public AuditConfigBuilder 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-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecACustomRules.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuditCustomRule.java
similarity index 89%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecACustomRules.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuditCustomRule.java
index dc5c0f11b29..e5d18419125 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/APIServerSpecACustomRules.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuditCustomRule.java
@@ -52,7 +52,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class APIServerSpecACustomRules implements Editable , KubernetesResource
+public class AuditCustomRule implements Editable , KubernetesResource
{
@JsonProperty("group")
@@ -66,10 +66,10 @@ public class APIServerSpecACustomRules implements Editable ,
{
@JsonProperty("oauthMetadata")
- private AuthenticationSpecOauthMetadata oauthMetadata;
+ private ConfigMapNameReference oauthMetadata;
+ @JsonProperty("oidcProviders")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List oidcProviders = new ArrayList<>();
@JsonProperty("serviceAccountIssuer")
private String serviceAccountIssuer;
@JsonProperty("type")
private String type;
@JsonProperty("webhookTokenAuthenticator")
- private AuthenticationSpecWebhookTokenAuthenticator webhookTokenAuthenticator;
+ private WebhookTokenAuthenticator webhookTokenAuthenticator;
@JsonProperty("webhookTokenAuthenticators")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List webhookTokenAuthenticators = new ArrayList<>();
+ private List webhookTokenAuthenticators = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -81,9 +85,10 @@ public class AuthenticationSpec implements Editable ,
public AuthenticationSpec() {
}
- public AuthenticationSpec(AuthenticationSpecOauthMetadata oauthMetadata, String serviceAccountIssuer, String type, AuthenticationSpecWebhookTokenAuthenticator webhookTokenAuthenticator, List webhookTokenAuthenticators) {
+ public AuthenticationSpec(ConfigMapNameReference oauthMetadata, List oidcProviders, String serviceAccountIssuer, String type, WebhookTokenAuthenticator webhookTokenAuthenticator, List webhookTokenAuthenticators) {
super();
this.oauthMetadata = oauthMetadata;
+ this.oidcProviders = oidcProviders;
this.serviceAccountIssuer = serviceAccountIssuer;
this.type = type;
this.webhookTokenAuthenticator = webhookTokenAuthenticator;
@@ -91,15 +96,26 @@ public AuthenticationSpec(AuthenticationSpecOauthMetadata oauthMetadata, String
}
@JsonProperty("oauthMetadata")
- public AuthenticationSpecOauthMetadata getOauthMetadata() {
+ public ConfigMapNameReference getOauthMetadata() {
return oauthMetadata;
}
@JsonProperty("oauthMetadata")
- public void setOauthMetadata(AuthenticationSpecOauthMetadata oauthMetadata) {
+ public void setOauthMetadata(ConfigMapNameReference oauthMetadata) {
this.oauthMetadata = oauthMetadata;
}
+ @JsonProperty("oidcProviders")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getOidcProviders() {
+ return oidcProviders;
+ }
+
+ @JsonProperty("oidcProviders")
+ public void setOidcProviders(List oidcProviders) {
+ this.oidcProviders = oidcProviders;
+ }
+
@JsonProperty("serviceAccountIssuer")
public String getServiceAccountIssuer() {
return serviceAccountIssuer;
@@ -121,23 +137,23 @@ public void setType(String type) {
}
@JsonProperty("webhookTokenAuthenticator")
- public AuthenticationSpecWebhookTokenAuthenticator getWebhookTokenAuthenticator() {
+ public WebhookTokenAuthenticator getWebhookTokenAuthenticator() {
return webhookTokenAuthenticator;
}
@JsonProperty("webhookTokenAuthenticator")
- public void setWebhookTokenAuthenticator(AuthenticationSpecWebhookTokenAuthenticator webhookTokenAuthenticator) {
+ public void setWebhookTokenAuthenticator(WebhookTokenAuthenticator webhookTokenAuthenticator) {
this.webhookTokenAuthenticator = webhookTokenAuthenticator;
}
@JsonProperty("webhookTokenAuthenticators")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getWebhookTokenAuthenticators() {
+ public List getWebhookTokenAuthenticators() {
return webhookTokenAuthenticators;
}
@JsonProperty("webhookTokenAuthenticators")
- public void setWebhookTokenAuthenticators(List webhookTokenAuthenticators) {
+ public void setWebhookTokenAuthenticators(List webhookTokenAuthenticators) {
this.webhookTokenAuthenticators = webhookTokenAuthenticators;
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationSpecWTAKubeConfig_1.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationSpecWTAKubeConfig_1.java
deleted file mode 100644
index 758d287044a..00000000000
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationSpecWTAKubeConfig_1.java
+++ /dev/null
@@ -1,108 +0,0 @@
-
-package io.fabric8.openshift.api.model.config.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({
- "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 AuthenticationSpecWTAKubeConfig_1 implements Editable , KubernetesResource
-{
-
- @JsonProperty("name")
- private String name;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public AuthenticationSpecWTAKubeConfig_1() {
- }
-
- public AuthenticationSpecWTAKubeConfig_1(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 AuthenticationSpecWTAKubeConfig_1Builder edit() {
- return new AuthenticationSpecWTAKubeConfig_1Builder(this);
- }
-
- @JsonIgnore
- public AuthenticationSpecWTAKubeConfig_1Builder 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-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationStatus.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationStatus.java
index 0d8666d135a..bd9834a51d6 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationStatus.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationStatus.java
@@ -1,7 +1,9 @@
package io.fabric8.openshift.api.model.config.v1;
+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,7 +33,8 @@
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
- "integratedOAuthMetadata"
+ "integratedOAuthMetadata",
+ "oidcClients"
})
@ToString
@EqualsAndHashCode
@@ -55,7 +58,10 @@ public class AuthenticationStatus implements Editable oidcClients = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -66,21 +72,33 @@ public class AuthenticationStatus implements Editable oidcClients) {
super();
this.integratedOAuthMetadata = integratedOAuthMetadata;
+ this.oidcClients = oidcClients;
}
@JsonProperty("integratedOAuthMetadata")
- public AuthenticationStatusIntegratedOAuthMetadata getIntegratedOAuthMetadata() {
+ public ConfigMapNameReference getIntegratedOAuthMetadata() {
return integratedOAuthMetadata;
}
@JsonProperty("integratedOAuthMetadata")
- public void setIntegratedOAuthMetadata(AuthenticationStatusIntegratedOAuthMetadata integratedOAuthMetadata) {
+ public void setIntegratedOAuthMetadata(ConfigMapNameReference integratedOAuthMetadata) {
this.integratedOAuthMetadata = integratedOAuthMetadata;
}
+ @JsonProperty("oidcClients")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getOidcClients() {
+ return oidcClients;
+ }
+
+ @JsonProperty("oidcClients")
+ public void setOidcClients(List oidcClients) {
+ this.oidcClients = oidcClients;
+ }
+
@JsonIgnore
public AuthenticationStatusBuilder edit() {
return new AuthenticationStatusBuilder(this);
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationStatusIntegratedOAuthMetadata.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationStatusIntegratedOAuthMetadata.java
deleted file mode 100644
index e9005347a73..00000000000
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AuthenticationStatusIntegratedOAuthMetadata.java
+++ /dev/null
@@ -1,108 +0,0 @@
-
-package io.fabric8.openshift.api.model.config.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({
- "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 AuthenticationStatusIntegratedOAuthMetadata implements Editable , KubernetesResource
-{
-
- @JsonProperty("name")
- private String name;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public AuthenticationStatusIntegratedOAuthMetadata() {
- }
-
- public AuthenticationStatusIntegratedOAuthMetadata(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 AuthenticationStatusIntegratedOAuthMetadataBuilder edit() {
- return new AuthenticationStatusIntegratedOAuthMetadataBuilder(this);
- }
-
- @JsonIgnore
- public AuthenticationStatusIntegratedOAuthMetadataBuilder 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-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformSpec.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformSpec.java
new file mode 100644
index 00000000000..9c2ec4dfa44
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformSpec.java
@@ -0,0 +1,83 @@
+
+package io.fabric8.openshift.api.model.config.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.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({
+
+})
+@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 AzurePlatformSpec implements Editable , KubernetesResource
+{
+
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ @JsonIgnore
+ public AzurePlatformSpecBuilder edit() {
+ return new AzurePlatformSpecBuilder(this);
+ }
+
+ @JsonIgnore
+ public AzurePlatformSpecBuilder 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-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAzure.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformStatus.java
similarity index 86%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAzure.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformStatus.java
index 032ca52c38b..b86aed231d3 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAzure.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzurePlatformStatus.java
@@ -57,7 +57,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class InfrastructureStatusPSAzure implements Editable , KubernetesResource
+public class AzurePlatformStatus implements Editable , KubernetesResource
{
@JsonProperty("armEndpoint")
@@ -70,7 +70,7 @@ public class InfrastructureStatusPSAzure implements Editable resourceTags = new ArrayList<>();
+ private List resourceTags = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -78,10 +78,10 @@ public class InfrastructureStatusPSAzure implements Editable resourceTags) {
+ public AzurePlatformStatus(String armEndpoint, String cloudName, String networkResourceGroupName, String resourceGroupName, List resourceTags) {
super();
this.armEndpoint = armEndpoint;
this.cloudName = cloudName;
@@ -132,22 +132,22 @@ public void setResourceGroupName(String resourceGroupName) {
@JsonProperty("resourceTags")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getResourceTags() {
+ public List getResourceTags() {
return resourceTags;
}
@JsonProperty("resourceTags")
- public void setResourceTags(List resourceTags) {
+ public void setResourceTags(List resourceTags) {
this.resourceTags = resourceTags;
}
@JsonIgnore
- public InfrastructureStatusPSAzureBuilder edit() {
- return new InfrastructureStatusPSAzureBuilder(this);
+ public AzurePlatformStatusBuilder edit() {
+ return new AzurePlatformStatusBuilder(this);
}
@JsonIgnore
- public InfrastructureStatusPSAzureBuilder toBuilder() {
+ public AzurePlatformStatusBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAzureResourceTags.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzureResourceTag.java
similarity index 87%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAzureResourceTags.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzureResourceTag.java
index e7ea6ec0256..2b4191630ca 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSAzureResourceTags.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/AzureResourceTag.java
@@ -52,7 +52,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class InfrastructureStatusPSAzureResourceTags implements Editable , KubernetesResource
+public class AzureResourceTag implements Editable , KubernetesResource
{
@JsonProperty("key")
@@ -66,10 +66,10 @@ public class InfrastructureStatusPSAzureResourceTags implements Editable , KubernetesResource
+public class BareMetalPlatformLoadBalancer implements Editable , KubernetesResource
{
@JsonProperty("type")
@@ -63,10 +63,10 @@ public class InfrastructureStatusPSOvirtLoadBalancer implements Editable , KubernetesResource
+public class BareMetalPlatformSpec implements Editable , KubernetesResource
{
@JsonProperty("apiServerInternalIPs")
@@ -74,10 +74,10 @@ public class InfrastructureSpecPSOpenstack implements Editable apiServerInternalIPs, List ingressIPs, List machineNetworks) {
+ public BareMetalPlatformSpec(List apiServerInternalIPs, List ingressIPs, List machineNetworks) {
super();
this.apiServerInternalIPs = apiServerInternalIPs;
this.ingressIPs = ingressIPs;
@@ -118,12 +118,12 @@ public void setMachineNetworks(List machineNetworks) {
}
@JsonIgnore
- public InfrastructureSpecPSOpenstackBuilder edit() {
- return new InfrastructureSpecPSOpenstackBuilder(this);
+ public BareMetalPlatformSpecBuilder edit() {
+ return new BareMetalPlatformSpecBuilder(this);
}
@JsonIgnore
- public InfrastructureSpecPSOpenstackBuilder toBuilder() {
+ public BareMetalPlatformSpecBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSVsphere.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformStatus.java
similarity index 87%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSVsphere.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformStatus.java
index 8474f280aba..8b403b81f1b 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/InfrastructureStatusPSVsphere.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BareMetalPlatformStatus.java
@@ -59,7 +59,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class InfrastructureStatusPSVsphere implements Editable , KubernetesResource
+public class BareMetalPlatformStatus implements Editable , KubernetesResource
{
@JsonProperty("apiServerInternalIP")
@@ -73,7 +73,7 @@ public class InfrastructureStatusPSVsphere implements Editable ingressIPs = new ArrayList<>();
@JsonProperty("loadBalancer")
- private InfrastructureStatusPSVsphereLoadBalancer loadBalancer;
+ private BareMetalPlatformLoadBalancer loadBalancer;
@JsonProperty("machineNetworks")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List machineNetworks = new ArrayList<>();
@@ -86,10 +86,10 @@ public class InfrastructureStatusPSVsphere implements Editable apiServerInternalIPs, String ingressIP, List ingressIPs, InfrastructureStatusPSVsphereLoadBalancer loadBalancer, List machineNetworks, String nodeDNSIP) {
+ public BareMetalPlatformStatus(String apiServerInternalIP, List apiServerInternalIPs, String ingressIP, List ingressIPs, BareMetalPlatformLoadBalancer loadBalancer, List machineNetworks, String nodeDNSIP) {
super();
this.apiServerInternalIP = apiServerInternalIP;
this.apiServerInternalIPs = apiServerInternalIPs;
@@ -143,12 +143,12 @@ public void setIngressIPs(List ingressIPs) {
}
@JsonProperty("loadBalancer")
- public InfrastructureStatusPSVsphereLoadBalancer getLoadBalancer() {
+ public BareMetalPlatformLoadBalancer getLoadBalancer() {
return loadBalancer;
}
@JsonProperty("loadBalancer")
- public void setLoadBalancer(InfrastructureStatusPSVsphereLoadBalancer loadBalancer) {
+ public void setLoadBalancer(BareMetalPlatformLoadBalancer loadBalancer) {
this.loadBalancer = loadBalancer;
}
@@ -174,12 +174,12 @@ public void setNodeDNSIP(String nodeDNSIP) {
}
@JsonIgnore
- public InfrastructureStatusPSVsphereBuilder edit() {
- return new InfrastructureStatusPSVsphereBuilder(this);
+ public BareMetalPlatformStatusBuilder edit() {
+ return new BareMetalPlatformStatusBuilder(this);
}
@JsonIgnore
- public InfrastructureStatusPSVsphereBuilder toBuilder() {
+ public BareMetalPlatformStatusBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthSpecIPBasicAuth.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BasicAuthIdentityProvider.java
similarity index 79%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthSpecIPBasicAuth.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BasicAuthIdentityProvider.java
index 53b984efcf8..987968adcdf 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/OAuthSpecIPBasicAuth.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BasicAuthIdentityProvider.java
@@ -54,15 +54,15 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class OAuthSpecIPBasicAuth implements Editable , KubernetesResource
+public class BasicAuthIdentityProvider implements Editable , KubernetesResource
{
@JsonProperty("ca")
- private OAuthSpecIPBasicAuthCa ca;
+ private ConfigMapNameReference ca;
@JsonProperty("tlsClientCert")
- private OAuthSpecIPBasicAuthTlsClientCert tlsClientCert;
+ private SecretNameReference tlsClientCert;
@JsonProperty("tlsClientKey")
- private OAuthSpecIPBasicAuthTlsClientKey tlsClientKey;
+ private SecretNameReference tlsClientKey;
@JsonProperty("url")
private String url;
@JsonIgnore
@@ -72,10 +72,10 @@ public class OAuthSpecIPBasicAuth implements Editable , KubernetesResource
+public class BuildDefaults implements Editable , KubernetesResource
{
@JsonProperty("defaultProxy")
- private BuildSpecBDDefaultProxy defaultProxy;
+ private ProxySpec defaultProxy;
@JsonProperty("env")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List env = new ArrayList<>();
@JsonProperty("gitProxy")
- private BuildSpecBDGitProxy gitProxy;
+ private ProxySpec gitProxy;
@JsonProperty("imageLabels")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List imageLabels = new ArrayList<>();
+ private List imageLabels = new ArrayList<>();
@JsonProperty("resources")
private ResourceRequirements resources;
@JsonIgnore
@@ -80,10 +80,10 @@ public class BuildSpecBuildDefaults implements Editable env, BuildSpecBDGitProxy gitProxy, List imageLabels, ResourceRequirements resources) {
+ public BuildDefaults(ProxySpec defaultProxy, List env, ProxySpec gitProxy, List imageLabels, ResourceRequirements resources) {
super();
this.defaultProxy = defaultProxy;
this.env = env;
@@ -93,12 +93,12 @@ public BuildSpecBuildDefaults(BuildSpecBDDefaultProxy defaultProxy, List
}
@JsonProperty("defaultProxy")
- public BuildSpecBDDefaultProxy getDefaultProxy() {
+ public ProxySpec getDefaultProxy() {
return defaultProxy;
}
@JsonProperty("defaultProxy")
- public void setDefaultProxy(BuildSpecBDDefaultProxy defaultProxy) {
+ public void setDefaultProxy(ProxySpec defaultProxy) {
this.defaultProxy = defaultProxy;
}
@@ -114,23 +114,23 @@ public void setEnv(List env) {
}
@JsonProperty("gitProxy")
- public BuildSpecBDGitProxy getGitProxy() {
+ public ProxySpec getGitProxy() {
return gitProxy;
}
@JsonProperty("gitProxy")
- public void setGitProxy(BuildSpecBDGitProxy gitProxy) {
+ public void setGitProxy(ProxySpec gitProxy) {
this.gitProxy = gitProxy;
}
@JsonProperty("imageLabels")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getImageLabels() {
+ public List getImageLabels() {
return imageLabels;
}
@JsonProperty("imageLabels")
- public void setImageLabels(List imageLabels) {
+ public void setImageLabels(List imageLabels) {
this.imageLabels = imageLabels;
}
@@ -145,12 +145,12 @@ public void setResources(ResourceRequirements resources) {
}
@JsonIgnore
- public BuildSpecBuildDefaultsBuilder edit() {
- return new BuildSpecBuildDefaultsBuilder(this);
+ public BuildDefaultsBuilder edit() {
+ return new BuildDefaultsBuilder(this);
}
@JsonIgnore
- public BuildSpecBuildDefaultsBuilder toBuilder() {
+ public BuildDefaultsBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildSpecBuildOverrides.java b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildOverrides.java
similarity index 83%
rename from kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildSpecBuildOverrides.java
rename to kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildOverrides.java
index cba88495d62..30a56e0ee2c 100644
--- a/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildSpecBuildOverrides.java
+++ b/kubernetes-model-generator/openshift-model-config/src/generated/java/io/fabric8/openshift/api/model/config/v1/BuildOverrides.java
@@ -24,6 +24,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.kubernetes.api.model.Toleration;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
@@ -56,20 +57,20 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class BuildSpecBuildOverrides implements Editable , KubernetesResource
+public class BuildOverrides implements Editable , KubernetesResource
{
@JsonProperty("forcePull")
private Boolean forcePull;
@JsonProperty("imageLabels")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List imageLabels = new ArrayList<>();
+ private List imageLabels = new ArrayList<>();
@JsonProperty("nodeSelector")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private Map nodeSelector = new LinkedHashMap<>();
@JsonProperty("tolerations")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List tolerations = new ArrayList<>();
+ private List tolerations = new ArrayList<>();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -77,10 +78,10 @@ public class BuildSpecBuildOverrides implements Editable imageLabels, Map nodeSelector, List tolerations) {
+ public BuildOverrides(Boolean forcePull, List imageLabels, Map nodeSelector, List tolerations) {
super();
this.forcePull = forcePull;
this.imageLabels = imageLabels;
@@ -100,12 +101,12 @@ public void setForcePull(Boolean forcePull) {
@JsonProperty("imageLabels")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getImageLabels() {
+ public List getImageLabels() {
return imageLabels;
}
@JsonProperty("imageLabels")
- public void setImageLabels(List imageLabels) {
+ public void setImageLabels(List imageLabels) {
this.imageLabels = imageLabels;
}
@@ -122,22 +123,22 @@ public void setNodeSelector(Map