Class ConfigMapBuildSource

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ConfigMapBuildSource
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ConfigMapBuildSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ConfigMapBuildSource describes a configmap and its destination directory that will be used only at the build time. The content of the configmap referenced here will be copied into the destination directory instead of mounting.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConfigMapBuildSource

        public ConfigMapBuildSource()
        No args constructor for use in serialization
      • ConfigMapBuildSource

        public ConfigMapBuildSource​(io.fabric8.kubernetes.api.model.LocalObjectReference configMap,
                                    String destinationDir)
    • Method Detail

      • getConfigMap

        public io.fabric8.kubernetes.api.model.LocalObjectReference getConfigMap()
        ConfigMapBuildSource describes a configmap and its destination directory that will be used only at the build time. The content of the configmap referenced here will be copied into the destination directory instead of mounting.
      • setConfigMap

        public void setConfigMap​(io.fabric8.kubernetes.api.model.LocalObjectReference configMap)
        ConfigMapBuildSource describes a configmap and its destination directory that will be used only at the build time. The content of the configmap referenced here will be copied into the destination directory instead of mounting.
      • getDestinationDir

        public String getDestinationDir()
        destinationDir is the directory where the files from the configmap should be available for the build time. For the Source build strategy, these will be injected into a container where the assemble script runs. For the container image build strategy, these will be copied into the build directory, where the Dockerfile is located, so users can ADD or COPY them during container image build.
      • setDestinationDir

        public void setDestinationDir​(String destinationDir)
        destinationDir is the directory where the files from the configmap should be available for the build time. For the Source build strategy, these will be injected into a container where the assemble script runs. For the container image build strategy, these will be copied into the build directory, where the Dockerfile is located, so users can ADD or COPY them during container image build.
      • getAdditionalProperties

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

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

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