Skip to content

Commit 8bbc26c

Browse files
authored
Merge pull request #564 from element-hq/bbz/mas-0.17.0
MAS 0.17.1
2 parents 5eecddb + 6c65ebb commit 8bbc26c

5 files changed

Lines changed: 22 additions & 21 deletions

File tree

charts/matrix-stack/configs/matrix-authentication-service/config.yaml.tpl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,16 @@ clients:
8383
{{- end }}
8484

8585
secrets:
86-
encryption: ${ENCRYPTION_SECRET}
87-
86+
encryption_file: /secrets/{{
87+
include "element-io.ess-library.init-secret-path" (
88+
dict "root" $root
89+
"context" (dict
90+
"secretPath" "matrixAuthenticationService.encryptionSecret"
91+
"initSecretKey" "MAS_ENCRYPTION_SECRET"
92+
"defaultSecretName" (include "element-io.matrix-authentication-service.secret-name" (dict "root" $root "context" .))
93+
"defaultSecretKey" "ENCRYPTION_SECRET"
94+
)
95+
) }}
8896
keys:
8997
{{- with required "privateKeys is required for Matrix Authentication Service" .privateKeys }}
9098
- kid: rsa

charts/matrix-stack/source/matrixAuthenticationService.yaml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
66

77
{% import "common/sub_schema_values.yaml.j2" as sub_schema_values %}
88
enabled: true
9-
{{- sub_schema_values.image(registry='ghcr.io', repository='element-hq/matrix-authentication-service', tag='0.16.0') }}
9+
{{- sub_schema_values.image(registry='ghcr.io', repository='element-hq/matrix-authentication-service', tag='0.17.1') }}
1010

1111
replicas: 1
1212

@@ -60,7 +60,7 @@ syn2mas:
6060
enabled: false
6161

6262
# Syn2Mas relies on the debug image to copy mas-cli to the matrix-tools container
63-
{{- sub_schema_values.image(registry='ghcr.io', repository='element-hq/matrix-authentication-service', tag='0.16.0-debug') | indent(2) }}
63+
{{- sub_schema_values.image(registry='ghcr.io', repository='element-hq/matrix-authentication-service', tag='0.17.1-debug') | indent(2) }}
6464
{{- sub_schema_values.labels() | indent(2) -}}
6565
{{- sub_schema_values.workloadAnnotations() | indent(2) -}}
6666
{{- sub_schema_values.containersSecurityContext() | indent(2) -}}

charts/matrix-stack/templates/matrix-authentication-service/_helpers.tpl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,6 @@ env:
128128
)
129129
)
130130
}}
131-
- name: ENCRYPTION_SECRET
132-
value: >-
133-
{{
134-
printf "{{ readfile \"/secrets/%s\" | quote }}" (
135-
include "element-io.ess-library.init-secret-path" (
136-
dict "root" $root
137-
"context" (dict
138-
"secretPath" "matrixAuthenticationService.encryptionSecret"
139-
"initSecretKey" "MAS_ENCRYPTION_SECRET"
140-
"defaultSecretName" (include "element-io.matrix-authentication-service.secret-name" (dict "root" $root "context" .))
141-
"defaultSecretKey" "ENCRYPTION_SECRET"
142-
)
143-
)
144-
)
145-
}}
146131
{{- /*
147132
This is the secrets shared between Synapse & MAS
148133
*/ -}}

charts/matrix-stack/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ matrixAuthenticationService:
13561356

13571357
## The tag of the container image to use.
13581358
## One of tag or digest must be provided.
1359-
tag: "0.16.0"
1359+
tag: "0.17.1"
13601360

13611361
## Container digest to use. Used to pull the image instead of the image tag if set
13621362
## The tag will still be set as the app.kubernetes.io/version label
@@ -1775,7 +1775,7 @@ matrixAuthenticationService:
17751775

17761776
## The tag of the container image to use.
17771777
## One of tag or digest must be provided.
1778-
tag: "0.16.0-debug"
1778+
tag: "0.17.1-debug"
17791779

17801780
## Container digest to use. Used to pull the image instead of the image tag if set
17811781
## The tag will still be set as the app.kubernetes.io/version label

newsfragments/564.changed.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Upgrade Matrix Authentication Service to v0.17.1.
2+
3+
Highlights:
4+
* Support Registration Tokens
5+
6+
Full changelog:
7+
* [v0.17.0](https://github.com/element-hq/matrix-authentication-service/releases/tag/v0.17.0)
8+
* [v0.17.1](https://github.com/element-hq/matrix-authentication-service/releases/tag/v0.17.1)

0 commit comments

Comments
 (0)