Merge pull request #41 from jk-cluster/feat/synapse-delegation-nginx-image

Make delegation nginx image configurable in matrix-synapse
This commit is contained in:
jklein authored and GitHub committed 2026-08-22 12:13:20 +00:00
commit 7c24098abc
4 files changed
+8 -2

No files matched your search

+1
View File
@@ -73,6 +73,7 @@ For runtime verification (do the workloads actually start, do probes/security se
- Resources are named `{{ .Release.Name }}-{{ .Chart.Name }}-<kind>`; template files are named `<app>.<kind>.yaml` (StatefulSets use `.sfs.yaml`).
- Image tags come from `{{ .Chart.AppVersion }}`.
- Auxiliary/sidecar images (images other than the app image, currently only the delegation nginx in matrix-synapse) are pinned via values (`<workload>.image.repository` / `<workload>.image.tag`) instead of being hardcoded in templates, and their pinned versions are reviewed alongside every app-version update round.
- Secrets are **1Password `OnePasswordItem` CRs**: values expose `secrets.<name>SecretRef` holding an `op://` item path; the 1Password operator materializes the Kubernetes Secret in-cluster.
- Ingress assumes ingress-nginx (`ingressClassName: nginx`) and cert-manager: `ingress.clusterIssuer` and `ingress.domain` are required values; the TLS secret is named `tls-<release>-<chart>-ingress`.
- `env` entries in `values.yaml` are rendered through `tpl`, so values may contain Helm templating; `value`, `secretKeyRef` and `configMapKeyRef` forms are supported.
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: matrix-synapse
description: A Helm chart to deploy a Matrix Synapse server on Kubernetes
type: application
version: 4.1.1+upv1.159.0
version: 4.2.0+upv1.159.0
appVersion: "v1.159.0"
maintainers:
- name: jklein
@@ -20,7 +20,7 @@ spec:
{{- toYaml .Values.matrix.delegation.securityContext.pod | nindent 8 }}
containers:
- name: {{ .Release.Name }}-{{ .Chart.Name }}-delegation-nginx
image: "nginx:1.28.3"
image: "{{ .Values.matrix.delegation.image.repository }}:{{ .Values.matrix.delegation.image.tag }}"
securityContext:
{{- toYaml .Values.matrix.delegation.securityContext.container | nindent 12 }}
ports:
+5
View File
@@ -17,6 +17,11 @@ matrix:
replicas: 1
enabled: false
serverUrl: null
# Auxiliary image, pinned independently of appVersion (which tracks
# Synapse). Reviewed alongside every app-version update round.
image:
repository: nginx
tag: 1.30.4
# The delegation nginx runs as the image's unprivileged nginx user
# (uid 101) and listens on the unprivileged port 8080; pid file and temp
# paths are redirected to the /tmp emptyDir by the mounted nginx.conf.