Class KubernetesClientSecretsPropertySourceLocator

java.lang.Object
org.springframework.cloud.kubernetes.commons.config.SecretsPropertySourceLocator
org.springframework.cloud.kubernetes.client.config.KubernetesClientSecretsPropertySourceLocator
All Implemented Interfaces:
org.springframework.cloud.bootstrap.config.PropertySourceLocator

@Order(1) public class KubernetesClientSecretsPropertySourceLocator extends org.springframework.cloud.kubernetes.commons.config.SecretsPropertySourceLocator
Author:
Ryan Baxter, Isik Erhan
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.springframework.cloud.kubernetes.commons.config.SourceConfigProperties
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    KubernetesClientSecretsPropertySourceLocator(io.kubernetes.client.openapi.apis.CoreV1Api coreV1Api, org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider kubernetesNamespaceProvider, org.springframework.cloud.kubernetes.commons.config.SecretsConfigProperties secretsConfigProperties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.cloud.kubernetes.commons.config.SecretsPropertySource
    getPropertySource(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.cloud.kubernetes.commons.config.NormalizedSource source, org.springframework.cloud.kubernetes.commons.config.ReadType readType)
     
    org.springframework.core.env.PropertySource<?>
    locate(org.springframework.core.env.Environment environment)
     
    Collection<org.springframework.core.env.PropertySource<?>>
    locateCollection(org.springframework.core.env.Environment arg0)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • properties

      protected final org.springframework.cloud.kubernetes.commons.config.SourceConfigProperties properties
  • Constructor Details

    • KubernetesClientSecretsPropertySourceLocator

      public KubernetesClientSecretsPropertySourceLocator(io.kubernetes.client.openapi.apis.CoreV1Api coreV1Api, org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider kubernetesNamespaceProvider, org.springframework.cloud.kubernetes.commons.config.SecretsConfigProperties secretsConfigProperties)
  • Method Details

    • locate

      public org.springframework.core.env.PropertySource<?> locate(org.springframework.core.env.Environment environment)
      Specified by:
      locate in interface org.springframework.cloud.bootstrap.config.PropertySourceLocator
    • getPropertySource

      protected org.springframework.cloud.kubernetes.commons.config.SecretsPropertySource getPropertySource(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.cloud.kubernetes.commons.config.NormalizedSource source, org.springframework.cloud.kubernetes.commons.config.ReadType readType)
    • locateCollection

      public Collection<org.springframework.core.env.PropertySource<?>> locateCollection(org.springframework.core.env.Environment arg0)
      Specified by:
      locateCollection in interface org.springframework.cloud.bootstrap.config.PropertySourceLocator