Class RegistrySources

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class RegistrySources
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<RegistrySourcesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    RegistrySources holds cluster-wide information about how to handle the registries config.
    See Also:
    Serialized Form
    • Constructor Detail

      • RegistrySources

        public RegistrySources()
        No args constructor for use in serialization
    • Method Detail

      • getAllowedRegistries

        public List<String> getAllowedRegistries()
        allowedRegistries are the only registries permitted for image pull and push actions. All other registries are denied.


        Only one of BlockedRegistries or AllowedRegistries may be set.

      • setAllowedRegistries

        public void setAllowedRegistries​(List<String> allowedRegistries)
        allowedRegistries are the only registries permitted for image pull and push actions. All other registries are denied.


        Only one of BlockedRegistries or AllowedRegistries may be set.

      • getBlockedRegistries

        public List<String> getBlockedRegistries()
        blockedRegistries cannot be used for image pull and push actions. All other registries are permitted.


        Only one of BlockedRegistries or AllowedRegistries may be set.

      • setBlockedRegistries

        public void setBlockedRegistries​(List<String> blockedRegistries)
        blockedRegistries cannot be used for image pull and push actions. All other registries are permitted.


        Only one of BlockedRegistries or AllowedRegistries may be set.

      • getContainerRuntimeSearchRegistries

        public List<String> getContainerRuntimeSearchRegistries()
        containerRuntimeSearchRegistries are registries that will be searched when pulling images that do not have fully qualified domains in their pull specs. Registries will be searched in the order provided in the list. Note: this search list only works with the container runtime, i.e CRI-O. Will NOT work with builds or imagestream imports.
      • setContainerRuntimeSearchRegistries

        public void setContainerRuntimeSearchRegistries​(List<String> containerRuntimeSearchRegistries)
        containerRuntimeSearchRegistries are registries that will be searched when pulling images that do not have fully qualified domains in their pull specs. Registries will be searched in the order provided in the list. Note: this search list only works with the container runtime, i.e CRI-O. Will NOT work with builds or imagestream imports.
      • getInsecureRegistries

        public List<String> getInsecureRegistries()
        insecureRegistries are registries which do not have a valid TLS certificates or only support HTTP connections.
      • setInsecureRegistries

        public void setInsecureRegistries​(List<String> insecureRegistries)
        insecureRegistries are registries which do not have a valid TLS certificates or only support HTTP connections.
      • getAdditionalProperties

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

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

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