infra/k8s/matrix/bridge.yaml

11 lines
259 B
YAML
Raw Normal View History

2024-03-20 02:32:34 +00:00
apiVersion: v1
kind: ConfigMap
metadata:
name: bridge-init
namespace: matrix
data:
initialize-bridge.sh: |
#!/bin/bash
set -euo pipefail
sed "s#AS_TOKEN#${AS_TOKEN}#g" /config/config.yaml | sed "s#HS_TOKEN#${HS_TOKEN}#g" > /data/config.yaml