1
0
forked from k-space/kube
kube/harbor/README.md
2024-08-08 12:45:57 +03:00

728 B

Deploy with:

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-operator -f harbor/application.yml -f harbor/application-extras.yml

After deployment login with Harbor admin credentials and configure OIDC:

OIDC configuration