mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 20:00:07 +00:00
Update the APIGroup field to be optional
This commit is contained in:
6
pkg/generated/openapi/zz_generated.openapi.go
generated
6
pkg/generated/openapi/zz_generated.openapi.go
generated
@@ -44879,7 +44879,7 @@ func schema_k8sio_api_rbac_v1_RoleRef(ref common.ReferenceCallback) common.OpenA
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"apiGroup", "kind", "name"},
|
||||
Required: []string{"kind", "name"},
|
||||
},
|
||||
VendorExtensible: spec.VendorExtensible{
|
||||
Extensions: spec.Extensions{
|
||||
@@ -45565,7 +45565,7 @@ func schema_k8sio_api_rbac_v1alpha1_RoleRef(ref common.ReferenceCallback) common
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"apiGroup", "kind", "name"},
|
||||
Required: []string{"kind", "name"},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -46241,7 +46241,7 @@ func schema_k8sio_api_rbac_v1beta1_RoleRef(ref common.ReferenceCallback) common.
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"apiGroup", "kind", "name"},
|
||||
Required: []string{"kind", "name"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -183,7 +183,7 @@ message RoleList {
|
||||
// +structType=atomic
|
||||
message RoleRef {
|
||||
// APIGroup is the group for the resource being referenced
|
||||
// +required
|
||||
// +optional
|
||||
optional string apiGroup = 1;
|
||||
|
||||
// Kind is the type of resource being referenced
|
||||
|
||||
@@ -102,7 +102,7 @@ type Subject struct {
|
||||
// +structType=atomic
|
||||
type RoleRef struct {
|
||||
// APIGroup is the group for the resource being referenced
|
||||
// +required
|
||||
// +optional
|
||||
APIGroup string `json:"apiGroup" protobuf:"bytes,1,opt,name=apiGroup"`
|
||||
// Kind is the type of resource being referenced
|
||||
// +required
|
||||
|
||||
@@ -188,7 +188,7 @@ message RoleList {
|
||||
// RoleRef contains information that points to the role being used
|
||||
message RoleRef {
|
||||
// APIGroup is the group for the resource being referenced
|
||||
// +required
|
||||
// +optional
|
||||
optional string apiGroup = 1;
|
||||
|
||||
// Kind is the type of resource being referenced
|
||||
|
||||
@@ -101,7 +101,7 @@ type Subject struct {
|
||||
// RoleRef contains information that points to the role being used
|
||||
type RoleRef struct {
|
||||
// APIGroup is the group for the resource being referenced
|
||||
// +required
|
||||
// +optional
|
||||
APIGroup string `json:"apiGroup" protobuf:"bytes,1,opt,name=apiGroup"`
|
||||
// Kind is the type of resource being referenced
|
||||
// +required
|
||||
|
||||
@@ -189,7 +189,7 @@ message RoleList {
|
||||
// RoleRef contains information that points to the role being used
|
||||
message RoleRef {
|
||||
// APIGroup is the group for the resource being referenced
|
||||
// +required
|
||||
// +optional
|
||||
optional string apiGroup = 1;
|
||||
|
||||
// Kind is the type of resource being referenced
|
||||
|
||||
@@ -101,7 +101,7 @@ type Subject struct {
|
||||
// RoleRef contains information that points to the role being used
|
||||
type RoleRef struct {
|
||||
// APIGroup is the group for the resource being referenced
|
||||
// +required
|
||||
// +optional
|
||||
APIGroup string `json:"apiGroup" protobuf:"bytes,1,opt,name=apiGroup"`
|
||||
// Kind is the type of resource being referenced
|
||||
// +required
|
||||
|
||||
Reference in New Issue
Block a user