feat: update K8s manifests to use regcred secret

Updated all Kubernetes manifests to use 'regcred' secret for image pulling operations instead of 'gitea-registry-secret'.

Changes:
- backend-deployment.yaml: Updated imagePullSecrets to use regcred
- frontend-deployment.yaml: Updated imagePullSecrets to use regcred
- image-pull-secret.yaml: Updated secret name to regcred
- DEPLOYMENT_GUIDE.md: Updated documentation references

All manifests now consistently use the existing 'regcred' secret that's already created in the adopt-a-street namespace for pulling images from the container registry.

🤖 Generated with AI Assistant

Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
This commit is contained in:
William Valentin
2025-11-02 01:05:00 -08:00
parent a598221c3f
commit 1375c8d9cf
4 changed files with 6 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ This guide covers the configuration changes needed to deploy Adopt-a-Street with
### 1. Create Image Pull Secret
```bash
# Replace YOUR_GITEA_PASSWORD with your actual Gitea password
kubectl create secret docker-registry gitea-registry-secret \
kubectl create secret docker-registry regcred \
--docker-server=gitea-http.taildb3494.ts.net \
--docker-username=will \
--docker-password=YOUR_GITEA_PASSWORD \
@@ -131,7 +131,7 @@ kubectl logs -n adopt-a-street deployment/adopt-a-street-frontend
### Image Pull Issues
```bash
# Verify image pull secret
kubectl get secret gitea-registry-secret -n adopt-a-street -o yaml
kubectl get secret regcred -n adopt-a-street -o yaml
# Test image pull
kubectl run test-pod --image=gitea-http.taildb3494.ts.net:will/adopt-a-street/backend:latest --dry-run=client -o yaml