-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add optional oidc support for synapse, the matrix homeserver; update …
…the irc bridge image tag to `1.0.1` (#21) * add optional oidc support for synapse * bump irc bridge to * Update charts/matrix/templates/synapse/oidc_config.yaml * Rename oidc_config.yaml to oidc-config-secret.yaml
- Loading branch information
Showing
8 changed files
with
223 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ sources: | |
|
||
type: application | ||
|
||
version: 4.1.3 | ||
version: 4.2.0 | ||
appVersion: v1.88.0 | ||
|
||
maintainers: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{{/* | ||
if matrix.oidc_config.enabled is true, and matrix.oidc_config.existingSecret is not passed in, | ||
then we create a secret to store the credentials without it being in a configmap in plaintext. | ||
*/}} | ||
{{- if and .Values.matrix.oidc_config.enabled (not .Values.matrix.oidc_config.existingSecret) }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ template "matrix.fullname" . }}-oidc-secret | ||
labels: | ||
app.kubernetes.io/name: {{ include "matrix.name" . }} | ||
helm.sh/chart: {{ include "matrix.chart" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
type: Opaque | ||
data: | ||
issuer: {{ .Values.matrix.oidc_config.issuer | b64enc | quote }} | ||
client_id: {{ .Values.matrix.oidc_config.client_id | b64enc | quote }} | ||
client_secret: {{ .Values.matrix.oidc_config.client_secret | b64enc | quote }} | ||
{{- if not .Values.matrix.oidc_config.discover }} | ||
authorization_endpoint: {{ .Values.matrix.oidc_config.authorization_endpoint | b64enc | quote }} | ||
token_endpoint: {{ .Values.matrix.oidc_config.token_endpoint | b64enc | quote }} | ||
userinfo_endpoint: {{ .Values.matrix.oidc_config.userinfo_endpoint | b64enc | quote }} | ||
{{- if eq .Values.matrix.oidc_config.scopes "openid" }} | ||
jwks_uri: {{ .Values.matrix.oidc_config.jwks_uri | b64enc | quote }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
Oops, something went wrong.