- Remove namespace: adopt-a-street from all metadata sections - Update CouchDB NODENAME to use namespace-agnostic format - Make all manifests deployable to any namespace - Maintain service names and selectors for functionality - All manifests validated with kubectl dry-run Now manifests can be deployed to any namespace using: kubectl apply -n <namespace> -f deploy/k8s/ 🤖 Generated with [AI Assistant] Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
20 lines
786 B
YAML
20 lines
786 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: regcred
|
|
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 |