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:
4 files changed
+8
-2
No files matched your search
@@ -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`).
|
- 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 }}`.
|
- 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.
|
- 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`.
|
- 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.
|
- `env` entries in `values.yaml` are rendered through `tpl`, so values may contain Helm templating; `value`, `secretKeyRef` and `configMapKeyRef` forms are supported.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: matrix-synapse
|
name: matrix-synapse
|
||||||
description: A Helm chart to deploy a Matrix Synapse server on Kubernetes
|
description: A Helm chart to deploy a Matrix Synapse server on Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 4.1.1+upv1.159.0
|
version: 4.2.0+upv1.159.0
|
||||||
appVersion: "v1.159.0"
|
appVersion: "v1.159.0"
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: jklein
|
- name: jklein
|
||||||
@@ -20,7 +20,7 @@ spec:
|
|||||||
{{- toYaml .Values.matrix.delegation.securityContext.pod | nindent 8 }}
|
{{- toYaml .Values.matrix.delegation.securityContext.pod | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Release.Name }}-{{ .Chart.Name }}-delegation-nginx
|
- name: {{ .Release.Name }}-{{ .Chart.Name }}-delegation-nginx
|
||||||
image: "nginx:1.28.3"
|
image: "{{ .Values.matrix.delegation.image.repository }}:{{ .Values.matrix.delegation.image.tag }}"
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.matrix.delegation.securityContext.container | nindent 12 }}
|
{{- toYaml .Values.matrix.delegation.securityContext.container | nindent 12 }}
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -17,6 +17,11 @@ matrix:
|
|||||||
replicas: 1
|
replicas: 1
|
||||||
enabled: false
|
enabled: false
|
||||||
serverUrl: null
|
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
|
# The delegation nginx runs as the image's unprivileged nginx user
|
||||||
# (uid 101) and listens on the unprivileged port 8080; pid file and temp
|
# (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.
|
# paths are redirected to the /tmp emptyDir by the mounted nginx.conf.
|
||||||
|
|||||||
Reference in new issue
Block a user