Class CRDConfiguration


  • public class CRDConfiguration
    extends Object
    • Field Detail

      • validate

        @ConfigItem(defaultValue="true")
        public Boolean validate
        Whether the operator should check that the CRD is properly deployed and that the associated CustomResource implementation matches its information before registering the associated controller.
      • generate

        @ConfigItem
        public Optional<Boolean> generate
        Whether the extension should automatically generate the CRD based on CustomResource implementations.
      • apply

        @ConfigItem
        public Optional<Boolean> apply
        Whether the extension should automatically apply updated CRDs when they change. When running on DEV mode, the CRD changes will always be applied automatically.
      • versions

        @ConfigItem(defaultValue="v1")
        public List<String> versions
        Comma-separated list of which CRD versions should be generated.
      • outputDirectory

        @ConfigItem(defaultValue="kubernetes")
        public String outputDirectory
        The directory where the CRDs will be generated, relative to the project's output directory.
      • generateAll

        @ConfigItem(defaultValue="false")
        public Boolean generateAll
        Whether the extension should generate all CRDs even if some are not tied to a Reconciler.
      • generateInParallel

        @ConfigItem(defaultValue="false")
        public Boolean generateInParallel
        Whether the CRDs should be generated in parallel. Please note that this feature is experimental and it may lead to unexpected results.
    • Constructor Detail

      • CRDConfiguration

        public CRDConfiguration()