Class BuildTimeOperatorConfiguration


  • @ConfigRoot(name="operator-sdk",
                phase=BUILD_AND_RUN_TIME_FIXED)
    public class BuildTimeOperatorConfiguration
    extends Object
    • Field Detail

      • 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.
      • disableRbacGeneration

        @ConfigItem(defaultValue="false")
        public Boolean disableRbacGeneration
        Whether Role-Based Access Control (RBAC) resources should be generated in the kubernetes manifests.
      • startOperator

        @ConfigItem
        public Optional<Boolean> startOperator
        Whether the operator should be automatically started or not. Mostly useful for testing scenarios.
      • closeClientOnStop

        @ConfigItem(defaultValue="true")
        public Boolean closeClientOnStop
        Whether the injected Kubernetes client should be stopped when the operator is stopped.
      • stopOnInformerErrorDuringStartup

        @ConfigItem(defaultValue="true")
        public Boolean stopOnInformerErrorDuringStartup
        Whether the operator should stop if an informer error (such as one caused by missing / improper RBACs) occurs during startup.
    • Constructor Detail

      • BuildTimeOperatorConfiguration

        public BuildTimeOperatorConfiguration()