fix(matrix-synapse): add global (and improve docs)

This commit is contained in:
WrenIX 2025-03-21 23:09:57 +01:00
parent 6f65889391
commit 300933d812
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
4 changed files with 15 additions and 28 deletions

View file

@ -4,7 +4,7 @@ name: matrix-synapse
description: Matrix reference homeserver
icon: https://matrix.org/images/matrix-logo.svg
type: application
version: "1.0.19"
version: "1.0.20"
# renovate: image=ghcr.io/element-hq/synapse
appVersion: 1.126.0
maintainers:

View file

@ -7,7 +7,7 @@ description: "Matrix reference homeserver"
# matrix-synapse
![Version: 1.0.19](https://img.shields.io/badge/Version-1.0.19-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.126.0](https://img.shields.io/badge/AppVersion-1.126.0-informational?style=flat-square)
![Version: 1.0.20](https://img.shields.io/badge/Version-1.0.20-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.126.0](https://img.shields.io/badge/AppVersion-1.126.0-informational?style=flat-square)
Matrix reference homeserver
@ -71,9 +71,10 @@ helm uninstall matrix-synapse-release
| grafana.dashboards.annotations | object | `{}` | |
| grafana.dashboards.enabled | bool | `false` | |
| grafana.dashboards.labels.grafana_dashboard | string | `"1"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.registry | string | `"ghcr.io"` | |
| image.repository | string | `"element-hq/synapse"` | |
| image.pullPolicy | string | `"IfNotPresent"` | This sets the pull policy for images. (could be overwritten by global.image.pullPolicy) |
| image.pullSecrets | list | `[]` | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ |
| image.registry | string | `"ghcr.io"` | image registry (could be overwritten by global.image.registry) |
| image.repository | string | `"element-hq/synapse"` | image repository |
| image.tag | string | `nil` | Overrides the image tag whose default is the chart appVersion. |
| ingress.annotations | object | `{}` | |
| ingress.csHosts | list | `[]` | |

View file

@ -1,16 +0,0 @@
---
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "matrix-synapse.fullname" . }}-test-connection"
labels:
{{- include "matrix-synapse.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "matrix-synapse.fullname" . }}:{{ $.Values.service.port }}/_matrix/client/versions']
restartPolicy: Never

View file

@ -8,17 +8,19 @@ global:
pullPolicy:
image:
# -- image registry (could be overwritten by global.image.registry)
registry: ghcr.io
# -- image repository
repository: element-hq/synapse
# -- This sets the pull policy for images. (could be overwritten by global.image.pullPolicy)
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag:
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# pullSecrets:
# - myRegistryKeySecretName
# -- Optionally specify an array of imagePullSecrets.
# Secrets must be manually created in the namespace.
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
#
pullSecrets: []
# -- Override part of the installed name, will still keep release name.
nameOverride: