@Configuration(proxyBeanMethods=false) @ConditionalOnKubernetesEnabled @Import(value={org.springframework.cloud.kubernetes.commons.KubernetesCommonsAutoConfiguration.class,org.springframework.cloud.kubernetes.fabric8.Fabric8AutoConfiguration.class}) @ConditionalOnClass(value={io.fabric8.kubernetes.api.model.ConfigMap.class,io.fabric8.kubernetes.api.model.Secret.class}) @AutoConfigureAfter(value=org.springframework.cloud.kubernetes.commons.config.KubernetesBootstrapConfiguration.class) @ConditionalOnCloudPlatform(value=KUBERNETES) public class Fabric8BootstrapConfiguration extends Object
Constructor and Description |
---|
Fabric8BootstrapConfiguration() |
Modifier and Type | Method and Description |
---|---|
Fabric8ConfigMapPropertySourceLocator |
configMapPropertySourceLocator(org.springframework.cloud.kubernetes.commons.config.ConfigMapConfigProperties properties,
io.fabric8.kubernetes.client.KubernetesClient client,
org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider provider) |
org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider |
provider(org.springframework.core.env.Environment env) |
Fabric8SecretsPropertySourceLocator |
secretsPropertySourceLocator(org.springframework.cloud.kubernetes.commons.config.SecretsConfigProperties properties,
io.fabric8.kubernetes.client.KubernetesClient client,
org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider provider) |
@Bean public org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider provider(org.springframework.core.env.Environment env)
@Bean @ConditionalOnKubernetesConfigEnabled @ConditionalOnKubernetesConfigRetryDisabled public Fabric8ConfigMapPropertySourceLocator configMapPropertySourceLocator(org.springframework.cloud.kubernetes.commons.config.ConfigMapConfigProperties properties, io.fabric8.kubernetes.client.KubernetesClient client, org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider provider)
@Bean @ConditionalOnKubernetesSecretsEnabled @ConditionalOnKubernetesSecretsRetryDisabled public Fabric8SecretsPropertySourceLocator secretsPropertySourceLocator(org.springframework.cloud.kubernetes.commons.config.SecretsConfigProperties properties, io.fabric8.kubernetes.client.KubernetesClient client, org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider provider)
Copyright © 2017–2022 Pivotal Software, Inc.. All rights reserved.