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
FieldsModifier and TypeFieldDescriptionThe list of profile names for which leader election should be activated.Whether the injected Kubernetes client should be stopped when the operator is stopped.Maps a controller name to its configuration.The optional CRD-related configuration optionsWhether Role-Based Access Control (RBAC) resources generated by the Kubernetes extension should be augmented by this extension.booleanThe optional Server-Side Apply (SSA) related configuration.Whether to fail or emit a debug-level (warning-level when misalignment is at the minor or above version level) log when the extension detects that there are misaligned versions.An optional list of comma-separated watched namespace names that will be used to generate manifests at build time if controllers do NOT specify a value individually.Whether controllers should only process events if the associated resource generation has increased since last reconciliation, otherwise will process all events.Helm Chart related configurations.Whether the operator should be automatically started or not.Whether the operator should stop if an informer error (such as one caused by missing / improper RBACs) occurs during startup. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
controllers
Maps a controller name to its configuration. -
crd
The optional CRD-related configuration options -
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. -
disableRbacGeneration
Whether Role-Based Access Control (RBAC) resources generated by the Kubernetes extension should be augmented by this extension. -
startOperator
Whether the operator should be automatically started or not. Mostly useful for testing scenarios. -
closeClientOnStop
Whether the injected Kubernetes client should be stopped when the operator is stopped. -
stopOnInformerErrorDuringStartup
Whether the operator should stop if an informer error (such as one caused by missing / improper RBACs) occurs during startup. -
failOnVersionCheck
Whether to fail or emit a debug-level (warning-level when misalignment is at the minor or above version level) log when the extension detects that there are misaligned versions. The following versions are checked for alignment:- declared Quarkus version used to build the extension vs. actually used Quarkus version at runtime
- Fabric8 client version used by JOSDK vs. actually used Fabric8 client version
- Fabric8 client version used by Quarkus vs. actually used Fabric8 client version
-
activateLeaderElectionForProfiles
The list of profile names for which leader election should be activated. This is mostly useful for testing scenarios where leader election behavior might lead to issues. -
enableSSA
@ConfigItem(name="enable-ssa", defaultValue="true") public boolean enableSSAThe optional Server-Side Apply (SSA) related configuration. -
generateWithWatchedNamespaces
An optional list of comma-separated watched namespace names that will be used to generate manifests at build time if controllers do NOT specify a value individually. SeeBuildTimeControllerConfiguration.generateWithWatchedNamespacesfor more information. -
helm
Helm Chart related configurations.
-
-
Constructor Details
-
BuildTimeOperatorConfiguration
public BuildTimeOperatorConfiguration()
-
-
Method Details
-
isControllerOwningPrimary
-