Files
issue-core/k8s/railiance/configmap-backends.yaml

25 lines
747 B
YAML

# Non-secret backend structure for issue-core inside railiance01.
# Default backend = cluster Gitea (markitect). The Gitea token is NOT here;
# it is injected at startup from GITEA_BACKEND_TOKEN (ExternalSecret) where the
# template carries the sentinel "__FROM_ENV__".
apiVersion: v1
kind: ConfigMap
metadata:
name: issue-core-backends
namespace: issue-core
labels:
app.kubernetes.io/name: issue-core
app.kubernetes.io/part-of: railiance-gitops
data:
backends.json: |
{
"markitect": {
"type": "gitea",
"base_url": "http://gitea-http.default.svc.cluster.local:3000",
"owner": "coulomb",
"repo": "markitect-main",
"token": "__FROM_ENV__"
},
"default": "markitect"
}