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/sync: update attributes on update #10012

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Jun 6, 2024

Details

After authentik updates an object in the remote system it will now also update the attributes in the connection object so the data can be used in policies


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)

BeryJu added 2 commits June 6, 2024 19:11
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
…g remote object

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested review from a team as code owners June 6, 2024 10:13
Copy link

netlify bot commented Jun 6, 2024

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit c1b0da3
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/66618bd9a0b90e0008f655cd

Copy link

netlify bot commented Jun 6, 2024

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit c1b0da3
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/66618bd9dffb2d0008b609b4
😎 Deploy Preview https://deploy-preview-10012--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.

Copy link

codecov bot commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.64%. Comparing base (78d07cc) to head (c1b0da3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10012   +/-   ##
=======================================
  Coverage   92.64%   92.64%           
=======================================
  Files         713      713           
  Lines       34870    34878    +8     
=======================================
+ Hits        32305    32313    +8     
  Misses       2565     2565           
Flag Coverage Δ
e2e 49.66% <0.00%> (-0.02%) ⬇️
integration 25.47% <0.00%> (-0.01%) ⬇️
unit 90.11% <100.00%> (+<0.01%) ⬆️

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

github-actions bot commented Jun 6, 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-c1b0da3c69b644f5db643e8073618f98c4ebec92
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-c1b0da3c69b644f5db643e8073618f98c4ebec92-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-c1b0da3c69b644f5db643e8073618f98c4ebec92

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-c1b0da3c69b644f5db643e8073618f98c4ebec92-arm64

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

@BeryJu BeryJu merged commit 25e6a69 into main Jun 6, 2024
67 checks passed
@BeryJu BeryJu deleted the providers/sync/update-attributes-on-update branch June 6, 2024 11:49
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.

1 participant