Class SecretsConfigProperties
java.lang.Object
org.springframework.cloud.kubernetes.commons.config.AbstractConfigProperties
org.springframework.cloud.kubernetes.commons.config.SecretsConfigProperties
@ConfigurationProperties("spring.cloud.kubernetes.secrets")
public class SecretsConfigProperties
extends AbstractConfigProperties
Properties for configuring Kubernetes secrets.
- Author:
- l burgazzoli, Haytham Mohamed, Isik Erhan
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.springframework.cloud.kubernetes.commons.config.AbstractConfigProperties
AbstractConfigProperties.RetryProperties -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPrefix for Kubernetes secrets configuration properties.Fields inherited from class org.springframework.cloud.kubernetes.commons.config.AbstractConfigProperties
enabled, failFast, includeProfileSpecificSources, name, namespace, retry, useNameAsPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPaths()booleanvoidsetEnableApi(boolean enableApi) voidvoidvoidsetSources(List<SecretsConfigProperties.Source> sources) Methods inherited from class org.springframework.cloud.kubernetes.commons.config.AbstractConfigProperties
getName, getNamespace, getRetry, isEnabled, isFailFast, isIncludeProfileSpecificSources, isUseNameAsPrefix, setEnabled, setFailFast, setIncludeProfileSpecificSources, setName, setNamespace, setRetry, setUseNameAsPrefix
-
Field Details
-
PREFIX
Prefix for Kubernetes secrets configuration properties.- See Also:
-
-
Constructor Details
-
SecretsConfigProperties
public SecretsConfigProperties()
-
-
Method Details
-
isEnableApi
public boolean isEnableApi() -
setEnableApi
public void setEnableApi(boolean enableApi) -
getLabels
-
setLabels
-
getPaths
-
setPaths
-
getSources
-
setSources
-
getConfigurationTarget
- Specified by:
getConfigurationTargetin classAbstractConfigProperties
-
determineSources
- Returns:
- A list of Source to use. If the user has not specified any Source properties, then a single Source is constructed based on the supplied name and namespace. These are the actual name/namespace pairs that are used to create a SecretsPropertySource
-