Skip to content

lifecycle: fix AWS cloudformation template defaults - #26807

Merged
melizeche merged 3 commits into
mainfrom
fix/aws
Oct 13, 2026
Merged

melizeche merged 3 commits into
mainfrom
fix/aws

Conversation

@melizeche

Copy link
Copy Markdown
Member

The AWS template didn't deploy with default parameters:

  • DBVersion defaulted to 17.1, which RDS no longer offers. It now defaults to 17, and RDS picks its current default minor version (17.9 right now).
  • RDS PostgreSQL 15+ enforces TLS (rds.force_ssl=1) and authentik defaults to sslmode: disable, so the server and worker failed with no pg_hba.conf entry ... no encryption. Both now set AUTHENTIK_POSTGRESQL__SSLMODE=require.

I used require instead of verify-full because the image doesn't ship the RDS CA bundle, and adding it is out of scope here. The DB is only reachable from the authentik security group in private subnets.

template.yaml is regenerated with make aws-cfn, and I added a line to the AWS install docs. cfn-lint shows nothing new.

@melizeche
melizeche requested review from a team as code owners October 9, 2026 18:14
Comment thread lifecycle/aws/app.py Resolved
@netlify

netlify Bot commented Oct 9, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit a6844e5
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ac92f1a2f2c44000829531b
😎 Deploy Preview https://deploy-preview-26807--authentik-docs.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 project configuration.

Signed-off-by: Marcelo Elizeche Landó <[email protected]>
@codecov

codecov Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.39%. Comparing base (a40205d) to head (88a6031).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #26807      +/-   ##
==========================================
- Coverage   92.43%   92.39%   -0.04%     
==========================================
  Files        1179     1179              
  Lines       78537    78537              
  Branches     4129     4129              
==========================================
- Hits        72594    72568      -26     
- Misses       5877     5903      +26     
  Partials       66       66              
Flag Coverage Δ
conformance 32.69% <ø> (ø)
e2e 37.44% <ø> (+<0.01%) ⬆️
integration 29.03% <ø> (-0.50%) ⬇️
rust 46.45% <ø> (ø)
unit 93.86% <ø> (+<0.01%) ⬆️
unit-migrate 93.86% <ø> (+<0.01%) ⬆️

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

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

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 37972391858 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-88a6031fe76acff9dac7730c7c361c4ac21b4dbe
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
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-88a6031fe76acff9dac7730c7c361c4ac21b4dbe

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

@BeryJu BeryJu changed the title infra: fix AWS cloudformation template defaults lifecycle: fix AWS cloudformation template defaults Oct 9, 2026
@melizeche
melizeche merged commit 4f8391b into main Oct 13, 2026
147 checks passed
@melizeche
melizeche deleted the fix/aws branch October 13, 2026 14:04
@melizeche melizeche moved this from Todo to Done in authentik Core Oct 13, 2026
@melizeche melizeche self-assigned this Oct 13, 2026
@melizeche melizeche added the backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 label Oct 13, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.8 created: #26881

melizeche added a commit that referenced this pull request Oct 13, 2026
… to version-2026.8) (#26881)

lifecycle: fix AWS cloudformation template defaults (#26807)

* Set postgresql sslmode to require

* Don't set postgresql minor version, let aws choose the default for the region

* remove comment



---------

Signed-off-by: Marcelo Elizeche Landó <[email protected]>
Co-authored-by: Marcelo Elizeche Landó <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:infrastructure backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants