Commit 720f0419 authored by crimsonfaith91's avatar crimsonfaith91

mark created-by annotation as deprecated

parent 984f1af5
...@@ -47,6 +47,8 @@ const ( ...@@ -47,6 +47,8 @@ const (
// CreatedByAnnotation represents the key used to store the spec(json) // CreatedByAnnotation represents the key used to store the spec(json)
// used to create the resource. // used to create the resource.
// This field is deprecated in favor of ControllerRef (see #44407).
// TODO(#50720): Remove this field in v1.9.
CreatedByAnnotation = "kubernetes.io/created-by" CreatedByAnnotation = "kubernetes.io/created-by"
// PreferAvoidPodsAnnotationKey represents the key of preferAvoidPods data (json serialized) // PreferAvoidPodsAnnotationKey represents the key of preferAvoidPods data (json serialized)
......
...@@ -47,6 +47,8 @@ const ( ...@@ -47,6 +47,8 @@ const (
// CreatedByAnnotation represents the key used to store the spec(json) // CreatedByAnnotation represents the key used to store the spec(json)
// used to create the resource. // used to create the resource.
// This field is deprecated in favor of ControllerRef (see #44407).
// TODO(#50720): Remove this field in v1.9.
CreatedByAnnotation = "kubernetes.io/created-by" CreatedByAnnotation = "kubernetes.io/created-by"
// PreferAvoidPodsAnnotationKey represents the key of preferAvoidPods data (json serialized) // PreferAvoidPodsAnnotationKey represents the key of preferAvoidPods data (json serialized)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment