From 2dc24967408f351339f817dbf0da0d08e2fe64ae Mon Sep 17 00:00:00 2001 From: JesseBot Date: Sat, 28 Oct 2023 15:01:52 +0200 Subject: [PATCH] fix oidc secret typo in _helpers.tpl (#471) --- charts/matrix/Chart.yaml | 5 +---- charts/matrix/README.md | 3 +-- charts/matrix/templates/_helpers.tpl | 7 +++---- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/charts/matrix/Chart.yaml b/charts/matrix/Chart.yaml index ee591246..81a4123a 100644 --- a/charts/matrix/Chart.yaml +++ b/charts/matrix/Chart.yaml @@ -8,15 +8,12 @@ sources: type: application -version: 4.6.0 +version: 4.6.1 # renovate: image=matrixdotorg/synapse appVersion: v1.95.0 maintainers: - - name: "Arkaniad" - email: "rhea@isomemetric.com" - url: "https://github.com/Arkaniad/" - name: "jessebot" email: "jessebot@linux.com" url: "https://github.com/jessebot/" diff --git a/charts/matrix/README.md b/charts/matrix/README.md index bde9a018..fb6cd081 100644 --- a/charts/matrix/README.md +++ b/charts/matrix/README.md @@ -1,6 +1,6 @@ # matrix -![Version: 4.6.0](https://img.shields.io/badge/Version-4.6.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.95.0](https://img.shields.io/badge/AppVersion-v1.95.0-informational?style=flat-square) +![Version: 4.6.1](https://img.shields.io/badge/Version-4.6.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.95.0](https://img.shields.io/badge/AppVersion-v1.95.0-informational?style=flat-square) A Helm chart to deploy a Matrix homeserver stack into Kubernetes @@ -10,7 +10,6 @@ A Helm chart to deploy a Matrix homeserver stack into Kubernetes | Name | Email | Url | | ---- | ------ | --- | -| Arkaniad | | | | jessebot | | | ## Source Code diff --git a/charts/matrix/templates/_helpers.tpl b/charts/matrix/templates/_helpers.tpl index 2e54a0ba..915d31b2 100644 --- a/charts/matrix/templates/_helpers.tpl +++ b/charts/matrix/templates/_helpers.tpl @@ -1,4 +1,3 @@ -{{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. */}} @@ -159,12 +158,12 @@ Helper function to get the registration secret containing the sharedSecret {{- end }} {{/* -Helper function to get the registration secret containing the sharedSecret +Helper function to get the OIDC secret containing the OIDC client id, client secret, and issuer */}} {{- define "matrix.oidc.secretName" -}} -{{- if .Values.matrix.odic_config.existingSecret -}} +{{- if .Values.matrix.oidc_config.existingSecret -}} {{ .Values.matrix.oidc_config.existingSecret }} -{{- else if .Values.matrix.oidc_config.sharedSecret -}} +{{- else -}} {{ template "matrix.fullname" . }}-oidc-secret {{- end }} {{- end }}