harbor: Migrate to kustomize + ArgoCD

Still some stuff missing like proper DragonFly resources
This commit is contained in:
2025-07-12 16:27:17 +03:00
parent 754b2180fd
commit a6439a3bd1
4 changed files with 22 additions and 1327 deletions

View File

@@ -5,12 +5,14 @@ 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
```
# Deployment
With ArgoCD. Render it locally:
helm template -n harbor-operator --release-name harbor harbor/harbor --include-crds -f harbor/values.yaml > harbor/application.yml
kubectl apply -n harbor-operator -f harbor/application.yml -f harbor/application-extras.yml
```sh
kustomize build . --enable-helm
```
After deployment login with Harbor admin credentials and configure OIDC:
After initial deployment login with Harbor admin credentials and configure OIDC:
![OIDC configuration](harbor-oidc-config.png)