fix and update harbor install

This commit is contained in:
2024-07-28 20:21:48 +03:00
parent 0c38d2369b
commit 249ad2e9ed
4 changed files with 761 additions and 457 deletions

View File

@@ -1,8 +1,12 @@
Deploy with:
```
kubectl create namespace harbor
kubectl apply -n harbor -f application.yml -f application-secrets.yml
kubectl create namespace harbor-operator
kubectl -n harbor-operator create secret generic harbor-minio-credentials --from-literal REGISTRY_STORAGE_S3_ACCESSKEY=...--from-literal=REGISTRY_STORAGE_S3_SECRETKEY=...
kubectl -n harbor-operator create secret generic harbor-postgres-password --from-literal password=...
helm template -n harbor-operator --release-name harbor harbor/harbor --include-crds -f harbor/values.yaml > harbor/application.yml
kubectl apply -n harbor -f application.yml -f application-extras.yml
```
After deployment login with Harbor admin credentials and configure OIDC: