$: helm repo add harbor https://helm.goharbor.io
$: helm repo update
$: helm install harbor harbor/harbor -f config.yaml # install and configure
$: helm uninstall harbor
https://Kubectl-Server-IP:30003
First time, default:
* username: `admin`
* password: `Harbor12345`
$: bash get-harbor-docker-tls.sh # see Research
$: docker login Kubectl-Server-IP:30003 # ->
# Username: admin
# Password: Harbor12345
# ...
# Login Succeeded
$: docker tag Image-Name:Image-Tag Kubectl-Server-IP:30003/Repository-Name/Image-Name:Image-Tag
$: docker push Kubectl-Server-IP:30003/Repository-Name/Image-Name:Image-Tag
$: docker pull Kubectl-Server-IP:30003/Repository-Name/Image-Name:Image-Tag
$: docker login Kubectl-Server-IP:30003
$: kubectl create secret generic Private-Repo-Secret --from-file=.dockerconfigjson=path/to/.docker/config.json --type=kubernetes.io/dockerconfigjson
# Note: pods can only reference image pull secrets in their own namespace!
# Note: setup Docker TLS certificates
TODO