Some checks failed
validate / lint (push) Failing after 1s
Same pattern as portfolio: Namespace, Deployment (pulls gitea.nik4nao.com/nik/me.nik4nao.com:latest), Service, Let's Encrypt Certificate, and Traefik IngressRoute for me.nik4nao.com, reconciled by a new Argo CD Application. Includes the per-namespace registry pull-secret script (run manually against the live cluster, not committed as plaintext). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019KS514CDC88M4wDwMLnS7u
14 lines
540 B
Bash
14 lines
540 B
Bash
#!/usr/bin/env bash
|
|
# Usage: bash manifests/me-nik4nao-com/registry-secret.sh
|
|
# Description: Creates the Gitea container registry pull secret for the me-nik4nao-com namespace
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
source "$SCRIPT_DIR/../../.env"
|
|
|
|
kubectl create secret docker-registry gitea-registry \
|
|
--namespace me-nik4nao-com \
|
|
--docker-server="$REGISTRY_SERVER" \
|
|
--docker-username="$REGISTRY_USER" \
|
|
--docker-password="$REGISTRY_PASSWORD" \
|
|
--dry-run=client -o yaml | kubectl apply -f - |