apiVersion: v1
kind: Secret
metadata:
  name: matrix-synapse
  labels:
    helm.sh/chart: matrix-synapse-3.12.19
    app.kubernetes.io/name: matrix-synapse
    app.kubernetes.io/instance: matrix-synapse
    app.kubernetes.io/version: "1.146.0"
    app.kubernetes.io/managed-by: Helm
stringData:
  config.yaml: "## Registration ##\n\nregistration_shared_secret: \"default\"\n\n## API Configuration ##\n\n## Database configuration ##\n\ndatabase:\n  name: \"psycopg2\"\n  args:\n    user: \"app\"\n    password: \"@@POSTGRES_PASSWORD@@\"\n    database: \"app\"\n    host: \"matrix-synapse-postgresql-18-cluster-rw\"\n    port: 5432\n    sslmode: \"prefer\"\n    cp_min: 5\n    cp_max: 10\n    \n\n## Redis configuration ##\n\nredis:\n  enabled: true\n  host: \"redis-replication-matrix-synapse-master\"\n  port: 6379\n  password: \"@@REDIS_PASSWORD@@\"\n"
