Skip to content

Commit

Permalink
remove defunct user mapping module for oidc and bump postgresql chart (
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebot authored Nov 9, 2023
1 parent c7af599 commit 7bbd9f8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 22 deletions.
6 changes: 3 additions & 3 deletions charts/matrix/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: 13.2.2
version: 13.2.3
- name: coturn
repository: https://jessebot.github.io/coturn-chart
version: 4.3.0
digest: sha256:27695bc13a4b7692aaf6b4e4860217ab67155d36fb25521c2f31a60bbec5fd4e
generated: "2023-11-08T10:07:36.211880254Z"
digest: sha256:4ab00493024b382b64e603e94d5cf2530a57f0df2f5c30b3da19cb44a980825e
generated: "2023-11-09T09:27:00.368394588+01:00"
4 changes: 2 additions & 2 deletions charts/matrix/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sources:

type: application

version: 6.0.0
version: 6.1.0

# renovate: image=matrixdotorg/synapse
appVersion: v1.95.1
Expand All @@ -20,7 +20,7 @@ maintainers:

dependencies:
- name: postgresql
version: 13.2.2
version: 13.2.3
repository: oci://registry-1.docker.io/bitnamicharts
condition: postgresql.enabled

Expand Down
5 changes: 2 additions & 3 deletions charts/matrix/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# matrix

![Version: 6.0.0](https://img.shields.io/badge/Version-6.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.95.1](https://img.shields.io/badge/AppVersion-v1.95.1-informational?style=flat-square)
![Version: 6.1.0](https://img.shields.io/badge/Version-6.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.95.1](https://img.shields.io/badge/AppVersion-v1.95.1-informational?style=flat-square)

A Helm chart to deploy a Matrix homeserver stack on Kubernetes

Expand All @@ -21,7 +21,7 @@ A Helm chart to deploy a Matrix homeserver stack on Kubernetes
| Repository | Name | Version |
|------------|------|---------|
| https://jessebot.github.io/coturn-chart | coturn | 4.3.0 |
| oci://registry-1.docker.io/bitnamicharts | postgresql | 13.2.2 |
| oci://registry-1.docker.io/bitnamicharts | postgresql | 13.2.3 |

## Values

Expand Down Expand Up @@ -263,7 +263,6 @@ A Helm chart to deploy a Matrix homeserver stack on Kubernetes
| matrix.oidc.providers[0].issuer | string | `"https://accounts.example.com/"` | OIDC issuer. Used to validate tokens and (if discovery is enabled) to discover the provider's endpoints. Required if 'enabled' is true. |
| matrix.oidc.providers[0].scopes | list | `["openid","profile"]` | list of scopes to request. should normally include the "openid" scope. Defaults to ["openid"]. |
| matrix.oidc.providers[0].token_endpoint | string | `"https://accounts.example.com/oauth2/token"` | the oauth2 token endpoint. Required if provider discovery is disabled. |
| matrix.oidc.providers[0].user_mapping_provider.config | object | `{"display_name_template":"","localpart_template":"","picture_template":"{{ user.data.profile_image_url }}","subject_claim":""}` | The custom module's class. Uncomment to use a custom module. Default is 'synapse.handlers.oidc_handler.JinjaOidcMappingProvider'. github.com/matrix-org/synapse/blob/master/docs/sso_mapping_providers.md#openid-mapping-providers for information on implementing a custom mapping provider. example: module: mapping_provider.OidcMappingProvider Custom configuration values for the module. This section will be passed as a Python dictionary to the user mapping provider module's `parse_config` method. The examples below are intended for the default provider: they should be changed if using a custom provider. |
| matrix.oidc.providers[0].user_mapping_provider.config.subject_claim | string | `""` | name of the claim containing a unique identifier for user. Defaults to `sub`, which OpenID Connect compliant providers should provide. |
| matrix.oidc.providers[0].userinfo_endpoint | string | `"https://accounts.example.com/userinfo"` | the OIDC userinfo endpoint. Required if discovery is disabled and the "openid" scope is not requested. |
| matrix.oidc.secretKeys.authorization_endpoint | string | `""` | key in secret with the authorization_endpoint if discovery is disabled |
Expand Down
Binary file removed charts/matrix/charts/postgresql-13.1.5.tgz
Binary file not shown.
Binary file added charts/matrix/charts/postgresql-13.2.3.tgz
Binary file not shown.
3 changes: 0 additions & 3 deletions charts/matrix/templates/synapse/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,6 @@ spec:
command:
- |
pip install synapse-s3-storage-provider
{{- if .Values.matrix.oidc_config.user_mapping_provider.module }}
pip install {{ .Values.matrix.oidc_config.user_mapping_provider.module }}
{{- end }}
{{- end }}
env:
{{- if .Values.synapse.securityContext.env }}
Expand Down
11 changes: 0 additions & 11 deletions charts/matrix/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,17 +187,6 @@ matrix:
# An external module can be provided here as a custom solution to mapping
# attributes returned from a OIDC provider onto a matrix user.
user_mapping_provider:
# -- The custom module's class. Uncomment to use a custom module.
# Default is 'synapse.handlers.oidc_handler.JinjaOidcMappingProvider'.
#
# github.com/matrix-org/synapse/blob/master/docs/sso_mapping_providers.md#openid-mapping-providers
# for information on implementing a custom mapping provider. example:
# module: mapping_provider.OidcMappingProvider
# Custom configuration values for the module. This section will be passed as
# a Python dictionary to the user mapping provider module's `parse_config`
# method.
# The examples below are intended for the default provider: they should be
# changed if using a custom provider.
config:
# -- name of the claim containing a unique identifier for user. Defaults
# to `sub`, which OpenID Connect compliant providers should provide.
Expand Down

0 comments on commit 7bbd9f8

Please sign in to comment.