# Harbor Registry Setup Summary ✅ ## Status: COMPLETE ### Harbor Registry - ✅ **Deployed**: Running and accessible - ✅ **URL**: https://registry.bk.glpx.pro - ✅ **Database**: Connected to external PostgreSQL (`infra-postgres-rw`) - ✅ **Storage**: Using `longhorn-fast` storage class - ✅ **Admin Credentials**: - Username: `admin` - Password: `nVbR0IZv02zdZaM1zqjOz8FVbdzmXlEUaOb59D5Bkz0=` ### Woodpecker CI/CD - ✅ **Repository Added**: `SamyRai/turash` - ✅ **Registry Configured**: `registry.bk.glpx.pro` - ✅ **Secrets Configured**: `docker_username`, `docker_password` - ✅ **Pipeline Ready**: `.woodpecker.yml` configured ### ArgoCD - ✅ **Repository Connected**: `https://github.com/SamyRai/turash.git` - ✅ **Image Pull Secret**: `harbor-registry-argocd` created - ✅ **Service Accounts Updated**: All ArgoCD components can pull from Harbor ### Kubernetes - ✅ **Namespace**: `turash` created - ✅ **Image Pull Secret**: `harbor-registry-secret` in `turash` namespace - ✅ **Service Account**: Default SA patched with image pull secret - ✅ **Deployments**: Configured to use Harbor images ## Quick Access ### Harbor Web UI ```bash # Open in browser open https://registry.bk.glpx.pro # Or login via CLI docker login registry.bk.glpx.pro -u admin -p "nVbR0IZv02zdZaM1zqjOz8FVbdzmXlEUaOb59D5Bkz0=" ``` ### Woodpecker ```bash # View repository woodpecker-cli repo show SamyRai/turash # List pipelines woodpecker-cli pipeline ls SamyRai/turash # Trigger pipeline woodpecker-cli pipeline start SamyRai/turash ``` ### ArgoCD ```bash # List applications argocd app list # Sync application argocd app sync turash-backend argocd app sync turash-frontend ``` ## Next Steps 1. **Create Harbor Project**: - Login to https://registry.bk.glpx.pro - Create project: `turash` - Set as public 2. **Test Pipeline**: ```bash git push origin master ``` 3. **Monitor Deployment**: ```bash # Watch Woodpecker woodpecker-cli pipeline logs SamyRai/turash # Watch ArgoCD argocd app get turash-backend ``` ## Verification ### Check Harbor ```bash kubectl get pods -n harbor kubectl get ingress -n harbor curl -k https://registry.bk.glpx.pro/api/v2.0/health ``` ### Check Woodpecker ```bash woodpecker-cli repo registry ls SamyRai/turash woodpecker-cli repo secret ls SamyRai/turash ``` ### Check ArgoCD ```bash kubectl get secret harbor-registry-argocd -n argocd argocd repo list ``` ### Check Kubernetes ```bash kubectl get secret harbor-registry-secret -n turash kubectl get serviceaccount default -n turash -o yaml | grep imagePullSecrets ``` **Everything is configured and ready!** 🚀