mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-01-27 10:19:35 +00:00
Results in errors like:
```
$ ./hack/verify-api-lint.sh
+++ [0317 09:00:04] Generating validation code for 69 targets
F0317 09:00:05.637556 1049736 targets.go:363] lint failed:
type k8s.io/api/core/v1.PodAffinityTerm:
field LabelSelector: conflicting tags: {+k8s:optional, +k8s:required}: fields cannot be both optional and required
field Namespaces: conflicting tags: {+default, +k8s:required}: fields with default values are always optional
!!! [0317 09:00:05] Call tree:
!!! [0317 09:00:05] 1: hack/update-codegen.sh:1132 codegen::validation(...)
```
866 B
Executable File
866 B
Executable File