Pre-Requisits

Nginx Ingress Controller

export HELM_EXPERIMENTAL_OCI=1
helm install ingress-controller oci://ghcr.io/nginxinc/charts/nginx-ingress --version 0.18.1 


Installation

https://goharbor.io/docs/2.9.0/install-config/harbor-ha-helm/


Pull the helm chart

helm repo add harbor https://helm.goharbor.io
helm fetch harbor/harbor --untar


Add values-local.yaml file for customization

cd harbor
vi values-local.yaml
expose:
  ingress:
    className: nginx

    annotations:
      nginx.org/client-max-body-size: "999m"


Install

	helm upgrade --install -f values-local.yaml harbor .



Add Host Aliases

sudo vi /etc/hosts
127.0.0.1       core.harbor.domain
127.0.0.1       notary.harbor.domain


User Interface

https://core.harbor.domain


Login:

Usernameadmin
PasswordHarbor12345


Test Docker Login

docker login core.harbor.domain
Username: admin
Password: 
Login Succeeded



  • No labels