Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 71e4bf3

Browse files
authored
Merge pull request #163 from neicnordic/Add_resignJwt_option_to_auth
add resignJwt option to auth
2 parents 5a06089 + c41a63e commit 71e4bf3

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

charts/sda-svc/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: sda-svc
3-
version: "0.18.8"
3+
version: "0.18.9"
44
kubeVersion: ">= 1.19.0-0"
55
description: Components for Sensitive Data Archive (SDA) installation
66
home: https://neic-sda.readthedocs.io

charts/sda-svc/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Parameter | Description | Default
7575
`global.auth.jwtAlg` | Key type to sign the JWT, available options are RS265 & ES256, Must match the key type |`"ES256"`
7676
`global.auth.jwtKey` | Private key used to sign the JWT. |`""`
7777
`global.auth.jwtPub` | Public key ues to verify the JWT. |`""`
78+
`global.auth.resignJWT` | Resign the LS-AAI JWTs. |`true`
7879
`global.auth.useTLS` | Run a TLS secured server. |`true`
7980
`global.auth.corsOrigins` | Domain name allowed for cross-domain requests. |`""`
8081
`global.auth.corsMethods` | Allowed cross-domain request methods. |`""`

charts/sda-svc/templates/auth-deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ spec:
131131
value: "{{ template "jwtPath" . }}/{{ .Values.global.auth.jwtKey }}"
132132
- name: JWTSIGNATUREALG
133133
value: {{ .Values.global.auth.jwtAlg }}
134+
- name: RESIGNJWT
135+
value: {{ .Values.global.auth.resignJwt | quote }}
134136
{{- if .Values.global.tls.enabled}}
135137
- name: SERVER_CERT
136138
value: {{ template "tlsPath" . }}/tls.crt

charts/sda-svc/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ global:
149149
jwtKey:
150150
# @param jwtPub, name of the public signing key
151151
jwtPub:
152+
# @param resignJwt, if true (or empty) the jwt will be resigned with the jwtKey
153+
resignJwt: true
152154
# @param corsOrigins, domain name of allowed origin for cross-domain requests
153155
corsOrigins: ""
154156
# @param corsMethods, allowed methods for cross-domain requests

0 commit comments

Comments
 (0)