Skip to content

Commit

Permalink
Enable Keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Feb 28, 2024
1 parent 415173c commit 37faa63
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions apps/onyxia/values-keycloak-enabled.yaml
Expand Up @@ -5,6 +5,8 @@ onyxia:
hosts:
- host: datalab.$DOMAIN
web:
# The full list of configuration option for the web component is available here:
# https://github.com/InseeFrLab/onyxia/blob/main/web/.env
env:
#GLOBAL_ALERT: |
# {
Expand All @@ -14,19 +16,49 @@ onyxia:
# fr: "Une annonce **importante**! [Regardez](https://example.com)!"
# }
# }

CUSTOM_RESOURCES: "https://www.sspcloud.fr/onyxia-sspcloud-resources.zip"
# The terms of services referenced are in the zip file above.
# You can use your own terms of services by supplying your own zip file.
# More information here: https://docs.onyxia.sh/admin-doc/theme
TERMS_OF_SERVICES: |
{
en: "%PUBLIC_URL%/custom-resources/tos_en.md",
fr: "%PUBLIC_URL%/custom-resources/tos_fr.md"
}
api:
serviceAccount:
create: true
clusterAdmin: true
# The full list of configuration option for the api component is available here:
# https://github.com/InseeFrLab/onyxia-api?tab=readme-ov-file#configuration
env:
#security.cors.allowed_origins: "*"
authentication.mode: "openidconnect"
oidc.issuer-uri: "https://auth.lab.$DOMAIN/auth/realms/datalab"
oidc.clientID: "onyxia"
#oidc.audience: "onyxia"
#oidc.extra-query-params: "kc_idp_hint=google&foo=bar"
#springdoc.swagger-ui.oauth.clientId: onyxia

# The region configuration is available here:
# https://github.com/InseeFrLab/onyxia-api/blob/main/docs/region-configuration.md
regions: [
{
id: "my-region",
name: "My Region",
description: "Region hosted on my-cluster",
services: {
type: "KUBERNETES",
singleNamespace: true,
singleNamespace: false,
authenticationMode: "serviceAccount",
expose: {
domain: "lab.$DOMAIN"
}
},
#namespacePrefix:"user-",
#usernamePrefix:"oidc-",
#groupNamespacePrefix:"project-",
#groupPrefix:"oidc-",
}
}
]

0 comments on commit 37faa63

Please sign in to comment.