infra/k8s/matrix/bridge.yaml
2024-03-19 19:32:34 -07:00

10 lines
259 B
YAML

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