Class BuildInputs

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<BuildInputsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class BuildInputs
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<BuildInputsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    BuildInputs holds all of the information needed to trigger a build
    See Also:
    Serialized Form
    • Method Detail

      • getBaseImagePullSecret

        public ImageSecretObjectReference getBaseImagePullSecret()
        BuildInputs holds all of the information needed to trigger a build
      • setBaseImagePullSecret

        public void setBaseImagePullSecret​(ImageSecretObjectReference baseImagePullSecret)
        BuildInputs holds all of the information needed to trigger a build
      • getBaseOSExtensionsImagePullspec

        public String getBaseOSExtensionsImagePullspec()
        baseOSExtensionsImagePullspec is the base Extensions image used in the build process the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pullspec is: host[:port][/namespace]/name@sha256:<digest>
      • setBaseOSExtensionsImagePullspec

        public void setBaseOSExtensionsImagePullspec​(String baseOSExtensionsImagePullspec)
        baseOSExtensionsImagePullspec is the base Extensions image used in the build process the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pullspec is: host[:port][/namespace]/name@sha256:<digest>
      • getBaseOSImagePullspec

        public String getBaseOSImagePullspec()
        baseOSImagePullspec is the base OSImage we use to build our custom image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pullspec is: host[:port][/namespace]/name@sha256:<digest>
      • setBaseOSImagePullspec

        public void setBaseOSImagePullspec​(String baseOSImagePullspec)
        baseOSImagePullspec is the base OSImage we use to build our custom image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pullspec is: host[:port][/namespace]/name@sha256:<digest>
      • getContainerFile

        public List<MachineOSContainerfile> getContainerFile()
        containerFile describes the custom data the user has specified to build into the image. this is also commonly called a Dockerfile and you can treat it as such. The content is the content of your Dockerfile.
      • setContainerFile

        public void setContainerFile​(List<MachineOSContainerfile> containerFile)
        containerFile describes the custom data the user has specified to build into the image. this is also commonly called a Dockerfile and you can treat it as such. The content is the content of your Dockerfile.
      • getImageBuilder

        public MachineOSImageBuilder getImageBuilder()
        BuildInputs holds all of the information needed to trigger a build
      • setImageBuilder

        public void setImageBuilder​(MachineOSImageBuilder imageBuilder)
        BuildInputs holds all of the information needed to trigger a build
      • getReleaseVersion

        public String getReleaseVersion()
        releaseVersion is associated with the base OS Image. This is the version of Openshift that the Base Image is associated with. This field is populated from the machine-config-osimageurl configmap in the openshift-machine-config-operator namespace. It will come in the format: 4.16.0-0.nightly-2024-04-03-065948 or any valid release. The MachineOSBuilder populates this field and validates that this is a valid stream. This is used as a label in the dockerfile that builds the OS image.
      • setReleaseVersion

        public void setReleaseVersion​(String releaseVersion)
        releaseVersion is associated with the base OS Image. This is the version of Openshift that the Base Image is associated with. This field is populated from the machine-config-osimageurl configmap in the openshift-machine-config-operator namespace. It will come in the format: 4.16.0-0.nightly-2024-04-03-065948 or any valid release. The MachineOSBuilder populates this field and validates that this is a valid stream. This is used as a label in the dockerfile that builds the OS image.
      • getRenderedImagePushSecret

        public ImageSecretObjectReference getRenderedImagePushSecret()
        BuildInputs holds all of the information needed to trigger a build
      • setRenderedImagePushSecret

        public void setRenderedImagePushSecret​(ImageSecretObjectReference renderedImagePushSecret)
        BuildInputs holds all of the information needed to trigger a build
      • getRenderedImagePushspec

        public String getRenderedImagePushspec()
        renderedImagePushspec describes the location of the final image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pushspec is: host[:port][/namespace]/name:<tag> or svc_name.namespace.svc[:port]/repository/name:<tag>
      • setRenderedImagePushspec

        public void setRenderedImagePushspec​(String renderedImagePushspec)
        renderedImagePushspec describes the location of the final image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pushspec is: host[:port][/namespace]/name:<tag> or svc_name.namespace.svc[:port]/repository/name:<tag>
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)