- Gitea Actions workflow: build sor-host + sor-admin, push to Harbor, auto-update image tags in k8s manifests (GitOps — ArgoCD watches deploy/k8s/) - Dockerfile.host / Dockerfile.admin: multi-stage .NET 8 builds, non-root runtime - deploy/k8s/: configmap, deployments, services, nginx ingress - hub.aeternalisgames.com → sor-host (WebSocket gateway) - admin.aeternalisgames.com → sor-admin (Blazor admin portal) - hub-tls for hub, cert-manager auto-provisions admin-tls - deploy/secrets/: README + *.yaml.template files to populate (gitignored) - deploy/argo/application.yaml: ArgoCD Application (namespace stone-server) - Root .gitignore: excludes deploy/secrets/*.yaml (never commit populated secrets) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
29 lines
814 B
Plaintext
29 lines
814 B
Plaintext
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: harbor-credentials
|
|
namespace: stone-server
|
|
type: kubernetes.io/dockerconfigjson
|
|
stringData:
|
|
# Base64-encoded Docker config JSON.
|
|
# Easiest way to generate this — run locally then paste the output:
|
|
#
|
|
# kubectl create secret docker-registry harbor-credentials \
|
|
# --docker-server=harbor.aeternalisgames.com \
|
|
# --docker-username=HARBOR_USERNAME \
|
|
# --docker-password=HARBOR_PASSWORD \
|
|
# --namespace=stone-server \
|
|
# --dry-run=client -o yaml
|
|
#
|
|
# TODO: replace with output from the command above.
|
|
.dockerconfigjson: |
|
|
{
|
|
"auths": {
|
|
"harbor.aeternalisgames.com": {
|
|
"username": "CHANGEME",
|
|
"password": "CHANGEME",
|
|
"auth": "CHANGEME_BASE64_OF_USER:PASS"
|
|
}
|
|
}
|
|
}
|