Skip to content

Commit

Permalink
schema: Added OpenAPI schema for 1.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
manusa committed Aug 8, 2021
1 parent 4a2b7e9 commit 2bc5985
Show file tree
Hide file tree
Showing 93 changed files with 119,159 additions and 1,741 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Provides the basic interfaces and Exception types to be used across the differen

Kubernetes model objects to be used for REST API serialization/deserialization.

Model types are generated for Kubernetes equivalents in versions from 1.15 to 1.20.
Model types are generated for Kubernetes equivalents in versions from 1.15 to 1.21.

#### kubernetes-api
[![Maven Central](https://img.shields.io/maven-central/v/com.marcnuri.yakc/kubernetes-api)
Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ def availableSchemaNames = Arrays.asList(
"kubernetes-1.16.0.json",
"kubernetes-1.18.6.json",
"kubernetes-1.19.6.json",
"kubernetes-1.20.5.json"
"kubernetes-1.20.5.json",
"kubernetes-1.21.0.json"
)
def availableSchemas = availableSchemaNames.stream()
.map { s -> new File(schemaDir, s) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -524,22 +524,6 @@ public ReadMutatingWebhookConfiguration pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadMutatingWebhookConfiguration exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadMutatingWebhookConfiguration export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified MutatingWebhookConfiguration
Expand Down Expand Up @@ -1151,22 +1135,6 @@ public ReadValidatingWebhookConfiguration pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadValidatingWebhookConfiguration exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadValidatingWebhookConfiguration export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified ValidatingWebhookConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -524,22 +524,6 @@ public ReadMutatingWebhookConfiguration pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadMutatingWebhookConfiguration exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadMutatingWebhookConfiguration export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified MutatingWebhookConfiguration
Expand Down Expand Up @@ -1151,22 +1135,6 @@ public ReadValidatingWebhookConfiguration pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadValidatingWebhookConfiguration exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadValidatingWebhookConfiguration export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified ValidatingWebhookConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -522,22 +522,6 @@ public ReadCustomResourceDefinition pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadCustomResourceDefinition exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadCustomResourceDefinition export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified CustomResourceDefinition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -522,22 +522,6 @@ public ReadCustomResourceDefinition pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadCustomResourceDefinition exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadCustomResourceDefinition export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified CustomResourceDefinition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -522,22 +522,6 @@ public ReadAPIService pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadAPIService exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadAPIService export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified APIService
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -522,22 +522,6 @@ public ReadAPIService pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadAPIService exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadAPIService export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified APIService
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -888,22 +888,6 @@ public ReadNamespacedControllerRevision pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedControllerRevision exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedControllerRevision export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified ControllerRevision
Expand Down Expand Up @@ -1559,22 +1543,6 @@ public ReadNamespacedDaemonSet pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedDaemonSet exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedDaemonSet export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified DaemonSet
Expand Down Expand Up @@ -2417,22 +2385,6 @@ public ReadNamespacedDeployment pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedDeployment exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedDeployment export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified Deployment
Expand Down Expand Up @@ -3462,22 +3414,6 @@ public ReadNamespacedReplicaSet pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedReplicaSet exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedReplicaSet export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified ReplicaSet
Expand Down Expand Up @@ -4507,22 +4443,6 @@ public ReadNamespacedStatefulSet pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedStatefulSet exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedStatefulSet export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified StatefulSet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -665,22 +665,6 @@ public ReadNamespacedHorizontalPodAutoscaler pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedHorizontalPodAutoscaler exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedHorizontalPodAutoscaler export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified HorizontalPodAutoscaler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -665,22 +665,6 @@ public ReadNamespacedHorizontalPodAutoscaler pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedHorizontalPodAutoscaler exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedHorizontalPodAutoscaler export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified HorizontalPodAutoscaler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -665,22 +665,6 @@ public ReadNamespacedHorizontalPodAutoscaler pretty(String pretty) {
put("pretty", pretty);
return this;
}

/**
* Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedHorizontalPodAutoscaler exact(Boolean exact) {
put("exact", exact);
return this;
}

/**
* Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public ReadNamespacedHorizontalPodAutoscaler export(Boolean export) {
put("export", export);
return this;
}
}
/**
* partially update the specified HorizontalPodAutoscaler
Expand Down
Loading

0 comments on commit 2bc5985

Please sign in to comment.