Add +k8s:openapi-gen tag to API types
This commit is contained in:
@@ -15,5 +15,6 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:openapi-gen=true
|
||||
|
||||
package policy // import "k8s.io/kubernetes/pkg/apis/policy"
|
||||
|
@@ -20,4 +20,5 @@ limitations under the License.
|
||||
// Package policy is for any kind of policy object. Suitable examples, even if
|
||||
// they aren't all here, are PodDisruptionBudget, PodSecurityPolicy,
|
||||
// NetworkPolicy, etc.
|
||||
// +k8s:openapi-gen=true
|
||||
package v1alpha1 // import "k8s.io/kubernetes/pkg/apis/policy/v1alpha1"
|
||||
|
Reference in New Issue
Block a user