Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions kube-core/src/admission.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ pub struct ConvertAdmissionReviewError;
pub const META_KIND: &str = "AdmissionReview";
/// The `api_version` field in [`TypeMeta`] on the v1 version.
pub const META_API_VERSION_V1: &str = "admission.k8s.io/v1";
/// The `api_version` field in [`TypeMeta`] on the v1beta1 version.
pub const META_API_VERSION_V1BETA1: &str = "admission.k8s.io/v1beta1";

/// The top level struct used for Serializing and Deserializing AdmissionReview
/// requests and responses.
Expand Down Expand Up @@ -301,7 +299,7 @@ impl AdmissionResponse {
// supported and we won't be using any of the new fields.
types: TypeMeta {
kind: META_KIND.to_owned(),
api_version: META_API_VERSION_V1BETA1.to_owned(),
api_version: META_API_VERSION_V1.to_owned(),
},
uid: Default::default(),
allowed: false,
Expand Down