Class ImageRegistrySpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ImageRegistrySpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ImageRegistrySpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ImageRegistrySpec defines the specs for the running registry.
    See Also:
    Serialized Form
    • Method Detail

      • getAffinity

        public io.fabric8.kubernetes.api.model.Affinity getAffinity()
        ImageRegistrySpec defines the specs for the running registry.
      • setAffinity

        public void setAffinity​(io.fabric8.kubernetes.api.model.Affinity affinity)
        ImageRegistrySpec defines the specs for the running registry.
      • getDefaultRoute

        public Boolean getDefaultRoute()
        defaultRoute indicates whether an external facing route for the registry should be created using the default generated hostname.
      • setDefaultRoute

        public void setDefaultRoute​(Boolean defaultRoute)
        defaultRoute indicates whether an external facing route for the registry should be created using the default generated hostname.
      • getDisableRedirect

        public Boolean getDisableRedirect()
        disableRedirect controls whether to route all data through the Registry, rather than redirecting to the backend.
      • setDisableRedirect

        public void setDisableRedirect​(Boolean disableRedirect)
        disableRedirect controls whether to route all data through the Registry, rather than redirecting to the backend.
      • getHttpSecret

        public String getHttpSecret()
        httpSecret is the value needed by the registry to secure uploads, generated by default.
      • setHttpSecret

        public void setHttpSecret​(String httpSecret)
        httpSecret is the value needed by the registry to secure uploads, generated by default.
      • getLogLevel

        public String getLogLevel()
        logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • setLogLevel

        public void setLogLevel​(String logLevel)
        logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • getLogging

        public Long getLogging()
        logging is deprecated, use logLevel instead.
      • setLogging

        public void setLogging​(Long logging)
        logging is deprecated, use logLevel instead.
      • getManagementState

        public String getManagementState()
        managementState indicates whether and how the operator should manage the component
      • setManagementState

        public void setManagementState​(String managementState)
        managementState indicates whether and how the operator should manage the component
      • getNodeSelector

        public Map<String,​String> getNodeSelector()
        nodeSelector defines the node selection constraints for the registry pod.
      • setNodeSelector

        public void setNodeSelector​(Map<String,​String> nodeSelector)
        nodeSelector defines the node selection constraints for the registry pod.
      • getObservedConfig

        public Object getObservedConfig()
        ImageRegistrySpec defines the specs for the running registry.
      • setObservedConfig

        public void setObservedConfig​(Object observedConfig)
        ImageRegistrySpec defines the specs for the running registry.
      • getOperatorLogLevel

        public String getOperatorLogLevel()
        operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • setOperatorLogLevel

        public void setOperatorLogLevel​(String operatorLogLevel)
        operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • setProxy

        public void setProxy​(ImageRegistryConfigProxy proxy)
        ImageRegistrySpec defines the specs for the running registry.
      • getReadOnly

        public Boolean getReadOnly()
        readOnly indicates whether the registry instance should reject attempts to push new images or delete existing ones.
      • setReadOnly

        public void setReadOnly​(Boolean readOnly)
        readOnly indicates whether the registry instance should reject attempts to push new images or delete existing ones.
      • getReplicas

        public Integer getReplicas()
        replicas determines the number of registry instances to run.
      • setReplicas

        public void setReplicas​(Integer replicas)
        replicas determines the number of registry instances to run.
      • setRequests

        public void setRequests​(ImageRegistryConfigRequests requests)
        ImageRegistrySpec defines the specs for the running registry.
      • getResources

        public io.fabric8.kubernetes.api.model.ResourceRequirements getResources()
        ImageRegistrySpec defines the specs for the running registry.
      • setResources

        public void setResources​(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
        ImageRegistrySpec defines the specs for the running registry.
      • getRolloutStrategy

        public String getRolloutStrategy()
        rolloutStrategy defines rollout strategy for the image registry deployment.
      • setRolloutStrategy

        public void setRolloutStrategy​(String rolloutStrategy)
        rolloutStrategy defines rollout strategy for the image registry deployment.
      • getRoutes

        public List<ImageRegistryConfigRoute> getRoutes()
        routes defines additional external facing routes which should be created for the registry.
      • setRoutes

        public void setRoutes​(List<ImageRegistryConfigRoute> routes)
        routes defines additional external facing routes which should be created for the registry.
      • setStorage

        public void setStorage​(ImageRegistryConfigStorage storage)
        ImageRegistrySpec defines the specs for the running registry.
      • getTolerations

        public List<io.fabric8.kubernetes.api.model.Toleration> getTolerations()
        tolerations defines the tolerations for the registry pod.
      • setTolerations

        public void setTolerations​(List<io.fabric8.kubernetes.api.model.Toleration> tolerations)
        tolerations defines the tolerations for the registry pod.
      • getTopologySpreadConstraints

        public List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> getTopologySpreadConstraints()
        topologySpreadConstraints specify how to spread matching pods among the given topology.
      • setTopologySpreadConstraints

        public void setTopologySpreadConstraints​(List<io.fabric8.kubernetes.api.model.TopologySpreadConstraint> topologySpreadConstraints)
        topologySpreadConstraints specify how to spread matching pods among the given topology.
      • getUnsupportedConfigOverrides

        public Object getUnsupportedConfigOverrides()
        ImageRegistrySpec defines the specs for the running registry.
      • setUnsupportedConfigOverrides

        public void setUnsupportedConfigOverrides​(Object unsupportedConfigOverrides)
        ImageRegistrySpec defines the specs for the running registry.
      • getAdditionalProperties

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

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

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