mirror of https://github.com/k3s-io/k3s
api: rename non-convertible annotation prefix to be valid
parent
1d3748d7e5
commit
e634c90c64
|
@ -42,7 +42,6 @@ go_library(
|
|||
"//vendor:k8s.io/apimachinery/pkg/selection",
|
||||
"//vendor:k8s.io/apimachinery/pkg/types",
|
||||
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
||||
"//vendor:k8s.io/apimachinery/pkg/util/validation/field",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ func (c *ConversionError) Error() string {
|
|||
|
||||
const (
|
||||
// annotation key prefix used to identify non-convertible json paths.
|
||||
NonConvertibleAnnotationPrefix = "kubernetes.io/non-convertible"
|
||||
NonConvertibleAnnotationPrefix = "non-convertible.kubernetes.io"
|
||||
)
|
||||
|
||||
// NonConvertibleFields iterates over the provided map and filters out all but
|
||||
|
|
Loading…
Reference in New Issue