Annotation Type KubernetesResource


@Retention(RUNTIME) @Target({TYPE,ANNOTATION_TYPE,METHOD}) @Repeatable(List.class) public @interface KubernetesResource
Annotation to be used to populate Kubernetes resources into the cluster.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Location of Kubernetes Resource file.
  • Element Details

    • value

      String value
      Location of Kubernetes Resource file. If it starts with http(s) or file the value is treated as URL. If location is prefixed with classpath, then the resource is considered to be located at classpath. If it is not prefixed, then the resource is considered to be the content text. This String also supports expressions like ${property:defaultValue} where property is resolved against system property, if not set then environment variable, and if not set the default value (if specified) is returned.
      Returns:
      Kubernetes Resource location.