Class BuildTimeOperatorConfiguration
- java.lang.Object
-
- io.quarkiverse.operatorsdk.runtime.BuildTimeOperatorConfiguration
-
@ConfigRoot(name="operator-sdk", phase=BUILD_AND_RUN_TIME_FIXED) public class BuildTimeOperatorConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<Boolean>checkCRDAndValidateLocalModelDeprecated, for removal: This API element is subject to removal in a future version.UseCRDConfiguration.validateinsteadMap<String,BuildTimeControllerConfiguration>controllersMaps a controller name to its configuration.CRDConfigurationcrdThe optional CRD-related configuration optionsOptional<String>delayRegistrationUntilEventThe optional fully qualified name of a CDI event class that controllers will wait for before registering with the Operator.BooleandisableRbacGenerationWhether Role-Based Access Control (RBAC) resources should be generated in the kubernetes manifests.Optional<Boolean>generationAwareWhether controllers should only process events if the associated resource generation has increased since last reconciliation, otherwise will process all events.BooleanstartOperatorWhether the operator should be automatically started or not.
-
Constructor Summary
Constructors Constructor Description BuildTimeOperatorConfiguration()
-
-
-
Field Detail
-
checkCRDAndValidateLocalModel
@ConfigItem @Deprecated(forRemoval=true) public Optional<Boolean> checkCRDAndValidateLocalModel
Deprecated, for removal: This API element is subject to removal in a future version.UseCRDConfiguration.validateinsteadWhether the operator should check that the CRD is properly deployed and that the associatedCustomResourceimplementation matches its information before registering the associated controller.
-
controllers
@ConfigItem public Map<String,BuildTimeControllerConfiguration> controllers
Maps a controller name to its configuration.
-
crd
@ConfigItem public CRDConfiguration crd
The optional CRD-related configuration options
-
generationAware
@ConfigItem(defaultValue="true") public Optional<Boolean> generationAware
Whether controllers should only process events if the associated resource generation has increased since last reconciliation, otherwise will process all events. Sets the default value for all controllers.
-
delayRegistrationUntilEvent
@ConfigItem public Optional<String> delayRegistrationUntilEvent
The optional fully qualified name of a CDI event class that controllers will wait for before registering with the Operator. Sets the default value for all controllers.
-
disableRbacGeneration
@ConfigItem(defaultValue="false") public Boolean disableRbacGeneration
Whether Role-Based Access Control (RBAC) resources should be generated in the kubernetes manifests.
-
startOperator
@ConfigItem(defaultValue="true") public Boolean startOperator
Whether the operator should be automatically started or not. Mostly useful for testing scenarios.
-
-