Skip to content

root: add primary-replica db router#9479

Merged
BeryJu merged 17 commits intomainfrom
root/primary-replica-router
May 21, 2024
Merged

root: add primary-replica db router#9479
BeryJu merged 17 commits intomainfrom
root/primary-replica-router

Conversation

@BeryJu
Copy link
Copy Markdown
Member

@BeryJu BeryJu commented Apr 26, 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: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner April 26, 2024 23:23
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 26, 2024

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 5445cd2
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/664c76f310b80600088756d1
😎 Deploy Preview https://deploy-preview-9479--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 26, 2024

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 5445cd2
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/664c76f3f7692300085dc263
😎 Deploy Preview https://deploy-preview-9479--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 26, 2024

Codecov Report

Attention: Patch coverage is 71.73913% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 92.63%. Comparing base (644090d) to head (5445cd2).
Report is 1 commits behind head on main.

Files Patch % Lines
authentik/root/settings.py 18.18% 9 Missing ⚠️
authentik/root/db/base.py 71.42% 2 Missing ⚠️
authentik/tenants/db.py 88.88% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9479      +/-   ##
==========================================
- Coverage   92.66%   92.63%   -0.03%     
==========================================
  Files         708      709       +1     
  Lines       34619    34659      +40     
==========================================
+ Hits        32079    32106      +27     
- Misses       2540     2553      +13     
Flag Coverage Δ
e2e 49.60% <58.69%> (+0.01%) ⬆️
integration 25.38% <58.69%> (+0.04%) ⬆️
unit 90.08% <71.73%> (-0.03%) ⬇️

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.

rissson added 6 commits April 29, 2024 18:06
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
…t for easier refresh

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 30, 2024

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-ghcr.io/goauthentik/dev-server:gh-5445cd215cc74720bda296048738ca8d2a8e062c
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-ghcr.io/goauthentik/dev-server:gh-5445cd215cc74720bda296048738ca8d2a8e062c-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
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-ghcr.io/goauthentik/dev-server:gh-5445cd215cc74720bda296048738ca8d2a8e062c

For arm64, use these values:

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

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

rissson added 4 commits May 7, 2024 20:47
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
rissson added 3 commits May 13, 2024 15:30
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
@BeryJu BeryJu requested a review from a team as a code owner May 13, 2024 13:44
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
rissson added 2 commits May 21, 2024 12:25
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
@BeryJu BeryJu merged commit a5467c6 into main May 21, 2024
@BeryJu BeryJu deleted the root/primary-replica-router branch May 21, 2024 18:15
kensternberg-authentik added a commit that referenced this pull request May 24, 2024
* main: (36 commits)
  ci: use container registry for container build cache (#9809)
  core: bump lxml from 5.2.1 to 5.2.2 (#9717)
  web: bump mermaid from 10.9.0 to 10.9.1 in /web (#9734)
  core: bump scim2-filter-parser from 0.5.0 to 0.5.1 (#9730)
  web: bump core-js from 3.37.0 to 3.37.1 in /web (#9733)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#9729)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#9802)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#9803)
  core: bump sentry-sdk from 2.2.0 to 2.2.1 (#9807)
  web: bump the storybook group in /web with 7 updates (#9804)
  web: bump glob from 10.3.15 to 10.3.16 in /web (#9805)
  root: docker-compose: remove version top level element (#9631)
  core, web: update translations (#9790)
  web: bump API Client version (#9801)
  web/admin: rework initial wizard pages and add grid layout (#9668)
  website/integrations: discord: fix typo (#9800)
  website/integration/netbox: fix group custom pipeline example (#9738)
  root: add primary-replica db router (#9479)
  website/integrations: add three more policy-expressions to discord-docs (#5760)
  website/integrations: netbox: add missing scope configuration (#9491)
  ...
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