public class KubernetesEnvironmentPropertySource extends MapPropertySource
PropertySource.PropertyConvention
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
The name of this property source.
|
CONTEXT
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
KubernetesEnvironmentPropertySource()
Default constructor.
|
KubernetesEnvironmentPropertySource(java.util.List<java.lang.String> includes,
java.util.List<java.lang.String> excludes)
Allows for control over which environment variables are included.
|
asMap, get, getName, iterator, of, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConvention, mapOf, of, of, of, of
public static final java.lang.String NAME
public KubernetesEnvironmentPropertySource()
public KubernetesEnvironmentPropertySource(@Nullable java.util.List<java.lang.String> includes, @Nullable java.util.List<java.lang.String> excludes)
includes
- The environment variables to include in configurationexcludes
- The environment variables to exclude from configuration