1
0
forked from k-space/kube
kube/harbor/README.md

17 lines
728 B
Markdown
Raw Normal View History

2022-08-16 09:40:54 +00:00
Deploy with:
```
2024-07-28 17:21:48 +00:00
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=...
2024-08-08 09:45:21 +00:00
helm repo add harbor https://helm.goharbor.io
2024-07-28 17:21:48 +00:00
helm template -n harbor-operator --release-name harbor harbor/harbor --include-crds -f harbor/values.yaml > harbor/application.yml
2024-08-08 09:45:21 +00:00
kubectl apply -n harbor-operator -f harbor/application.yml -f harbor/application-extras.yml
2022-08-16 09:40:54 +00:00
```
After deployment login with Harbor admin credentials and configure OIDC:
![OIDC configuration](harbor-oidc-config.png)