turash/k8s/registry/SETUP_SUMMARY.md
2025-12-24 19:17:14 +01:00

2.6 KiB

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

# Open in browser
open https://registry.bk.glpx.pro

# Or login via CLI
docker login registry.bk.glpx.pro -u admin -p "nVbR0IZv02zdZaM1zqjOz8FVbdzmXlEUaOb59D5Bkz0="

Woodpecker

# 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

# List applications
argocd app list

# Sync application
argocd app sync turash-backend
argocd app sync turash-frontend

Next Steps

  1. Create Harbor Project:

  2. Test Pipeline:

    git push origin master
    
  3. Monitor Deployment:

    # Watch Woodpecker
    woodpecker-cli pipeline logs SamyRai/turash <pipeline-number>
    
    # Watch ArgoCD
    argocd app get turash-backend
    

Verification

Check Harbor

kubectl get pods -n harbor
kubectl get ingress -n harbor
curl -k https://registry.bk.glpx.pro/api/v2.0/health

Check Woodpecker

woodpecker-cli repo registry ls SamyRai/turash
woodpecker-cli repo secret ls SamyRai/turash

Check ArgoCD

kubectl get secret harbor-registry-argocd -n argocd
argocd repo list

Check Kubernetes

kubectl get secret harbor-registry-secret -n turash
kubectl get serviceaccount default -n turash -o yaml | grep imagePullSecrets

Everything is configured and ready! 🚀