@Configuration(proxyBeanMethods=false) @Import(value=org.springframework.cloud.kubernetes.KubernetesAutoConfiguration.class) @EnableConfigurationProperties(value={ConfigMapConfigProperties.class,SecretsConfigProperties.class}) 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
@ConditionalOnProperty(name="spring.cloud.kubernetes.config.enabled",
matchIfMissing=true)
public ConfigMapPropertySourceLocator configMapPropertySourceLocator(ConfigMapConfigProperties properties)
@Bean
@ConditionalOnProperty(name="spring.cloud.kubernetes.secrets.enabled",
matchIfMissing=true)
public SecretsPropertySourceLocator secretsPropertySourceLocator(SecretsConfigProperties properties)
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.