You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

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:
      # note different ingress controllers may require a different ssl-redirect annotation
      # for Envoy, use ingress.kubernetes.io/force-ssl-redirect: "true" and remove the nginx lines below
      ingress.kubernetes.io/ssl-redirect: "true"
      ingress.kubernetes.io/proxy-body-size: "8m"
      nginx.ingress.kubernetes.io/ssl-redirect: "true"
      nginx.ingress.kubernetes.io/proxy-body-size: "8m"


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