Class OpenshiftConfig


  • @ConfigRoot(phase=BUILD_TIME)
    public class OpenshiftConfig
    extends Object
    • Field Detail

      • buildStrategy

        @ConfigItem(defaultValue="binary")
        public BuildStrategy buildStrategy
        The build config strategy to use.
      • baseJvmImage

        @ConfigItem(defaultValue="registry.access.redhat.com/ubi8/openjdk-11")
        public String baseJvmImage
        The base image to be used when a container image is being produced for the jar build
      • baseNativeImage

        @ConfigItem(defaultValue="quay.io/quarkus/ubi-quarkus-native-binary-s2i:1.0")
        public String baseNativeImage
        The base image to be used when a container image is being produced for the native binary build
      • jvmDockerfile

        @ConfigItem(defaultValue="src/main/docker/Dockerfile.jvm")
        public String jvmDockerfile
        The default Dockerfile to use for jvm builds
      • nativeDockerfile

        @ConfigItem(defaultValue="src/main/docker/Dockerfile.native")
        public String nativeDockerfile
        The default Dockerfile to use for native builds
      • jvmArguments

        @ConfigItem(defaultValue="-Dquarkus.http.host=0.0.0.0,-Djava.util.logging.manager=org.jboss.logmanager.LogManager")
        public List<String> jvmArguments
        Additional JVM arguments to pass to the JVM when starting the application
      • nativeArguments

        @ConfigItem(defaultValue="-Dquarkus.http.host=0.0.0.0")
        public List<String> nativeArguments
        Additional arguments to pass when starting the native application
      • jarDirectory

        @ConfigItem
        public Optional<String> jarDirectory
        The directory where the jar is added during the assemble phase. This is dependent on the S2I image and should be supplied if a non default image is used.
      • jarFileName

        @ConfigItem
        public Optional<String> jarFileName
        The resulting filename of the jar in the S2I image. This option may be used if the selected S2I image uses a fixed name for the jar.
      • nativeBinaryDirectory

        @ConfigItem
        public Optional<String> nativeBinaryDirectory
        The directory where the native binary is added during the assemble phase. This is dependent on the S2I image and should be supplied if a non-default image is used.
      • nativeBinaryFileName

        @ConfigItem
        public Optional<String> nativeBinaryFileName
        The resulting filename of the native binary in the S2I image. This option may be used if the selected S2I image uses a fixed name for the native binary.
      • buildTimeout

        @ConfigItem(defaultValue="PT5M")
        Duration buildTimeout
        The build timeout.
    • Constructor Detail

      • OpenshiftConfig

        public OpenshiftConfig()
    • Method Detail

      • hasDefaultBaseJvmImage

        public boolean hasDefaultBaseJvmImage()
        Check if baseJvmImage is the default
      • hasDefaultBaseNativeImage

        public boolean hasDefaultBaseNativeImage()
        Check if baseNativeImage is the default
      • hasDefaultJvmDockerfile

        public boolean hasDefaultJvmDockerfile()
        Check if jvmDockerfile is the default
      • hasDefaultativeDockerfile

        public boolean hasDefaultativeDockerfile()
        Check if nativeDockerfile is the default