Class KubernetesResourceAwareNames


  • public class KubernetesResourceAwareNames
    extends java.lang.Object
    the Names class is used for deconstructing information about AWS Auto Scaling Groups, Load Balancers, Launch Configurations, and Security Groups created by Asgard based on their name.

    While the above class is mainly used for AWS, it works for most of the Kubernetes resources as well, since Kubernetes resources follow a similar naming convention. But there are certain Kubernetes resources which are reserved for Kubernetes system use that have the prefix "system:". See Referring to subjects for more details.

    One such use of these resources is in KubernetesKind.CLUSTER_ROLE kind, which you can attempt to patch via Spinnaker. Because the Names class cannot parse this name, Spinnaker fails to return the manifest. This class is used to handle such resources in addition to all the other resources.

    • Constructor Detail

      • KubernetesResourceAwareNames

        public KubernetesResourceAwareNames​(java.lang.String cluster,
                                            java.lang.String application,
                                            java.lang.Integer sequence)