Skip to content

Commit

Permalink
fixup! chore (kubernetes-model-generator) : Update Kubernetes Model t…
Browse files Browse the repository at this point in the history
…o v1.28.2
  • Loading branch information
sunix committed Sep 22, 2023
1 parent c3fda6e commit 999a851
Show file tree
Hide file tree
Showing 20 changed files with 419 additions and 455 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
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.Namespaced;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
Expand Down Expand Up @@ -66,7 +65,7 @@
@Version("v1beta1")
@Group("admissionregistration.k8s.io")
@Generated("jsonschema2pojo")
public class ValidatingAdmissionPolicy implements Editable<ValidatingAdmissionPolicyBuilder> , HasMetadata, Namespaced
public class ValidatingAdmissionPolicy implements Editable<ValidatingAdmissionPolicyBuilder> , HasMetadata
{

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
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.Namespaced;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
Expand Down Expand Up @@ -65,7 +64,7 @@
@Version("v1beta1")
@Group("admissionregistration.k8s.io")
@Generated("jsonschema2pojo")
public class ValidatingAdmissionPolicyBinding implements Editable<ValidatingAdmissionPolicyBindingBuilder> , HasMetadata, Namespaced
public class ValidatingAdmissionPolicyBinding implements Editable<ValidatingAdmissionPolicyBindingBuilder> , HasMetadata
{

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1488,8 +1488,7 @@
"additionalProperties": true,
"javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicy",
"javaInterfaces": [
"io.fabric8.kubernetes.api.model.HasMetadata",
"io.fabric8.kubernetes.api.model.Namespaced"
"io.fabric8.kubernetes.api.model.HasMetadata"
]
},
"kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBinding": {
Expand Down Expand Up @@ -1517,8 +1516,7 @@
"additionalProperties": true,
"javaType": "io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding",
"javaInterfaces": [
"io.fabric8.kubernetes.api.model.HasMetadata",
"io.fabric8.kubernetes.api.model.Namespaced"
"io.fabric8.kubernetes.api.model.HasMetadata"
]
},
"kubernetes_admissionregistration_v1beta1_ValidatingAdmissionPolicyBindingList": {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2578,13 +2578,13 @@
},
"customresourcecolumndefinition": {
"properties": {
"description": {
"JSONPath": {
"type": "string"
},
"format": {
"description": {
"type": "string"
},
"jsonPath": {
"format": {
"type": "string"
},
"name": {
Expand All @@ -2601,19 +2601,12 @@
},
"customresourceconversion": {
"properties": {
"conversionReviewVersions": {
"type": "array",
"javaOmitEmpty": true,
"items": {
"type": "string"
}
},
"strategy": {
"type": "string"
},
"webhookClientConfig": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_WebhookClientConfig",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.WebhookClientConfig"
"webhook": {
"$ref": "#/definitions/kubernetes_apiextensions_v1_WebhookConversion",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.WebhookConversion"
}
},
"additionalProperties": true
Expand Down Expand Up @@ -2670,14 +2663,14 @@
"properties": {
"apiVersion": {
"type": "string",
"default": "apiextensions.k8s.io/v1beta1",
"default": "apiextensions.k8s.io/v1",
"required": true
},
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceDefinition",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceDefinition"
"$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceDefinition",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceDefinition"
}
},
"kind": {
Expand Down Expand Up @@ -2813,12 +2806,12 @@
"customresourcesubresources": {
"properties": {
"scale": {
"$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceSubresourceScale",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceSubresourceScale"
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceSubresourceScale",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceSubresourceScale"
},
"status": {
"$ref": "#/definitions/kubernetes_apiextensions_v1_CustomResourceSubresourceStatus",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceSubresourceStatus"
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_CustomResourceSubresourceStatus",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.CustomResourceSubresourceStatus"
}
},
"additionalProperties": true
Expand All @@ -2843,8 +2836,8 @@
"customresourcevalidation": {
"properties": {
"openAPIV3Schema": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps"
}
},
"additionalProperties": true
Expand Down Expand Up @@ -2972,48 +2965,48 @@
"type": "string"
},
"additionalItems": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaPropsOrBool",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaPropsOrBool"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaPropsOrBool",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaPropsOrBool"
},
"additionalProperties": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaPropsOrBool",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaPropsOrBool"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaPropsOrBool",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaPropsOrBool"
},
"allOf": {
"type": "array",
"javaOmitEmpty": true,
"items": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps"
}
},
"anyOf": {
"type": "array",
"javaOmitEmpty": true,
"items": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps"
}
},
"default": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSON",
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSON",
"existingJavaType": "com.fasterxml.jackson.databind.JsonNode"
},
"definitions": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps"
},
"existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps\u003e"
"existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps\u003e"
},
"dependencies": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaPropsOrStringArray",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaPropsOrStringArray"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaPropsOrStringArray",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaPropsOrStringArray"
},
"existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaPropsOrStringArray\u003e"
"existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaPropsOrStringArray\u003e"
},
"description": {
"type": "string"
Expand All @@ -3022,12 +3015,12 @@
"type": "array",
"javaOmitEmpty": true,
"items": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSON",
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSON",
"existingJavaType": "com.fasterxml.jackson.databind.JsonNode"
}
},
"example": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSON",
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSON",
"existingJavaType": "com.fasterxml.jackson.databind.JsonNode"
},
"exclusiveMaximum": {
Expand All @@ -3037,8 +3030,8 @@
"type": "boolean"
},
"externalDocs": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_ExternalDocumentation",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.ExternalDocumentation"
"$ref": "#/definitions/kubernetes_apiextensions_v1_ExternalDocumentation",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.ExternalDocumentation"
},
"format": {
"type": "string"
Expand All @@ -3047,8 +3040,8 @@
"type": "string"
},
"items": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaPropsOrArray",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaPropsOrArray"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaPropsOrArray",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaPropsOrArray"
},
"maxItems": {
"type": "integer",
Expand Down Expand Up @@ -3084,8 +3077,8 @@
"type": "number"
},
"not": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps"
},
"nullable": {
"type": "boolean"
Expand All @@ -3094,8 +3087,8 @@
"type": "array",
"javaOmitEmpty": true,
"items": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps"
}
},
"pattern": {
Expand All @@ -3104,18 +3097,18 @@
"patternProperties": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps"
},
"existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps\u003e"
"existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps\u003e"
},
"properties": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps"
"$ref": "#/definitions/kubernetes_apiextensions_v1_JSONSchemaProps",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps"
},
"existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1beta1.JSONSchemaProps\u003e"
"existingJavaType": "java.util.Map\u003cString, io.fabric8.kubernetes.api.model.apiextensions.v1.JSONSchemaProps\u003e"
},
"required": {
"type": "array",
Expand Down Expand Up @@ -3159,8 +3152,8 @@
"type": "array",
"javaOmitEmpty": true,
"items": {
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_ValidationRule",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.ValidationRule"
"$ref": "#/definitions/kubernetes_apiextensions_v1_ValidationRule",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.ValidationRule"
}
}
},
Expand Down Expand Up @@ -3700,8 +3693,8 @@
"type": "string"
},
"service": {
"$ref": "#/definitions/kubernetes_apiextensions_v1_ServiceReference",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1.ServiceReference"
"$ref": "#/definitions/kubernetes_apiextensions_v1beta1_ServiceReference",
"existingJavaType": "io.fabric8.kubernetes.api.model.apiextensions.v1beta1.ServiceReference"
},
"url": {
"type": "string"
Expand Down
Loading

0 comments on commit 999a851

Please sign in to comment.