Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: client timeouts #1062

Merged
merged 3 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/reference/configuration/uds-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ The SSO spec supports a subset of the Keycloak attributes for clients, but does
- oauth2.device.authorization.grant.enabled
- pkce.code.challenge.method
- client.session.idle.timeout
- client.session.max.lifespan
- access.token.lifespan
- saml.assertion.signature
- saml.client.signature
- saml_assertion_consumer_url_post
Expand Down
2 changes: 1 addition & 1 deletion src/keycloak/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ image:
pullPolicy: IfNotPresent

# renovate: datasource=github-tags depName=defenseunicorns/uds-identity-config versioning=semver
configImage: ghcr.io/defenseunicorns/uds/identity-config:0.7.0
configImage: ghcr.io/defenseunicorns/uds/identity-config:0.8.0

# The public domain name of the Keycloak server
domain: "###ZARF_VAR_DOMAIN###"
Expand Down
2 changes: 1 addition & 1 deletion src/keycloak/tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

includes:
- config: https://raw.githubusercontent.com/defenseunicorns/uds-identity-config/v0.7.0/tasks.yaml
- config: https://raw.githubusercontent.com/defenseunicorns/uds-identity-config/v0.8.0/tasks.yaml

tasks:
- name: validate
Expand Down
6 changes: 3 additions & 3 deletions src/keycloak/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ components:
- "values/upstream-values.yaml"
images:
- quay.io/keycloak/keycloak:26.0.6
- ghcr.io/defenseunicorns/uds/identity-config:0.7.0
- ghcr.io/defenseunicorns/uds/identity-config:0.8.0

- name: keycloak
required: true
Expand All @@ -40,7 +40,7 @@ components:
- "values/registry1-values.yaml"
images:
- registry1.dso.mil/ironbank/opensource/keycloak/keycloak:26.0.6
- ghcr.io/defenseunicorns/uds/identity-config:0.7.0
- ghcr.io/defenseunicorns/uds/identity-config:0.8.0

- name: keycloak
required: true
Expand All @@ -54,4 +54,4 @@ components:
- "values/unicorn-values.yaml"
images:
- cgr.dev/du-uds-defenseunicorns/keycloak:26.0.6 # todo: switch to FIPS image
- ghcr.io/defenseunicorns/uds/identity-config:0.7.0
- ghcr.io/defenseunicorns/uds/identity-config:0.8.0
2 changes: 2 additions & 0 deletions src/pepr/operator/crd/validators/package-validator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,8 @@ describe("Test Allowed SSO Client Attributes", () => {
"oauth2.device.authorization.grant.enabled": "true",
"pkce.code.challenge.method": "S256",
"client.session.idle.timeout": "3600",
"client.session.max.lifespan": "36000",
"access.token.lifespan": "60",
"saml.assertion.signature": "false",
"saml.client.signature": "false",
saml_assertion_consumer_url_post: "https://nexus.uds.dev/saml",
Expand Down
2 changes: 2 additions & 0 deletions src/pepr/operator/crd/validators/package-validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ export async function validator(req: PeprValidateRequest<UDSPackage>) {
"oauth2.device.authorization.grant.enabled",
"pkce.code.challenge.method",
"client.session.idle.timeout",
"client.session.max.lifespan",
"access.token.lifespan",
"saml.assertion.signature",
"saml.client.signature",
"saml_assertion_consumer_url_post",
Expand Down
Loading