utils/meta.go
func SetMetaDataAnnotation(obj metav1.Object, key, value string) {
	a := obj.GetAnnotations()
	if a == nil {
		a = make(map[string]string)
	}
	a[key] = value
	obj.SetAnnotations(a)
}
func SetMetaDataAnnotation(obj metav1.Object, key, value string) {
	a := obj.GetAnnotations()
	if a == nil {
		a = make(map[string]string)
	}
	a[key] = value
	obj.SetAnnotations(a)
}
func SetMetaDataAnnotation ( obj metav1 . Object , key , value string ) { a := obj . GetAnnotations ( ) if a == nil { a = make ( map [ string ] string ) } a [ key ] = value obj . SetAnnotations ( a ) }
// SetMetaDataAnnotation sets an annotation value
SetMetaDataAnnotation sets an annotation value