Skip to content

Commit e856356

Browse files
thockinjpbetz
authored andcommitted
Enable validation-gen on core/v1
This enables generation but does not activate the strategy calling of declarative.
1 parent c79d3ce commit e856356

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

pkg/apis/core/v1/doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ limitations under the License.
1818
// +k8s:conversion-gen-external-types=k8s.io/api/core/v1
1919
// +k8s:defaulter-gen=TypeMeta
2020
// +k8s:defaulter-gen-input=k8s.io/api/core/v1
21+
// +k8s:validation-gen=TypeMeta
22+
// +k8s:validation-gen-input=k8s.io/api/core/v1
2123

2224
// Package v1 is the v1 version of the API.
2325
package v1

pkg/apis/core/v1/zz_generated.validations.go

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

0 commit comments

Comments
 (0)