@Configuration(proxyBeanMethods=false)
@Import(value={org.springframework.cloud.kubernetes.commons.KubernetesCommonsAutoConfiguration.class,org.springframework.cloud.kubernetes.fabric8.Fabric8AutoConfiguration.class})
protected static class Fabric8BootstrapConfiguration.KubernetesPropertySourceConfiguration
extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
KubernetesPropertySourceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Fabric8ConfigMapPropertySourceLocator |
configMapPropertySourceLocator(org.springframework.cloud.kubernetes.commons.config.ConfigMapConfigProperties properties) |
Fabric8SecretsPropertySourceLocator |
secretsPropertySourceLocator(org.springframework.cloud.kubernetes.commons.config.SecretsConfigProperties properties) |
protected KubernetesPropertySourceConfiguration()
@Bean
@ConditionalOnProperty(name="spring.cloud.kubernetes.config.enabled",
matchIfMissing=true)
public Fabric8ConfigMapPropertySourceLocator configMapPropertySourceLocator(org.springframework.cloud.kubernetes.commons.config.ConfigMapConfigProperties properties)
@Bean
@ConditionalOnProperty(name="spring.cloud.kubernetes.secrets.enabled",
matchIfMissing=true)
public Fabric8SecretsPropertySourceLocator secretsPropertySourceLocator(org.springframework.cloud.kubernetes.commons.config.SecretsConfigProperties properties)
Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.