Trusted registries and allowed hosts
Trusted registries define which container registries clusters can use to pull images, while allowed hosts define which network endpoints can reach the cluster.
Trusted registries and allowed hosts serve different purposes. Allowed hosts define which network endpoints can communicate with the Kubernetes API or services. Trusted registries define which container registries clusters can use to pull images.
You can add public registries, but consider the security implications first. The feature is designed mainly for internal or self-hosted registries that use self-signed certificates.
