@ConfigurationProperties(value="secrets")
public static class KubernetesConfiguration.KubernetesSecretsConfiguration
extends java.lang.Object
implements io.micronaut.core.util.Toggleable
Constructor and Description |
---|
KubernetesSecretsConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getPaths() |
boolean |
isEnabled() |
boolean |
isUseApi() |
void |
setEnabled(boolean enabled) |
void |
setPaths(java.util.Collection<java.lang.String> paths) |
void |
setUseApi(boolean useApi) |
public boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
public void setEnabled(boolean enabled)
enabled
- enabled flag.public java.util.Collection<java.lang.String> getPaths()
public void setPaths(java.util.Collection<java.lang.String> paths)
paths
- where secrets are mountedpublic boolean isUseApi()
paths
is used.public void setUseApi(boolean useApi)
useApi
- whether to use the API to read secrets when paths
is used.