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 -
Required Element Summary
Required Elements
-
Element Details
-
value
String valueLocation 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} wherepropertyis 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.
-