Skip to content

Commit

Permalink
feat: Update to include Kubernetes 1.30 (#34)
Browse files Browse the repository at this point in the history
- Updated `k8s-pb-codegen` edition to 2021
- Updated Kubernetes version to `1.30.0`
	- After updating version I ran:
		- `just protos`
		- `just swagger`
		- `just codegen`
  • Loading branch information
clux authored Apr 21, 2024
2 parents 14b77ae + f2d65db commit bd9e02d
Show file tree
Hide file tree
Showing 114 changed files with 22,505 additions and 12,307 deletions.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION := "1.29.0"
VERSION := "1.30.0"

default:
@just --list
Expand Down
2 changes: 1 addition & 1 deletion k8s-pb-codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "k8s-pb-codegen"
version = "0.2.0"
edition = "2018"
edition = "2021"
license = "Apache-2.0"
publish = false

Expand Down
30,541 changes: 18,336 additions & 12,205 deletions k8s-pb-codegen/openapi/swagger.json

Large diffs are not rendered by default.

216 changes: 216 additions & 0 deletions k8s-pb-codegen/openapi/transformed.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,80 @@
],
"subresources": []
},
"api.admissionregistration.v1.ValidatingAdmissionPolicy": {
"name": "validatingadmissionpolicies",
"namespaced": false,
"apiVersion": "admissionregistration.k8s.io/v1",
"group": "admissionregistration.k8s.io",
"version": "v1",
"kind": "ValidatingAdmissionPolicy",
"proto": "api.admissionregistration.v1.ValidatingAdmissionPolicy",
"rust": "api::admissionregistration::v1::ValidatingAdmissionPolicy",
"metadata": "apimachinery::pkg::apis::meta::v1::ObjectMeta",
"spec": "api::admissionregistration::v1::ValidatingAdmissionPolicySpec",
"status": "api::admissionregistration::v1::ValidatingAdmissionPolicyStatus",
"condition": "apimachinery::pkg::apis::meta::v1::Condition",
"scopedVerbs": {
"all": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update"
]
},
"paths": [
"/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies",
"/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/{name}"
],
"subresources": [
{
"name": "status",
"scopedVerbs": {
"all": [
"get",
"patch",
"update"
]
},
"paths": [
"/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/{name}/status"
]
}
]
},
"api.admissionregistration.v1.ValidatingAdmissionPolicyBinding": {
"name": "validatingadmissionpolicybindings",
"namespaced": false,
"apiVersion": "admissionregistration.k8s.io/v1",
"group": "admissionregistration.k8s.io",
"version": "v1",
"kind": "ValidatingAdmissionPolicyBinding",
"proto": "api.admissionregistration.v1.ValidatingAdmissionPolicyBinding",
"rust": "api::admissionregistration::v1::ValidatingAdmissionPolicyBinding",
"metadata": "apimachinery::pkg::apis::meta::v1::ObjectMeta",
"spec": "api::admissionregistration::v1::ValidatingAdmissionPolicyBindingSpec",
"status": null,
"condition": null,
"scopedVerbs": {
"all": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update"
]
},
"paths": [
"/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings",
"/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/{name}"
],
"subresources": []
},
"api.admissionregistration.v1.ValidatingWebhookConfiguration": {
"name": "validatingwebhookconfigurations",
"namespaced": false,
Expand Down Expand Up @@ -2553,6 +2627,40 @@
}
]
},
"api.resource.v1alpha2.ResourceClaimParameters": {
"name": "resourceclaimparameters",
"namespaced": true,
"apiVersion": "resource.k8s.io/v1alpha2",
"group": "resource.k8s.io",
"version": "v1alpha2",
"kind": "ResourceClaimParameters",
"proto": "api.resource.v1alpha2.ResourceClaimParameters",
"rust": "api::resource::v1alpha2::ResourceClaimParameters",
"metadata": "apimachinery::pkg::apis::meta::v1::ObjectMeta",
"spec": null,
"status": null,
"condition": null,
"scopedVerbs": {
"all": [
"list"
],
"namespaced": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update"
]
},
"paths": [
"/apis/resource.k8s.io/v1alpha2/resourceclaimparameters",
"/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters",
"/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name}"
],
"subresources": []
},
"api.resource.v1alpha2.ResourceClaimTemplate": {
"name": "resourceclaimtemplates",
"namespaced": true,
Expand Down Expand Up @@ -2617,6 +2725,70 @@
],
"subresources": []
},
"api.resource.v1alpha2.ResourceClassParameters": {
"name": "resourceclassparameters",
"namespaced": true,
"apiVersion": "resource.k8s.io/v1alpha2",
"group": "resource.k8s.io",
"version": "v1alpha2",
"kind": "ResourceClassParameters",
"proto": "api.resource.v1alpha2.ResourceClassParameters",
"rust": "api::resource::v1alpha2::ResourceClassParameters",
"metadata": "apimachinery::pkg::apis::meta::v1::ObjectMeta",
"spec": null,
"status": null,
"condition": null,
"scopedVerbs": {
"all": [
"list"
],
"namespaced": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update"
]
},
"paths": [
"/apis/resource.k8s.io/v1alpha2/resourceclassparameters",
"/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters",
"/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name}"
],
"subresources": []
},
"api.resource.v1alpha2.ResourceSlice": {
"name": "resourceslices",
"namespaced": false,
"apiVersion": "resource.k8s.io/v1alpha2",
"group": "resource.k8s.io",
"version": "v1alpha2",
"kind": "ResourceSlice",
"proto": "api.resource.v1alpha2.ResourceSlice",
"rust": "api::resource::v1alpha2::ResourceSlice",
"metadata": "apimachinery::pkg::apis::meta::v1::ObjectMeta",
"spec": null,
"status": null,
"condition": null,
"scopedVerbs": {
"all": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update"
]
},
"paths": [
"/apis/resource.k8s.io/v1alpha2/resourceslices",
"/apis/resource.k8s.io/v1alpha2/resourceslices/{name}"
],
"subresources": []
},
"api.scheduling.v1.PriorityClass": {
"name": "priorityclasses",
"namespaced": false,
Expand Down Expand Up @@ -2845,6 +3017,50 @@
],
"subresources": []
},
"api.storagemigration.v1alpha1.StorageVersionMigration": {
"name": "storageversionmigrations",
"namespaced": false,
"apiVersion": "storagemigration.k8s.io/v1alpha1",
"group": "storagemigration.k8s.io",
"version": "v1alpha1",
"kind": "StorageVersionMigration",
"proto": "api.storagemigration.v1alpha1.StorageVersionMigration",
"rust": "api::storagemigration::v1alpha1::StorageVersionMigration",
"metadata": "apimachinery::pkg::apis::meta::v1::ObjectMeta",
"spec": "api::storagemigration::v1alpha1::StorageVersionMigrationSpec",
"status": "api::storagemigration::v1alpha1::StorageVersionMigrationStatus",
"condition": "api::storagemigration::v1alpha1::MigrationCondition",
"scopedVerbs": {
"all": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update"
]
},
"paths": [
"/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations",
"/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}"
],
"subresources": [
{
"name": "status",
"scopedVerbs": {
"all": [
"get",
"patch",
"update"
]
},
"paths": [
"/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status"
]
}
]
},
"apiextensions_apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition": {
"name": "customresourcedefinitions",
"namespaced": false,
Expand Down
2 changes: 2 additions & 0 deletions k8s-pb-codegen/protos.list
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ protos/api/admission/v1beta1/generated.proto
protos/api/admissionregistration/v1/generated.proto
protos/api/admissionregistration/v1alpha1/generated.proto
protos/api/admissionregistration/v1beta1/generated.proto
protos/api/apidiscovery/v2/generated.proto
protos/api/apidiscovery/v2beta1/generated.proto
protos/api/apiserverinternal/v1alpha1/generated.proto
protos/api/apps/v1/generated.proto
Expand Down Expand Up @@ -53,6 +54,7 @@ protos/api/scheduling/v1beta1/generated.proto
protos/api/storage/v1/generated.proto
protos/api/storage/v1alpha1/generated.proto
protos/api/storage/v1beta1/generated.proto
protos/api/storagemigration/v1alpha1/generated.proto
protos/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto
protos/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto
protos/apimachinery/pkg/api/resource/generated.proto
Expand Down
Loading

0 comments on commit bd9e02d

Please sign in to comment.