Files
adopt-a-street/deploy/k8s/image-pull-secret.yaml
William Valentin 1375c8d9cf 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>
2025-11-02 01:05:00 -08:00

21 lines
814 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: regcred
namespace: adopt-a-street
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: eyJhdXRocyI6eyJnaXRlYS1odHRwLnRhaWxkYjM0OTQudHMubmV0Ijp7InVzZXJuYW1lIjoid2lsbCIsInBhc3N3b3JkIjoiW1lPVVJfR0lURUFfUEFTU1dPUkRdIiwiYXV0aCI6IltBVVRIX1RPS0VOXSJ9fX0=
---
# IMPORTANT:
# 1. Replace [YOUR_GITEA_PASSWORD] with your actual Gitea password
# 2. Update the base64 encoded .dockerconfigjson with your credentials
# 3. Apply with: kubectl apply -f image-pull-secret.yaml
# 4. To generate the proper config, run:
# kubectl create secret docker-registry regcred \
# --docker-server=gitea-http.taildb3494.ts.net \
# --docker-username=will \
# --docker-password=YOUR_GITEA_PASSWORD \
# --namespace=adopt-a-street \
# --dry-run=client -o yaml