Using Private Images
You can get the harbor secret (for accessing private images) using kubernetes-replicator. The harbor secret is already annotated with:
metadata:
annotations:
replicator.v1.mittwald.de/replicate-to-matching: registry=harbor
So if you want to have the secret in a specific namespace to be able to pull private images fomr Harbor, then label it with registry=harbor with:
kubectl label namespace <namespace> registry=harbor