io.quarkus.kubernetes.service.binding.runtime.KubernetesServiceBindingConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-kubernetes-service-binding Show documentation
Show all versions of quarkus-kubernetes-service-binding Show documentation
Read runtime configuration based on the Kubernetes Service Binding Specification
The newest version!
package io.quarkus.kubernetes.service.binding.runtime;
import java.util.Optional;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
import io.smallrye.config.ConfigMapping;
import io.smallrye.config.WithDefault;
@ConfigMapping(prefix = "quarkus.kubernetes-service-binding")
@ConfigRoot(phase = ConfigPhase.RUN_TIME)
public interface KubernetesServiceBindingConfig {
/**
* If enabled, Service Bindings will be looked in the file system
*/
@WithDefault("true")
boolean enabled();
/**
* The bindings file system root. Specified by the Kubernetes Service ServiceBinding Specification.
*/
@WithDefault("${SERVICE_BINDING_ROOT:}")
Optional root();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy