Compare commits

...

5 Commits

Author SHA1 Message Date
78cfd95198 chore: publish 5.0.1+2024.2.2 release 2024-03-12 15:00:08 +01:00
4593eb6340 bump blueprint version 2024-03-12 14:59:15 +01:00
0419ed279d chore: publish 5.0.0+2024.2.2 release 2024-03-12 14:27:32 +01:00
abb49e7019 chore: publish 4.3.0+2023.10.7 release 2024-03-12 11:13:25 +01:00
74f654c192 WIP upgrade 2024-03-06 14:28:51 +01:00
7 changed files with 23 additions and 8 deletions

View File

@ -169,7 +169,7 @@ The `abra.sh` function `apply_blueprints` needs to be executed to deactivate the
- `default-source-enrollment-field-username` - `default-source-enrollment-field-username`
- Custom System Tenant - Custom System Tenant
- Default - Tenant - Default - Tenant
- APPEND: `authentik_tenants.tenant domain: authentik-default` - APPEND: `authentik_brands.brand domain: authentik-default`
- Recovery with email verification - Recovery with email verification
- USE: - USE:
- `default-recovery-flow` - `default-recovery-flow`

View File

@ -1,6 +1,6 @@
export CUSTOM_CSS_VERSION=v2 export CUSTOM_CSS_VERSION=v2
export FLOW_AUTHENTICATION_VERSION=v3 export FLOW_AUTHENTICATION_VERSION=v3
export FLOW_INVITATION_VERSION=v1 export FLOW_INVITATION_VERSION=v2
export FLOW_INVALIDATION_VERSION=v2 export FLOW_INVALIDATION_VERSION=v2
export FLOW_RECOVERY_VERSION=v1 export FLOW_RECOVERY_VERSION=v1
export FLOW_TRANSLATION_VERSION=v2 export FLOW_TRANSLATION_VERSION=v2

View File

@ -32,7 +32,7 @@ x-env: &env
version: '3.8' version: '3.8'
services: services:
app: app:
image: ghcr.io/goauthentik/server:2023.10.7 image: ghcr.io/goauthentik/server:2024.2.2
command: server command: server
depends_on: depends_on:
- db - db
@ -76,11 +76,11 @@ services:
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.customFrameOptionsValue=SAMEORIGIN" - "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.customFrameOptionsValue=SAMEORIGIN"
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.contentSecurityPolicy=frame-ancestors ${X_FRAME_OPTIONS_ALLOW_FROM}" - "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.contentSecurityPolicy=frame-ancestors ${X_FRAME_OPTIONS_ALLOW_FROM}"
- "coop-cloud.${STACK_NAME}.version=4.2.0+2023.10.7" - "coop-cloud.${STACK_NAME}.version=5.0.1+2024.2.2"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}" - "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
worker: worker:
image: ghcr.io/goauthentik/server:2023.10.7 image: ghcr.io/goauthentik/server:2024.2.2
command: worker command: worker
depends_on: depends_on:
- db - db

View File

@ -402,4 +402,4 @@ entries:
identifiers: identifiers:
pk: 047cce25-aae2-4b02-9f96-078e155f803d pk: 047cce25-aae2-4b02-9f96-078e155f803d
id: system_tenant id: system_tenant
model: authentik_tenants.tenant model: authentik_brands.brand

View File

@ -24,6 +24,18 @@ entries:
id: invitation-enrollment-flow id: invitation-enrollment-flow
model: authentik_flows.flow model: authentik_flows.flow
### POLICIES
- attrs:
expression: |
if not regex_match(request.context.get('prompt_data').get('username'), '\s'):
return True
ak_message("Username must not contain any whitespace!")
return False
id: username-without-spaces-policy
identifiers:
name: username-without-spaces-policy
model: authentik_policies_expression.expressionpolicy
### STAGES ### STAGES
- identifiers: - identifiers:
name: invitation-stage name: invitation-stage
@ -41,6 +53,8 @@ entries:
- !Find [authentik_stages_prompt.prompt, [name, default-user-settings-field-email]] - !Find [authentik_stages_prompt.prompt, [name, default-user-settings-field-email]]
- !Find [authentik_stages_prompt.prompt, [name, default-password-change-field-password]] - !Find [authentik_stages_prompt.prompt, [name, default-password-change-field-password]]
- !Find [authentik_stages_prompt.prompt, [name, default-password-change-field-password-repeat]] - !Find [authentik_stages_prompt.prompt, [name, default-password-change-field-password-repeat]]
validation_policies:
- !Find [ authentik_policies_expression.expressionpolicy, [name, username-without-spaces-policy]]
### STAGE BINDINGS ### STAGE BINDINGS
- identifiers: - identifiers:

1
release/5.0.0+2024.2.2 Normal file
View File

@ -0,0 +1 @@
Blueprint changes are applied and automatic migrations should work, however, manual action may be required: https://docs.goauthentik.io/docs/releases/2024.2

View File

@ -21,7 +21,7 @@ entries:
# remove custom tenant from old recipe # remove custom tenant from old recipe
- identifiers: - identifiers:
domain: {{ env "DOMAIN" }} domain: {{ env "DOMAIN" }}
model: authentik_tenants.tenant model: authentik_brands.brand
state: absent state: absent
- attrs: - attrs:
@ -32,4 +32,4 @@ entries:
identifiers: identifiers:
default: true default: true
domain: authentik-default domain: authentik-default
model: authentik_tenants.tenant model: authentik_brands.brand