You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can we reproduce it (as minimally and precisely as possible)?
go build ./pkg/apis/core/v1
Anything else we need to know?
No response
Kubernetes version
$ kubectl version
# paste output here
Cloud provider
OS version
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
# On Windows:C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered:
What happened?
Failed to compile generated validation file in pkg/apis/core/v1 for zz_generated.validation.go
Causes:
optional
andrequired
can only take in comparable type. e.g.kubernetes/pkg/apis/core/v1/zz_generated.validations.go
Line 384 in a2e6b49
optional
andrequired
validation may take in non-pointer variable, e.g. []string:kubernetes/pkg/apis/core/v1/zz_generated.validations.go
Lines 671 to 675 in a2e6b49
kubernetes/pkg/apis/core/v1/zz_generated.validations.go
Line 1076 in a2e6b49
safe.Field
e.g.kubernetes/pkg/apis/core/v1/zz_generated.validations.go
Line 138 in a2e6b49
What did you expect to happen?
Successfully compiled.
How can we reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
No response
Kubernetes version
Cloud provider
OS version
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: