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/proxy: add support for traefik.io API and CRD #5801

Merged
merged 1 commit into from
May 29, 2023

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented May 29, 2023

Details

closes #5771

Changes

New Features

  • Adds feature which does x, y, and z.

Breaking Changes

  • Adds breaking change which causes <issue>.

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 May 29, 2023 14:58
@codecov
Copy link

codecov bot commented May 29, 2023

Codecov Report

Patch coverage: 78.66% and project coverage change: -0.03 ⚠️

Comparison is base (81c22fa) 92.63% compared to head (9461368) 92.60%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5801      +/-   ##
==========================================
- Coverage   92.63%   92.60%   -0.03%     
==========================================
  Files         547      549       +2     
  Lines       26250    26284      +34     
==========================================
+ Hits        24315    24337      +22     
- Misses       1935     1947      +12     
Flag Coverage Δ
e2e 51.85% <52.81%> (-0.05%) ⬇️
integration 26.49% <78.66%> (+0.08%) ⬆️
unit 89.44% <52.81%> (-0.06%) ⬇️

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

Impacted Files Coverage Δ
...thentik/providers/proxy/controllers/k8s/traefik.py 76.00% <57.15%> (-4.30%) ⬇️
...entik/providers/proxy/controllers/k8s/traefik_3.py 80.31% <80.31%> (ø)
...entik/providers/proxy/controllers/k8s/traefik_2.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
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-providers-proxy-support-traefik-3-1685372930-9461368
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-providers-proxy-support-traefik-3-1685372930-9461368-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-providers-proxy-support-traefik-3-1685372930-9461368

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-providers-proxy-support-traefik-3-1685372930-9461368-arm64

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

@BeryJu BeryJu merged commit d09bee7 into main May 29, 2023
@BeryJu BeryJu deleted the providers/proxy/support-traefik-3 branch May 29, 2023 19:13
kensternberg-authentik added a commit that referenced this pull request May 30, 2023
* main: (58 commits)
  web: bump @babel/preset-env from 7.22.2 to 7.22.4 in /web (#5808)
  web: bump @typescript-eslint/eslint-plugin from 5.59.7 to 5.59.8 in /web (#5805)
  web: bump @babel/plugin-transform-runtime from 7.22.2 to 7.22.4 in /web (#5806)
  web: bump @typescript-eslint/parser from 5.59.7 to 5.59.8 in /web (#5807)
  stages/deny: fix typos (#5800)
  core: bump coverage from 7.2.6 to 7.2.7 (#5809)
  blueprints: allow setting user's passwords from blueprints (#5797)
  providers/proxy: add support for traefik.io API and CRD (#5801)
  web: fix build (#5798)
  web/flows: fix RedirectStage not detecting absolute URLs correctly (#5781)
  lifecycle: Add depends_on for worker and server container (#5634)
  web: bump @babel/preset-env from 7.21.5 to 7.22.2 in /web (#5791)
  web: bump @babel/plugin-proposal-decorators from 7.21.0 to 7.22.3 in /web (#5787)
  web: bump @lingui/core from 4.1.2 to 4.2.0 in /web (#5782)
  website: bump postcss from 8.4.23 to 8.4.24 in /website (#5783)
  web: bump @babel/plugin-transform-runtime from 7.21.4 to 7.22.2 in /web (#5789)
  core: bump goauthentik.io/api/v3 from 3.2023051.3 to 3.2023052.1 (#5788)
  web: bump @babel/core from 7.21.8 to 7.22.1 in /web (#5790)
  web: bump yaml from 2.3.0 to 2.3.1 in /web (#5792)
  core: bump django-otp from 1.2.0 to 1.2.1 (#5794)
  ...
BeryJu added a commit to goauthentik/helm that referenced this pull request Jun 26, 2023
BeryJu added a commit to goauthentik/helm that referenced this pull request Jul 5, 2023
BeryJu added a commit to goauthentik/helm that referenced this pull request Jul 5, 2023
* add traefik.io API group

Match with goauthentik/authentik#5801

* bump

* use vanity url for discord
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.

Support for new Traefik API group 'traefik.io'
1 participant