This Helm chart will install Harbor (GitHub, CNCF project) and is based from the official Helm chart (docs).
# adds helm chart repository
helm repo add harbor https://helm.goharbor.io
helm repo update
# searches for the latest version
helm search repo -l harbor
# manual: update version number in Chart.yaml
# updates Chart.lock
helm dependency update
# gets ingress controller public IP
NGINX_PUBLIC_IP=`kubectl get service -n ingress-nginx ingress-nginx-controller --output jsonpath='{.status.loadBalancer.ingress[0].ip}'`
# checks the Kubernetes objects generated from the chart
helm template harbor . -f values.yaml \
--namespace supply-chain > temp.yaml
# applies the manifest (add "--debug > output.yaml" in case of issue)
helm upgrade --install harbor . -f values.yaml --create-namespace \
--set harbor.expose.ingress.hosts.core=harbor.${NGINX_PUBLIC_IP}.sslip.io \
--set harbor.expose.ingress.hosts.notary=harbor-notary.${NGINX_PUBLIC_IP}.sslip.io \
--set harbor.externalURL=https://harbor.${NGINX_PUBLIC_IP}.sslip.io \
--namespace supply-chain
# checks everything is ok
kubectl get ingress -lrelease=harbor -n supply-chain
# manual: open https://harbor.${NGINX_PUBLIC_IP}.sslip.io/ (and login with admin/Harbor12345)
# if needed, deletes the chart
helm uninstall harbor -n supply-chain
- checks existings resources
kubectl get all -n supply-chain
kubectl get Issuers,ClusterIssuers,Certificates,CertificateRequests,Orders,Challenges -n supply-chain