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

policies: fix cached policy metric #7068

Merged
merged 1 commit into from Oct 5, 2023
Merged

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Oct 4, 2023

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)
  • The translation files have been updated (make i18n-extract)

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 October 4, 2023 23:50
@netlify
Copy link

netlify bot commented Oct 4, 2023

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit ba0de20
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/651dfa52736e17000849e8df

@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (83f9eae) 92.68% compared to head (ba0de20) 92.68%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7068   +/-   ##
=======================================
  Coverage   92.68%   92.68%           
=======================================
  Files         567      567           
  Lines       28012    28012           
=======================================
  Hits        25959    25959           
  Misses       2053     2053           
Flag Coverage Δ
e2e 51.12% <0.00%> (-0.01%) ⬇️
integration 26.28% <0.00%> (ø)
unit 89.57% <100.00%> (ø)

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

Files Coverage Δ
authentik/policies/signals.py 86.67% <100.00%> (ø)

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

@BeryJu BeryJu merged commit f28f301 into main Oct 5, 2023
63 checks passed
@BeryJu BeryJu deleted the policies/fix-cached-policy-metric branch October 5, 2023 00:05
@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2023

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-policies-fix-cached-policy-metric-1696464132-ba0de20
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-policies-fix-cached-policy-metric-1696464132-ba0de20-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-policies-fix-cached-policy-metric-1696464132-ba0de20

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-policies-fix-cached-policy-metric-1696464132-ba0de20-arm64

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

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.

None yet

1 participant