@Configuration @Import(value=KubernetesAutoConfiguration.class) @EnableConfigurationProperties(value={ConfigMapConfigProperties.class,SecretsConfigProperties.class}) @ConditionalOnProperty(name="spring.cloud.kubernetes.config.enabled", matchIfMissing=true) protected static class BootstrapConfiguration.KubernetesPropertySourceConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
KubernetesPropertySourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
ConfigMapPropertySourceLocator |
configMapPropertySourceLocator(ConfigMapConfigProperties properties) |
SecretsPropertySourceLocator |
secretsPropertySourceLocator(SecretsConfigProperties properties) |
protected KubernetesPropertySourceConfiguration()
@Bean public ConfigMapPropertySourceLocator configMapPropertySourceLocator(ConfigMapConfigProperties properties)
@Bean public SecretsPropertySourceLocator secretsPropertySourceLocator(SecretsConfigProperties properties)
Copyright © 2016 Red Hat. All rights reserved.