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(defaultValue="true")
        public Boolean generate
        Whether the extension should automatically generate the CRD based on CustomResource implementations.
      • apply

        @ConfigItem(defaultValue="false")
        public Boolean apply
        Whether the extension should automatically apply updated CRDs when they change.
      • 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.
    • Constructor Detail

      • CRDConfiguration

        public CRDConfiguration()