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
- Adds a new `tlsTerminationOnPod` parameter to allow to terminate TLS
upstream
- This defaults to `true` for retro-compatibility with existing
behaviour
- This allows setting `externalTrafficPolicy` for ingress services of
type `NodePort` and `LoadBalancer`
- The default value is configured by the root property
`$.Values.ingress.type`
- Ingresses services now support setting `internalTrafficPolicy`
- It defaults to `Cluster` using the root value
`$.Values.services.internalTrafficPolicy`
- It can be adjusted per-service like service types
- helm lint does not support extra APIs
- we move matrix-rtc-exposed-services-values.yaml to a directory not
verified by ct lint
- We make the dyff able to work with this directory still
- We make manifests test able to work with this directory still
- Use enums for exposedServices port types
- Drop `ClusterIP` for `exposedServices`
- Describe in comments the behaviour when using `HostPort` port type
- We want to make sure that the extra volumes/mounts are coming from the
deployable values
- We inject the deployable name, or the path to its volume values
overrides, in the extra volume name
- Having the name here ensure we have uniquely identified the extra
volumes/mounts and its properly injecting the expected volume
- This allows to mount extra volumes in Synapse pod
- Synapse supports hooks, so it is possible to specify during which
context should a given volume be mounted through `mountContext`