Skip to content

Commit 8f39063

Browse files
committed
Implement token lifespans config from hydra-maester.
1 parent a2882d6 commit 8f39063

File tree

4 files changed

+68
-4
lines changed

4 files changed

+68
-4
lines changed

helm/charts/hydra-maester/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: "v0.0.33"
2+
appVersion: "v0.0.34"
33
description: A Helm chart for Kubernetes
44
name: hydra-maester
55
icon: https://raw.githubusercontent.com/ory/docs/master/docs/static/img/logo-hydra.svg

helm/charts/hydra-maester/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# hydra-maester
22

3-
![Version: 0.44.0](https://img.shields.io/badge/Version-0.44.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.0.33](https://img.shields.io/badge/AppVersion-v0.0.33-informational?style=flat-square)
3+
![Version: 0.44.0](https://img.shields.io/badge/Version-0.44.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.0.34](https://img.shields.io/badge/AppVersion-v0.0.34-informational?style=flat-square)
44

55
A Helm chart for Kubernetes
66

@@ -52,7 +52,7 @@ A Helm chart for Kubernetes
5252
| forwardedProto | string | `nil` | |
5353
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
5454
| image.repository | string | `"oryd/hydra-maester"` | Ory Hydra-maester image |
55-
| image.tag | string | `"v0.0.33-amd64"` | Ory Hydra-maester version |
55+
| image.tag | string | `"v0.0.34-amd64"` | Ory Hydra-maester version |
5656
| imagePullSecrets | list | `[]` | Image pull secrets |
5757
| pdb.enabled | bool | `false` | |
5858
| pdb.spec.maxUnavailable | string | `""` | |

helm/charts/hydra-maester/crds/crd-oauth2clients.yaml

+64
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,70 @@ spec:
236236
Indication which authentication method shoud be used for the
237237
token endpoint
238238
type: string
239+
tokenLifespans:
240+
description: Configuration about token lifespans.
241+
properties:
242+
authorization_code_grant_access_token_lifespan:
243+
description:
244+
The lifespan of the access token issued during
245+
authorization_code grant type.
246+
pattern: [0-9]+(ns|us|ms|s|m|h)
247+
type: string
248+
authorization_code_grant_id_token_lifespan:
249+
description:
250+
The lifespan of the id token issued during
251+
authorization_code grant type.
252+
pattern: [0-9]+(ns|us|ms|s|m|h)
253+
type: string
254+
authorization_code_grant_refresh_token_lifespan:
255+
description:
256+
The lifespan of the refresh token issued during
257+
authorization_code grant type.
258+
pattern: [0-9]+(ns|us|ms|s|m|h)
259+
type: string
260+
client_credentials_grant_access_token_lifespan:
261+
description:
262+
The lifespan of the access token issued during
263+
client_credentials grant type.
264+
pattern: [0-9]+(ns|us|ms|s|m|h)
265+
type: string
266+
implicit_grant_access_token_lifespan:
267+
description:
268+
The lifespan of the access token issued during implicit
269+
grant type.
270+
pattern: [0-9]+(ns|us|ms|s|m|h)
271+
type: string
272+
implicit_grant_id_token_lifespan:
273+
description:
274+
The lifespan of the id token issued during implicit
275+
grant type.
276+
pattern: [0-9]+(ns|us|ms|s|m|h)
277+
type: string
278+
jwt_bearer_grant_access_token_lifespan:
279+
description:
280+
The lifespan of the access token issued during
281+
jwt_bearer grant type.
282+
pattern: [0-9]+(ns|us|ms|s|m|h)
283+
type: string
284+
refresh_token_grant_access_token_lifespan:
285+
description:
286+
The lifespan of the access token issued during
287+
refresh_token grant type.
288+
pattern: [0-9]+(ns|us|ms|s|m|h)
289+
type: string
290+
refresh_token_grant_id_token_lifespan:
291+
description:
292+
The lifespan of the id token issued during refresh_token
293+
grant type.
294+
pattern: [0-9]+(ns|us|ms|s|m|h)
295+
type: string
296+
refresh_token_grant_refresh_token_lifespan:
297+
description:
298+
The lifespan of the refresh token issued during
299+
refresh_token grant type.
300+
pattern: [0-9]+(ns|us|ms|s|m|h)
301+
type: string
302+
type: object
239303
required:
240304
- grantTypes
241305
- scope

helm/charts/hydra-maester/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ image:
1212
# -- Ory Hydra-maester image
1313
repository: oryd/hydra-maester
1414
# -- Ory Hydra-maester version
15-
tag: v0.0.33-amd64
15+
tag: v0.0.34-amd64
1616
# -- Image pull policy
1717
pullPolicy: IfNotPresent
1818

0 commit comments

Comments
 (0)