code: func CreateOrUpdateAnnotation(createAnnotation bool, obj runtime.Object, codec runtime.Encoder) error {
  	if createAnnotation {
  		return CreateApplyAnnotation(obj, codec)
  	}
  	return UpdateApplyAnnotation(obj, codec)
  }
docs: // CreateOrUpdateAnnotation creates the annotation used by
  // kubectl apply only when createAnnotation is true
  // Otherwise, only update the annotation when it already exists