All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.kubernetes.service.binding.runtime.KubernetesServiceBindingConfig Maven / Gradle / Ivy

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