mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Move APIs and core code to use metav1.ObjectMeta
This commit is contained in:
@@ -28,7 +28,7 @@ import (
|
||||
type CertificateSigningRequest struct {
|
||||
metav1.TypeMeta
|
||||
// +optional
|
||||
api.ObjectMeta
|
||||
metav1.ObjectMeta
|
||||
|
||||
// The certificate request itself and any additional information.
|
||||
// +optional
|
||||
|
||||
@@ -18,7 +18,6 @@ package v1alpha1
|
||||
|
||||
import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/kubernetes/pkg/api/v1"
|
||||
)
|
||||
|
||||
// +genclient=true
|
||||
@@ -28,7 +27,7 @@ import (
|
||||
type CertificateSigningRequest struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// +optional
|
||||
v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
|
||||
// The certificate request itself and any additional information.
|
||||
// +optional
|
||||
|
||||
Reference in New Issue
Block a user