Add Docker Hub Proxy Pull Credential to Harbor
I’ve introduced a pull-through cache configuration for Docker Hub in our Harbor registry, so our cluster can now source base images directly from a local Harbor mirror instead of the public internet.
Declare a Docker Hub proxy pull credential
The latest commit (feat(harbor): declare a Docker Hub proxy pull credential) adds a new Harbor resource that defines a Docker Hub pull secret. This allows the Kubernetes nodes to authenticate against a Harbor registry configured as a pull-through cache, ensuring that Docker Hub images are fetched from our internal mirror. The change was isolated to the Harbor-related configuration files, which were withheld from the public summary.
Verify the proxy pull secret is applied correctly
I’ll need to check that the new credential is synced to the cluster and that the Harbor service can successfully pull from Docker Hub using this secret. Once the change is deployed, I’ll inspect the Harbor pods to confirm the registry mirror is active and that image pulls are routed through the local cache.
Cache external base images through Harbor
This setup is useful for any team that needs to control egress traffic or reduce latency when pulling from public registries. By declaring a proxy pull credential in Harbor, you can ensure that all your workloads use a local cache for external images, which improves build times and makes the environment more resilient to network issues.