Annotation Type FromConfigMap
Injecting resources by reading from ConfigMap.
The annotations has to be be applied to member field of type Map<String, String>.
The content of the map will be automatically updated at the interval specified by the property "kubernetes.manifests.refreshInterval".
If the given configmap, is not present in the cluster, the content of the map will stay empty.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends ConfigMapGetter>
Config map getter class.
-
Element Details
-
-
configMapGetter
Class<? extends ConfigMapGetter> configMapGetterConfig map getter class.- Returns:
- the class
- Default:
- io.kubernetes.client.spring.extended.manifests.configmaps.PollingConfigMapGetter.class
-