Skip to content

Commit

Permalink
fix oidc secret typo in _helpers.tpl (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebot authored Oct 28, 2023
1 parent 2984270 commit 2dc2496
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
5 changes: 1 addition & 4 deletions charts/matrix/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: "[email protected]"
url: "https://github.com/Arkaniad/"
- name: "jessebot"
email: "[email protected]"
url: "https://github.com/jessebot/"
Expand Down
3 changes: 1 addition & 2 deletions charts/matrix/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -10,7 +10,6 @@ A Helm chart to deploy a Matrix homeserver stack into Kubernetes

| Name | Email | Url |
| ---- | ------ | --- |
| Arkaniad | <[email protected]> | <https://github.com/Arkaniad/> |
| jessebot | <[email protected]> | <https://github.com/jessebot/> |

## Source Code
Expand Down
7 changes: 3 additions & 4 deletions charts/matrix/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
Expand Down Expand Up @@ -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 }}

0 comments on commit 2dc2496

Please sign in to comment.