From cf76652a4c6099acb14b9eba1996d3692525e68f Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 17:40:43 +0100 Subject: [PATCH 01/10] release: 2021.1.1-rc2 --- .bumpversion.cfg | 2 +- .github/workflows/release.yml | 14 +++++++------- authentik/__init__.py | 2 +- docker-compose.yml | 6 +++--- helm/Chart.yaml | 2 +- helm/README.md | 2 +- helm/values.yaml | 2 +- outpost/pkg/version.go | 2 +- web/src/constants.ts | 2 +- website/docs/installation/docker-compose.md | 2 +- website/docs/installation/kubernetes.md | 2 +- 11 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 1777fd7cac..e138c91aa6 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2021.1.1-rc1 +current_version = 2021.1.1-rc2 tag = True commit = True parse = (?P\d+)\.(?P\d+)\.(?P\d+)\-(?P.*) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3890cab88e..b2a4f29167 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,11 @@ jobs: - name: Building Docker Image run: docker build --no-cache - -t beryju/authentik:2021.1.1-rc1 + -t beryju/authentik:2021.1.1-rc2 -t beryju/authentik:latest -f Dockerfile . - name: Push Docker Container to Registry (versioned) - run: docker push beryju/authentik:2021.1.1-rc1 + run: docker push beryju/authentik:2021.1.1-rc2 - name: Push Docker Container to Registry (latest) run: docker push beryju/authentik:latest build-proxy: @@ -48,11 +48,11 @@ jobs: cd outpost/ docker build \ --no-cache \ - -t beryju/authentik-proxy:2021.1.1-rc1 \ + -t beryju/authentik-proxy:2021.1.1-rc2 \ -t beryju/authentik-proxy:latest \ -f proxy.Dockerfile . - name: Push Docker Container to Registry (versioned) - run: docker push beryju/authentik-proxy:2021.1.1-rc1 + run: docker push beryju/authentik-proxy:2021.1.1-rc2 - name: Push Docker Container to Registry (latest) run: docker push beryju/authentik-proxy:latest build-static: @@ -69,11 +69,11 @@ jobs: cd web/ docker build \ --no-cache \ - -t beryju/authentik-static:2021.1.1-rc1 \ + -t beryju/authentik-static:2021.1.1-rc2 \ -t beryju/authentik-static:latest \ -f Dockerfile . - name: Push Docker Container to Registry (versioned) - run: docker push beryju/authentik-static:2021.1.1-rc1 + run: docker push beryju/authentik-static:2021.1.1-rc2 - name: Push Docker Container to Registry (latest) run: docker push beryju/authentik-static:latest test-release: @@ -107,5 +107,5 @@ jobs: SENTRY_PROJECT: authentik SENTRY_URL: https://sentry.beryju.org with: - tagName: 2021.1.1-rc1 + tagName: 2021.1.1-rc2 environment: beryjuorg-prod diff --git a/authentik/__init__.py b/authentik/__init__.py index c5383079bb..b1d466cf6f 100644 --- a/authentik/__init__.py +++ b/authentik/__init__.py @@ -1,2 +1,2 @@ """authentik""" -__version__ = "2021.1.1-rc1" +__version__ = "2021.1.1-rc2" diff --git a/docker-compose.yml b/docker-compose.yml index 8da862643c..f14d6ae474 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: networks: - internal server: - image: beryju/authentik:${AUTHENTIK_TAG:-2021.1.1-rc1} + image: beryju/authentik:${AUTHENTIK_TAG:-2021.1.1-rc2} command: server environment: AUTHENTIK_REDIS__HOST: redis @@ -45,7 +45,7 @@ services: env_file: - .env worker: - image: beryju/authentik:${AUTHENTIK_TAG:-2021.1.1-rc1} + image: beryju/authentik:${AUTHENTIK_TAG:-2021.1.1-rc2} command: worker networks: - internal @@ -62,7 +62,7 @@ services: env_file: - .env static: - image: beryju/authentik-static:${AUTHENTIK_TAG:-2021.1.1-rc1} + image: beryju/authentik-static:${AUTHENTIK_TAG:-2021.1.1-rc2} networks: - internal labels: diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 3e359eeffb..af86aa655f 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -4,7 +4,7 @@ name: authentik home: https://goauthentik.io sources: - https://github.com/BeryJu/authentik -version: "2021.1.1-rc1" +version: "2021.1.1-rc2" icon: https://raw.githubusercontent.com/BeryJu/authentik/master/web/icons/icon.svg dependencies: - name: postgresql diff --git a/helm/README.md b/helm/README.md index 3c1244052c..ce6451ca40 100644 --- a/helm/README.md +++ b/helm/README.md @@ -4,7 +4,7 @@ |-----------------------------------|-------------------------|-------------| | image.name | beryju/authentik | Image used to run the authentik server and worker | | image.name_static | beryju/authentik-static | Image used to run the authentik static server (CSS and JS Files) | -| image.tag | 2021.1.1-rc1 | Image tag | +| image.tag | 2021.1.1-rc2 | Image tag | | image.pullPolicy | IfNotPresent | Image Pull Policy used for all deployments | | serverReplicas | 1 | Replicas for the Server deployment | | workerReplicas | 1 | Replicas for the Worker deployment | diff --git a/helm/values.yaml b/helm/values.yaml index 40b27c2827..f927f644db 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -5,7 +5,7 @@ image: name: beryju/authentik name_static: beryju/authentik-static name_outposts: beryju/authentik # Prefix used for Outpost deployments, Outpost type and version is appended - tag: 2021.1.1-rc1 + tag: 2021.1.1-rc2 pullPolicy: IfNotPresent serverReplicas: 1 diff --git a/outpost/pkg/version.go b/outpost/pkg/version.go index 6a9ab988b8..cc4c96208b 100644 --- a/outpost/pkg/version.go +++ b/outpost/pkg/version.go @@ -1,3 +1,3 @@ package pkg -const VERSION = "2021.1.1-rc1" +const VERSION = "2021.1.1-rc2" diff --git a/web/src/constants.ts b/web/src/constants.ts index 5159f9756d..e852ea0b1b 100644 --- a/web/src/constants.ts +++ b/web/src/constants.ts @@ -28,4 +28,4 @@ export const ColorStyles = css` background-color: var(--pf-global--danger-color--100); } `; -export const VERSION = "2021.1.1-rc1"; +export const VERSION = "2021.1.1-rc2"; diff --git a/website/docs/installation/docker-compose.md b/website/docs/installation/docker-compose.md index 5c5a08a1d9..54bfdf04cf 100644 --- a/website/docs/installation/docker-compose.md +++ b/website/docs/installation/docker-compose.md @@ -15,7 +15,7 @@ Download the latest `docker-compose.yml` from [here](https://raw.githubuserconte To optionally enable error-reporting, run `echo AUTHENTIK_ERROR_REPORTING__ENABLED=true >> .env` -To optionally deploy a different version run `echo AUTHENTIK_TAG=2021.1.1-rc1 >> .env` +To optionally deploy a different version run `echo AUTHENTIK_TAG=2021.1.1-rc2 >> .env` If this is a fresh authentik install run the following commands to generate a password: diff --git a/website/docs/installation/kubernetes.md b/website/docs/installation/kubernetes.md index 5bbb371c15..568106211e 100644 --- a/website/docs/installation/kubernetes.md +++ b/website/docs/installation/kubernetes.md @@ -24,7 +24,7 @@ image: name: beryju/authentik name_static: beryju/authentik-static name_outposts: beryju/authentik # Prefix used for Outpost deployments, Outpost type and version is appended - tag: 2021.1.1-rc1 + tag: 2021.1.1-rc2 serverReplicas: 1 workerReplicas: 1 From d728163eea9ef5ed93fc5762c8e383019ca5b8fb Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 18:56:24 +0100 Subject: [PATCH 02/10] helm: fix typos --- helm/templates/configmap.yaml | 2 +- helm/templates/secret.yaml | 6 +++--- helm/templates/web-deployment.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/helm/templates/configmap.yaml b/helm/templates/configmap.yaml index 6a3a3c796e..ef6b8c2fb5 100644 --- a/helm/templates/configmap.yaml +++ b/helm/templates/configmap.yaml @@ -20,7 +20,7 @@ data: OUTPOSTS__DOCKER_IMAGE_BASE: "{{ .Values.image.name_outposts }}" EMAIL__HOST: "{{ .Values.config.email.host }}" EMAIL__PORT: "{{ .Values.config.email.port }}" - EMAIL__USERNAM: "{{ .Values.config.email.username }}" + EMAIL__USERNAME: "{{ .Values.config.email.username }}" EMAIL__USE_TLS: "{{ .Values.config.email.use_tls }}" EMAIL__USE_SSL: "{{ .Values.config.email.use_ssl }}" EMAIL__TIMEOUT: "{{ .Values.config.email.timeout }}" diff --git a/helm/templates/secret.yaml b/helm/templates/secret.yaml index 90a5d1043d..bf2a5bce6c 100644 --- a/helm/templates/secret.yaml +++ b/helm/templates/secret.yaml @@ -6,11 +6,11 @@ metadata: data: monitoring_username: bW9uaXRvcg== # monitor in base64 {{- if .Values.config.secretKey }} - SECRET_KEY: {{ .Values.config.secretKey | b64enc | quote }} + secret_key: {{ .Values.config.secretKey | b64enc | quote }} {{- else }} - SECRET_KEY: {{ randAlphaNum 50 | b64enc | quote}} + secret_key: {{ randAlphaNum 50 | b64enc | quote}} {{- end }} {{- if .Values.backup }} POSTGRESQL__S3_BACKUP__SECRET_KEY: "{{ .Values.backup.secretKey }}" {{- end}} - EMAIL__PASSWOR: "{{ .Values.config.email.password }}" + EMAIL__PASSWORD: "{{ .Values.config.email.password }}" diff --git a/helm/templates/web-deployment.yaml b/helm/templates/web-deployment.yaml index 392787a126..2a77c56bdc 100644 --- a/helm/templates/web-deployment.yaml +++ b/helm/templates/web-deployment.yaml @@ -117,7 +117,7 @@ spec: memory: 300M limits: cpu: 300m - memory: 600MiB + memory: 600M volumes: - name: authentik-uploads persistentVolumeClaim: From 08e7ef3c1ecbd33c9f75ccf9fdece308a3c67b20 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 19:04:42 +0100 Subject: [PATCH 03/10] core: increase application cache duration --- authentik/core/api/applications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/core/api/applications.py b/authentik/core/api/applications.py index 621edf7a4a..cd13d4fa86 100644 --- a/authentik/core/api/applications.py +++ b/authentik/core/api/applications.py @@ -86,7 +86,7 @@ class ApplicationViewSet(ModelViewSet): engine.build() if engine.passing: allowed_applications.append(application) - cache.set(user_app_cache_key(self.request.user.pk), allowed_applications) + cache.set(user_app_cache_key(self.request.user.pk), allowed_applications, timeout=86400) serializer = self.get_serializer(allowed_applications, many=True) return self.get_paginated_response(serializer.data) From 6e69edf1af76ce633f88607cdcd295abc2b3fb58 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 19:04:42 +0100 Subject: [PATCH 04/10] core: increase application cache duration # Conflicts: # authentik/core/api/applications.py --- authentik/core/api/applications.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/authentik/core/api/applications.py b/authentik/core/api/applications.py index cd13d4fa86..e487c069bf 100644 --- a/authentik/core/api/applications.py +++ b/authentik/core/api/applications.py @@ -86,7 +86,11 @@ class ApplicationViewSet(ModelViewSet): engine.build() if engine.passing: allowed_applications.append(application) - cache.set(user_app_cache_key(self.request.user.pk), allowed_applications, timeout=86400) + cache.set( + user_app_cache_key(self.request.user.pk), + allowed_applications, + timeout=86400, + ) serializer = self.get_serializer(allowed_applications, many=True) return self.get_paginated_response(serializer.data) From 6e88e52d780b83b7ea028acc957dd26b7dd86936 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 19:22:01 +0100 Subject: [PATCH 05/10] outposts: add message to outpost_service_connection_monitor task --- authentik/outposts/tasks.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/authentik/outposts/tasks.py b/authentik/outposts/tasks.py index da05a41cfc..8ce64c77a9 100644 --- a/authentik/outposts/tasks.py +++ b/authentik/outposts/tasks.py @@ -49,9 +49,15 @@ def outpost_service_connection_state(connection_pk: Any): @CELERY_APP.task(bind=True, base=MonitoredTask) def outpost_service_connection_monitor(self: MonitoredTask): """Regularly check the state of Outpost Service Connections""" - for connection in OutpostServiceConnection.objects.all(): + connections = OutpostServiceConnection.objects.all() + for connection in connections.iterator(): outpost_service_connection_state.delay(connection.pk) - self.set_status(TaskResult(TaskResultStatus.SUCCESSFUL)) + self.set_status( + TaskResult( + TaskResultStatus.SUCCESSFUL, + [f"Successfully updated {len(connections)} connections."], + ) + ) @CELERY_APP.task(bind=True, base=MonitoredTask) From 65c9d4bf4cea45d121745455a65810100ea78368 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 19:59:19 +0100 Subject: [PATCH 06/10] policies: use custom context for fork instead of changing global context --- authentik/policies/process.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/authentik/policies/process.py b/authentik/policies/process.py index 225fb2b6f8..da6a58be37 100644 --- a/authentik/policies/process.py +++ b/authentik/policies/process.py @@ -1,5 +1,5 @@ """authentik policy task""" -from multiprocessing import Process +from multiprocessing import get_context from multiprocessing.connection import Connection from traceback import format_tb from typing import Optional @@ -28,7 +28,11 @@ def cache_key(binding: PolicyBinding, request: PolicyRequest) -> str: return prefix -class PolicyProcess(Process): +FORK_CTX = get_context("fork") +PROCESS_CLASS = FORK_CTX.Process + + +class PolicyProcess(PROCESS_CLASS): """Evaluate a single policy within a seprate process""" connection: Connection From e6f897c7e61ba8cc4af7ec311ac4d484e06ea32d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 19:59:58 +0100 Subject: [PATCH 07/10] policies: detect when running in a daemon process and run policies sync --- authentik/policies/engine.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/authentik/policies/engine.py b/authentik/policies/engine.py index 92acd0d6a0..1f38356d92 100644 --- a/authentik/policies/engine.py +++ b/authentik/policies/engine.py @@ -1,6 +1,6 @@ """authentik policy engine""" from enum import Enum -from multiprocessing import Pipe, set_start_method +from multiprocessing import Pipe, current_process from multiprocessing.connection import Connection from typing import Iterator, List, Optional @@ -16,9 +16,7 @@ from authentik.policies.process import PolicyProcess, cache_key from authentik.policies.types import PolicyRequest, PolicyResult LOGGER = get_logger() -# This is only really needed for macOS, because Python 3.8 changed the default to spawn -# spawn causes issues with objects that aren't picklable, and also the django setup -set_start_method("fork") +CURRENT_PROCESS = current_process() class PolicyProcessInfo: @@ -117,14 +115,19 @@ class PolicyEngine: LOGGER.debug("P_ENG: Evaluating policy", policy=binding.policy) our_end, task_end = Pipe(False) task = PolicyProcess(binding, self.request, task_end) + task.daemon = False LOGGER.debug("P_ENG: Starting Process", policy=binding.policy) - task.start() + if CURRENT_PROCESS._config.get("daemon"): + task.run() + else: + task.start() self.__processes.append( PolicyProcessInfo(process=task, connection=our_end, binding=binding) ) # If all policies are cached, we have an empty list here. for proc_info in self.__processes: - proc_info.process.join(proc_info.binding.timeout) + if proc_info.process.is_alive(): + proc_info.process.join(proc_info.binding.timeout) # Only call .recv() if no result is saved, otherwise we just deadlock here if not proc_info.result: proc_info.result = proc_info.connection.recv() From 217cca822d3ea3c4b8c9d779630649112fdba90a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 20:09:37 +0100 Subject: [PATCH 08/10] web: fix sidebar overlaying background --- web/src/authentik.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/authentik.css b/web/src/authentik.css index d7142cc17b..febe66002e 100644 --- a/web/src/authentik.css +++ b/web/src/authentik.css @@ -81,7 +81,7 @@ select[multiple] { font-size: var(--pf-global--FontSize--sm); } -.pf-c-page__main { +.pf-c-page__main, .pf-c-drawer__content, .pf-c-page__drawer { z-index: auto !important; } From 4b551add1a0925ba0ed0e18920f53302d4f03585 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 20:18:45 +0100 Subject: [PATCH 09/10] stages/password: catch importerror during authentic() --- authentik/stages/password/stage.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/authentik/stages/password/stage.py b/authentik/stages/password/stage.py index 6af83a16e0..ee6d15b52e 100644 --- a/authentik/stages/password/stage.py +++ b/authentik/stages/password/stage.py @@ -31,7 +31,11 @@ def authenticate( Customized version of django's authenticate, which accepts a list of backends""" for backend_path in backends: - backend: BaseBackend = path_to_class(backend_path)() + try: + backend: BaseBackend = path_to_class(backend_path)() + except ImportError: + LOGGER.warning("Failed to import backend", path=backend_path) + continue LOGGER.debug("Attempting authentication...", backend=backend) user = backend.authenticate(request, **credentials) if user is None: From 677a181b9c2b2368a252ed4c45525173ee63934d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 17 Jan 2021 22:36:16 +0100 Subject: [PATCH 10/10] release: 2021.1.1-stable --- .bumpversion.cfg | 2 +- .github/workflows/release.yml | 14 +++++++------- authentik/__init__.py | 2 +- docker-compose.yml | 6 +++--- helm/Chart.yaml | 2 +- helm/README.md | 2 +- helm/values.yaml | 2 +- outpost/pkg/version.go | 2 +- web/src/constants.ts | 2 +- website/docs/installation/docker-compose.md | 2 +- website/docs/installation/kubernetes.md | 2 +- 11 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index e138c91aa6..665a95644b 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2021.1.1-rc2 +current_version = 2021.1.1-stable tag = True commit = True parse = (?P\d+)\.(?P\d+)\.(?P\d+)\-(?P.*) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2a4f29167..5660bc8655 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,11 @@ jobs: - name: Building Docker Image run: docker build --no-cache - -t beryju/authentik:2021.1.1-rc2 + -t beryju/authentik:2021.1.1-stable -t beryju/authentik:latest -f Dockerfile . - name: Push Docker Container to Registry (versioned) - run: docker push beryju/authentik:2021.1.1-rc2 + run: docker push beryju/authentik:2021.1.1-stable - name: Push Docker Container to Registry (latest) run: docker push beryju/authentik:latest build-proxy: @@ -48,11 +48,11 @@ jobs: cd outpost/ docker build \ --no-cache \ - -t beryju/authentik-proxy:2021.1.1-rc2 \ + -t beryju/authentik-proxy:2021.1.1-stable \ -t beryju/authentik-proxy:latest \ -f proxy.Dockerfile . - name: Push Docker Container to Registry (versioned) - run: docker push beryju/authentik-proxy:2021.1.1-rc2 + run: docker push beryju/authentik-proxy:2021.1.1-stable - name: Push Docker Container to Registry (latest) run: docker push beryju/authentik-proxy:latest build-static: @@ -69,11 +69,11 @@ jobs: cd web/ docker build \ --no-cache \ - -t beryju/authentik-static:2021.1.1-rc2 \ + -t beryju/authentik-static:2021.1.1-stable \ -t beryju/authentik-static:latest \ -f Dockerfile . - name: Push Docker Container to Registry (versioned) - run: docker push beryju/authentik-static:2021.1.1-rc2 + run: docker push beryju/authentik-static:2021.1.1-stable - name: Push Docker Container to Registry (latest) run: docker push beryju/authentik-static:latest test-release: @@ -107,5 +107,5 @@ jobs: SENTRY_PROJECT: authentik SENTRY_URL: https://sentry.beryju.org with: - tagName: 2021.1.1-rc2 + tagName: 2021.1.1-stable environment: beryjuorg-prod diff --git a/authentik/__init__.py b/authentik/__init__.py index b1d466cf6f..948436010b 100644 --- a/authentik/__init__.py +++ b/authentik/__init__.py @@ -1,2 +1,2 @@ """authentik""" -__version__ = "2021.1.1-rc2" +__version__ = "2021.1.1-stable" diff --git a/docker-compose.yml b/docker-compose.yml index f14d6ae474..0cf42845ba 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: networks: - internal server: - image: beryju/authentik:${AUTHENTIK_TAG:-2021.1.1-rc2} + image: beryju/authentik:${AUTHENTIK_TAG:-2021.1.1-stable} command: server environment: AUTHENTIK_REDIS__HOST: redis @@ -45,7 +45,7 @@ services: env_file: - .env worker: - image: beryju/authentik:${AUTHENTIK_TAG:-2021.1.1-rc2} + image: beryju/authentik:${AUTHENTIK_TAG:-2021.1.1-stable} command: worker networks: - internal @@ -62,7 +62,7 @@ services: env_file: - .env static: - image: beryju/authentik-static:${AUTHENTIK_TAG:-2021.1.1-rc2} + image: beryju/authentik-static:${AUTHENTIK_TAG:-2021.1.1-stable} networks: - internal labels: diff --git a/helm/Chart.yaml b/helm/Chart.yaml index af86aa655f..716480c6f8 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -4,7 +4,7 @@ name: authentik home: https://goauthentik.io sources: - https://github.com/BeryJu/authentik -version: "2021.1.1-rc2" +version: "2021.1.1-stable" icon: https://raw.githubusercontent.com/BeryJu/authentik/master/web/icons/icon.svg dependencies: - name: postgresql diff --git a/helm/README.md b/helm/README.md index ce6451ca40..16f51e0419 100644 --- a/helm/README.md +++ b/helm/README.md @@ -4,7 +4,7 @@ |-----------------------------------|-------------------------|-------------| | image.name | beryju/authentik | Image used to run the authentik server and worker | | image.name_static | beryju/authentik-static | Image used to run the authentik static server (CSS and JS Files) | -| image.tag | 2021.1.1-rc2 | Image tag | +| image.tag | 2021.1.1-stable | Image tag | | image.pullPolicy | IfNotPresent | Image Pull Policy used for all deployments | | serverReplicas | 1 | Replicas for the Server deployment | | workerReplicas | 1 | Replicas for the Worker deployment | diff --git a/helm/values.yaml b/helm/values.yaml index f927f644db..0d112df771 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -5,7 +5,7 @@ image: name: beryju/authentik name_static: beryju/authentik-static name_outposts: beryju/authentik # Prefix used for Outpost deployments, Outpost type and version is appended - tag: 2021.1.1-rc2 + tag: 2021.1.1-stable pullPolicy: IfNotPresent serverReplicas: 1 diff --git a/outpost/pkg/version.go b/outpost/pkg/version.go index cc4c96208b..d80d2fd8cf 100644 --- a/outpost/pkg/version.go +++ b/outpost/pkg/version.go @@ -1,3 +1,3 @@ package pkg -const VERSION = "2021.1.1-rc2" +const VERSION = "2021.1.1-stable" diff --git a/web/src/constants.ts b/web/src/constants.ts index e852ea0b1b..99442308cc 100644 --- a/web/src/constants.ts +++ b/web/src/constants.ts @@ -28,4 +28,4 @@ export const ColorStyles = css` background-color: var(--pf-global--danger-color--100); } `; -export const VERSION = "2021.1.1-rc2"; +export const VERSION = "2021.1.1-stable"; diff --git a/website/docs/installation/docker-compose.md b/website/docs/installation/docker-compose.md index 54bfdf04cf..fece654b46 100644 --- a/website/docs/installation/docker-compose.md +++ b/website/docs/installation/docker-compose.md @@ -15,7 +15,7 @@ Download the latest `docker-compose.yml` from [here](https://raw.githubuserconte To optionally enable error-reporting, run `echo AUTHENTIK_ERROR_REPORTING__ENABLED=true >> .env` -To optionally deploy a different version run `echo AUTHENTIK_TAG=2021.1.1-rc2 >> .env` +To optionally deploy a different version run `echo AUTHENTIK_TAG=2021.1.1-stable >> .env` If this is a fresh authentik install run the following commands to generate a password: diff --git a/website/docs/installation/kubernetes.md b/website/docs/installation/kubernetes.md index 568106211e..7b0d80a04d 100644 --- a/website/docs/installation/kubernetes.md +++ b/website/docs/installation/kubernetes.md @@ -24,7 +24,7 @@ image: name: beryju/authentik name_static: beryju/authentik-static name_outposts: beryju/authentik # Prefix used for Outpost deployments, Outpost type and version is appended - tag: 2021.1.1-rc2 + tag: 2021.1.1-stable serverReplicas: 1 workerReplicas: 1