fix/update harbor

This commit is contained in:
2024-08-08 12:45:21 +03:00
parent d3eb888d58
commit 9c2b5c39ee
3 changed files with 12 additions and 13 deletions

View File

@@ -5,8 +5,10 @@ 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 repo add harbor https://helm.goharbor.io
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
kubectl apply -n harbor-operator -f harbor/application.yml -f harbor/application-extras.yml
```
After deployment login with Harbor admin credentials and configure OIDC: