Skip to content

Commit

Permalink
Update issuer well known
Browse files Browse the repository at this point in the history
  • Loading branch information
benfu-verses committed Jun 21, 2024
1 parent ee74393 commit 034c170
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-push-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
version: 0.1.0
- chart: genius-core-admin
version: 0.1.0
permissions:
packages: write
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions charts/genius-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ license:
### Authentication
Authentication to Genius Core can be configured by setting variables to point to an existing OIDC provider.
The following parameters in the values file:
- `auth.issuerUri`: Auth issuer URI for your auth provider (usually `<ISSUER_DOMAIN>/.well-known/openid-configuration`)
- `auth.issuerWellKnownUri`: Auth issuer URI for your auth provider (usually `<ISSUER_DOMAIN>/.well-known/openid-configuration`)
- (alternatively) `auth.jwksUri`: JWKS URI for your auth provider
- `auth.defaultProvider`: Name of your auth provider
- `auth.initialAdminUserId`: The `sub` claim from the initial admin user's auth token/id token.
Expand Down Expand Up @@ -161,7 +161,7 @@ ingress:
| allowedOrigins | string | `"*"` | |
| auth.defaultProvider | string | `"auth0"` | |
| auth.initialAdminUserId | string | `""` | |
| auth.issuerUri | string | `"https://kosm-dev-verses.us.auth0.com/.well-known/openid-configuration"` | |
| auth.issuerWellKnownUri | string | `"https://kosm-dev-verses.us.auth0.com/.well-known/openid-configuration"` | |
| auth.jwksUri | string | `"https://kosm-dev-verses.us.auth0.com/.well-known/jwks.json"` | |
| auth.skipValidateJwtExpiry | bool | `false` | |
| extraObjects | list | `[]` | Extra K8s manifests to deploy # Note: Supports use of custom Helm templates |
Expand Down
2 changes: 1 addition & 1 deletion charts/genius-core/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ license:
### Authentication
Authentication to Genius Core can be configured by setting variables to point to an existing OIDC provider.
The following parameters in the values file:
- `auth.issuerUri`: Auth issuer URI for your auth provider (usually `<ISSUER_DOMAIN>/.well-known/openid-configuration`)
- `auth.issuerWellKnownUri`: Auth issuer URI for your auth provider (usually `<ISSUER_DOMAIN>/.well-known/openid-configuration`)
- (alternatively) `auth.jwksUri`: JWKS URI for your auth provider
- `auth.defaultProvider`: Name of your auth provider
- `auth.initialAdminUserId`: The `sub` claim from the initial admin user's auth token/id token.
Expand Down
4 changes: 2 additions & 2 deletions charts/genius-core/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ spec:
value: "0.0.0.0:8080"
- name: MODELS_DIR
value: /app/models
{{- if .Values.auth.issuerUri }}
{{- if .Values.auth.issuerWellKnownUri }}
- name: AUTH_OIDC_URI
value: {{ .Values.auth.issuerUri | quote }}
value: {{ .Values.auth.issuerWellKnownUri | quote }}
{{- else if .Values.auth.jwksUri }}
- name: JWKS_URI
value: {{ .Values.auth.jwksUri | quote }}
Expand Down
2 changes: 1 addition & 1 deletion charts/genius-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ serviceHostname: genius-core
loglevel: info

auth:
issuerUri: https://kosm-dev-verses.us.auth0.com/.well-known/openid-configuration
issuerWellKnownUri: https://kosm-dev-verses.us.auth0.com/.well-known/openid-configuration
jwksUri: https://kosm-dev-verses.us.auth0.com/.well-known/jwks.json
initialAdminUserId: ""
defaultProvider: auth0
Expand Down

0 comments on commit 034c170

Please sign in to comment.