Harbor Installation with Helm
helm repo add harbor https://helm.goharbor.io
helm repo update
_HARBOR="reg.dev-t.xyz"
_NOTARY="notary.dev-t.xyz"
cat <<EOF > harbor-values.yaml
externalURL: https://${_HARBOR}
expose:
type: ingress
tls:
enabled: true
ingress:
hosts:
core: ${_HARBOR}
notary: ${_NOTARY}
annotations:
kubernetes.io/ingress.class: "nginx"
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: "letsencrypt-staging"
nginx.ingress.kubernetes.io/ssl-redirect: 'true'
nginx.ingress.kubernetes.io/backend-protocol: 'HTTPS'
EOF
helm install harbor harbor/harbor \
--create-namespace \
--namespace harbor \
-f harbor-values.yaml
Dashboard : https://${_HARBOR}
Notary : https://${_NOTARY}
the default administrator username and password are admin and Harbor12345
helm install harbor harbor/harbor \
--create-namespace \
--namespace harbor \
--set expose.type=nodePort \
--set expose.tls.enabled=false \
--set externalURL="http://$(curl ifconfig.me --silent):30002"
Dashboard : http://{yourIP}:30002
the default administrator username and password are admin and Harbor12345