/// <summary>
 /// Determines if a Kubernetes resource has a specific annotation with a value matching one of a set of <paramref name="expectedValues"/>.
 /// </summary>
 public static bool HasAnnotation(this KubeResourceV1 resource, string key, ISet <string> expectedValues)
 => resource.TryGetAnnotation(key, out string value) && expectedValues.Contains(value);
 /// <summary>
 /// Determines if a Kubernetes resource has a specific annotation with a specific value.
 /// </summary>
 public static bool HasAnnotation(this KubeResourceV1 resource, string key, string expectedValue)
 => resource.TryGetAnnotation(key, out string value) && value == expectedValue;