Skip to content

Commit 55e4763

Browse files
authored
Merge pull request kubernetes#81899 from liggitt/deprecate-crd-v1beta1
Mark v1beta1 webhooks/CRD types deprecated in favor of v1
2 parents 7ebbe34 + 078cb91 commit 55e4763

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

api/openapi-spec/swagger.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/admissionregistration/v1beta1/generated.proto

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ const (
115115
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
116116

117117
// ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
118+
// Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.
118119
type ValidatingWebhookConfiguration struct {
119120
metav1.TypeMeta `json:",inline"`
120121
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
@@ -145,6 +146,7 @@ type ValidatingWebhookConfigurationList struct {
145146
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
146147

147148
// MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
149+
// Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.
148150
type MutatingWebhookConfiguration struct {
149151
metav1.TypeMeta `json:",inline"`
150152
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.

staging/src/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ const CustomResourceCleanupFinalizer = "customresourcecleanup.apiextensions.k8s.
363363

364364
// CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format
365365
// <.spec.name>.<.spec.group>.
366+
// Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.
366367
type CustomResourceDefinition struct {
367368
metav1.TypeMeta `json:",inline"`
368369
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

0 commit comments

Comments
 (0)