This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Kubectl
Update the annotations on one or more resources
All Kubectl objects support the ability to store additional data with the object as annotations. Annotations are key/value pairs that can be larger than labels and include arbitrary string values such as structured JSON. Tools and system extensions may use annotations to store their own data.
Attempting to set an annotation that already exists will fail unless --overwrite is set. If --resource-version is specified and does not match the current resource version on the server the command will fail.
public static void KubectlAnnotate(this ICakeContext context, KubectlAnnotateSettings settings)