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

providers/oauth2: improve indexes on tokens #11543

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

rissson
Copy link
Member

@rissson rissson commented Sep 27, 2024

Details

REPLACE ME


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
@rissson rissson self-assigned this Sep 27, 2024
@rissson rissson requested a review from a team as a code owner September 27, 2024 14:51
Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit aa8f5ac
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/66f6c661a4e0d000084d70c9

Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit aa8f5ac
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/66f6c6617f440000083216de

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.75%. Comparing base (384ca87) to head (aa8f5ac).
Report is 3 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11543      +/-   ##
==========================================
- Coverage   92.76%   92.75%   -0.01%     
==========================================
  Files         736      736              
  Lines       36535    36535              
==========================================
- Hits        33891    33888       -3     
- Misses       2644     2647       +3     
Flag Coverage Δ
e2e 49.25% <ø> (-0.01%) ⬇️
integration 24.97% <ø> (ø)
unit 90.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-aa8f5ace139fb0800f13ff50d80ae3697e141a41
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

For arm64, use these values:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-aa8f5ace139fb0800f13ff50d80ae3697e141a41-arm64
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-aa8f5ace139fb0800f13ff50d80ae3697e141a41

For arm64, use these values:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-aa8f5ace139fb0800f13ff50d80ae3697e141a41-arm64

Afterwards, run the upgrade commands from the latest release notes.

@rissson rissson merged commit 4a5058d into main Sep 27, 2024
71 checks passed
@rissson rissson deleted the providers-oauth2-better-index-on-tokens branch September 27, 2024 15:27
kensternberg-authentik added a commit that referenced this pull request Sep 27, 2024
* main:
  providers/oauth2: improve indexes on tokens (#11543)
  web: bump API Client version (#11544)
  release: 2024.8.3 (#11542)
kensternberg-authentik added a commit that referenced this pull request Sep 27, 2024
…able

* web/bug/fix-wdio-and-lint:
  Forgot to run prettier.
  web: small fixes for wdio and lint
  providers/oauth2: improve indexes on tokens (#11543)
  web: bump API Client version (#11544)
  release: 2024.8.3 (#11542)
  package-lock.json update
  website: update release notes for 2024.8.3 and 2024.6.5 (#11541)
  website/docs: added a Docs banner to announce new docs structure (#11525)
  security: fix CVE-2024-47070 (#11536)
  security: fix CVE-2024-47077 (#11535)
  sources/ldap: fix ms_ad userAccountControl not checking for lockout (#11532)
  web: Fix missing integrity fields in package-lock.json (#11509)
  core, web: update translations (#11527)
  core: bump ruff from 0.6.7 to 0.6.8 (#11528)
  web: bump the wdio group across 2 directories with 3 updates (#11529)
  web: bump @patternfly/elements from 4.0.1 to 4.0.2 in /web (#11530)
  web: bump @types/node from 22.7.2 to 22.7.3 in /web (#11531)
kensternberg-authentik added a commit that referenced this pull request Sep 27, 2024
* web/bug/fix-wdio-and-lint:
  Forgot to run prettier.
  web: small fixes for wdio and lint
  providers/oauth2: improve indexes on tokens (#11543)
  web: bump API Client version (#11544)
  release: 2024.8.3 (#11542)
  package-lock.json update
  website: update release notes for 2024.8.3 and 2024.6.5 (#11541)
  website/docs: added a Docs banner to announce new docs structure (#11525)
  security: fix CVE-2024-47070 (#11536)
  security: fix CVE-2024-47077 (#11535)
  sources/ldap: fix ms_ad userAccountControl not checking for lockout (#11532)
  web: Fix missing integrity fields in package-lock.json (#11509)
  core, web: update translations (#11527)
  core: bump ruff from 0.6.7 to 0.6.8 (#11528)
  web: bump the wdio group across 2 directories with 3 updates (#11529)
  web: bump @patternfly/elements from 4.0.1 to 4.0.2 in /web (#11530)
  web: bump @types/node from 22.7.2 to 22.7.3 in /web (#11531)
  web: small fixes for wdio and lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants