@Target(value=FIELD) @Retention(value=RUNTIME) public @interface FromConfigMap
The annotations has to be be applied to member field of type Map 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.
| Modifier and Type | Required Element and Description |
|---|---|
String |
name
Name of the configmap
|
String |
namespace
Namespace of the configmap.
|
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends ConfigMapGetter> |
configMapGetter
Config map getter class.
|
public abstract String namespace
public abstract String name
public abstract Class<? extends ConfigMapGetter> configMapGetter
Copyright © 2023. All rights reserved.