Class KubernetesVersionPriority


  • public class KubernetesVersionPriority
    extends Object
    A util class that allows to deal with kubernetes versions.
    • Method Detail

      • highestPriority

        public static String highestPriority​(List<String> versions)
        Returns the version with the highest priority for the given list of versions.
        Parameters:
        versions - the versions to pick the version with the highest priority from
        Returns:
        the version with the highest priority
        See Also:
        CustomResourceDefinitionVersion.getName(), CustomResourceDefinitionSpec.getVersions()