|
|
1 сар өмнө | |
|---|---|---|
| harbor | 1 сар өмнө | |
| README.md | 1 сар өмнө | |
| harbor-db.yaml | 1 сар өмнө |
Download Harbor helm chart:
mkdir $HOME/Harbor
cd $HOME/Harbor
helm repo add harbor https://helm.goharbor.io
helm fetch harbor/harbor --untar
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" |
kubectl create namespace harbor
helm install harbor ./harbor --namespace harbor