Files
ess-helm/charts/matrix-stack/source/hookshot.json
T
pawel b3f60262cc feat(synapse): Add support for external Redis configuration
This adds the `synapse.externalRedis` configuration option, allowing users
to connect Synapse workers to managed Redis services (AWS Elasticache,
Azure Cache for Redis, etc.) instead of using the internal Redis deployment.

When `externalRedis` is configured:
- The internal Redis Deployment, Service, ConfigMap, and ServiceAccount
  are automatically skipped
- Synapse's homeserver.yaml is configured with the external Redis host,
  port, and optionally password/TLS settings

This follows the same pattern as `synapse.postgres` for external PostgreSQL.

Configuration options:
- `synapse.externalRedis.host` (required): Redis host address
- `synapse.externalRedis.port` (default: 6379): Redis port
- `synapse.externalRedis.db` (default: 0): Redis database number
- `synapse.externalRedis.password`: Password (inline value or external secret)
- `synapse.externalRedis.tls` (default: false): Enable TLS

Fixes: N/A
2026-03-17 15:47:38 +01:00

116 lines
2.8 KiB
JSON

{
"$id": "file://hookshot",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable Hookshot."
},
"appserviceRegistration": {
"$ref": "file://common/credential.json"
},
"enableEncryption": {
"type": "boolean",
"description": "Experimental: Enable encryption support"
},
"redis": {
"$ref": "file://common/redis.json"
},
"passkey": {
"$ref": "file://common/credential.json"
},
"logging": {
"type": "object",
"properties": {
"level": {
"type": "string",
"description": "The maximum level of hookshot log output before any overrides",
"enum": [
"critical",
"error",
"warning",
"info",
"debug"
]
}
}
},
"user": {
"type": "object",
"properties": {
"localpart": {
"type": "string",
"description": "The localpart to use for the Hookshot user"
}
}
},
"additional": {
"$ref": "file://common/additional.json"
},
"ingress": {
"$ref": "file://common/ingress.json"
},
"image": {
"$ref": "file://common/image.json"
},
"labels": {
"$ref": "file://common/labels.json"
},
"annotations": {
"$ref": "file://common/workloadAnnotations.json"
},
"storage": {
"$ref": "file://common/persistentVolumeClaim.json"
},
"containersSecurityContext": {
"$ref": "file://common/containersSecurityContext.json"
},
"extraEnv": {
"$ref": "file://common/extraEnv.json"
},
"extraVolumes": {
"$ref": "file://common/extraVolumes.json"
},
"extraVolumeMounts": {
"$ref": "file://common/extraVolumeMounts.json"
},
"extraInitContainers": {
"$ref": "file://common/extraInitContainers.json"
},
"hostAliases": {
"$ref": "file://common/hostAliases.json"
},
"nodeSelector": {
"$ref": "file://common/nodeSelector.json"
},
"podSecurityContext": {
"$ref": "file://common/podSecurityContext.json"
},
"resources": {
"$ref": "file://common/resources.json"
},
"serviceAccount": {
"$ref": "file://common/serviceAccount.json"
},
"serviceMonitors": {
"$ref": "file://common/serviceMonitors.json"
},
"tolerations": {
"$ref": "file://common/tolerations.json"
},
"topologySpreadConstraints": {
"$ref": "file://common/topologySpreadConstraints.json"
},
"livenessProbe": {
"$ref": "file://common/probe.json"
},
"readinessProbe": {
"$ref": "file://common/probe.json"
},
"startupProbe": {
"$ref": "file://common/probe.json"
}
}
}