This reverts commit fd13b8a. The registry-host migration broke image pulls for home-services/portfolio (internal CA not trusted by containerd) and has left them Degraded for 11 days; reverting back to gitea.nik4nao.com pending a decision on how to proceed. Not pushed yet. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
12 lines
443 B
Bash
12 lines
443 B
Bash
#!/usr/bin/env bash
|
|
# Usage: bash manifests/home-services/registry-secret.sh
|
|
# Description: Regenerates the gitea-registry-secret from .env
|
|
set -euo pipefail
|
|
|
|
source "$(dirname "$0")/../../.env"
|
|
kubectl create secret docker-registry gitea-registry-secret \
|
|
--namespace=home-services \
|
|
--docker-server=gitea.nik4nao.com \
|
|
--docker-username=nik \
|
|
--docker-password="${REGISTRY_PASSWORD}" \
|
|
--dry-run=client -o yaml | kubectl apply -f - |