# Instalar harbor ## Download Chart Download Harbor helm chart: mkdir $HOME/Harbor cd $HOME/Harbor helm repo add harbor https://helm.goharbor.io helm fetch harbor/harbor --untar ## Configure harbor/values.yaml cd ./harbor vi values.yaml Cambiar estos valores: | Parámetro | Valor | |-----------|-------| | expose.type | nodePort | | expose.tls.enabled | false | | expose.tls.auto.commonName | harbor (no sé si hace algo) | | expose.route.hosts | harbor.reymota.es (quitar los [] y ponerlo en una línea sola con guión delante) | | database.type | external | | database.external.host | "k8s-postgres-cluster-rw.k8s-pg-cluster.svc.cluster.local" | | database.external.port | "5432" | | database.external.username | "creylopez" | | database.external.password | "la contraseña habitual dsa" | | database.external.coreDatabase | "habor" | ## Install ### Create namespace first kubectl create namespace harbor ### Install into namespace helm install harbor ./harbor --namespace harbor