From 01048918f161e44fe446c6e9e70ace802002c6b4 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Mon, 9 Dec 2024 15:40:40 +0100 Subject: [PATCH] charts/authentik: update postgresql and redis (#293) --- charts/authentik/Chart.yaml | 4 +-- charts/authentik/README.md | 6 +++-- .../ci/ct-extracontainer-values.yaml | 25 ------------------- charts/authentik/values.yaml | 3 +++ 4 files changed, 9 insertions(+), 29 deletions(-) delete mode 100644 charts/authentik/ci/ct-extracontainer-values.yaml diff --git a/charts/authentik/Chart.yaml b/charts/authentik/Chart.yaml index f8d27c8..701b915 100644 --- a/charts/authentik/Chart.yaml +++ b/charts/authentik/Chart.yaml @@ -30,11 +30,11 @@ maintainers: url: https://goauthentik.io dependencies: - name: postgresql - version: 12.12.10 + version: 16.0.4 repository: oci://registry-1.docker.io/bitnamicharts condition: postgresql.enabled - name: redis - version: 18.6.1 + version: 20.2.1 repository: oci://registry-1.docker.io/bitnamicharts condition: redis.enabled - name: authentik-remote-cluster diff --git a/charts/authentik/README.md b/charts/authentik/README.md index bad0c63..16dda70 100644 --- a/charts/authentik/README.md +++ b/charts/authentik/README.md @@ -92,8 +92,8 @@ The secret `authentik-postgres-credentials` must have `username` and `password` | Repository | Name | Version | |------------|------|---------| | https://charts.goauthentik.io | serviceAccount(authentik-remote-cluster) | 2.0.0 | -| oci://registry-1.docker.io/bitnamicharts | postgresql | 12.12.10 | -| oci://registry-1.docker.io/bitnamicharts | redis | 18.6.1 | +| oci://registry-1.docker.io/bitnamicharts | postgresql | 16.0.4 | +| oci://registry-1.docker.io/bitnamicharts | redis | 20.2.1 | ## Values @@ -176,6 +176,8 @@ The secret `authentik-postgres-credentials` must have `username` and `password` | postgresql.auth.database | string | `"authentik"` | | | postgresql.auth.username | string | `"authentik"` | | | postgresql.enabled | bool | `false` | enable the Bitnami PostgreSQL chart. Refer to https://github.com/bitnami/charts/blob/main/bitnami/postgresql/ for possible values. | +| postgresql.image.repository | string | `"bitnami/postgresql"` | | +| postgresql.image.tag | string | `"15.8.0-debian-12-r18"` | | | postgresql.primary.extendedConfiguration | string | `"max_connections = 500\n"` | | | prometheus.rules.annotations | object | `{}` | PrometheusRule annotations | | prometheus.rules.enabled | bool | `false` | | diff --git a/charts/authentik/ci/ct-extracontainer-values.yaml b/charts/authentik/ci/ct-extracontainer-values.yaml deleted file mode 100644 index c526cf5..0000000 --- a/charts/authentik/ci/ct-extracontainer-values.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -authentik: - log_level: debug - secret_key: 5up3r53cr37K3y - postgresql: - password: au7h3n71k - -postgresql: - enabled: true - auth: - password: au7h3n71k - persistence: - enabled: false - -redis: - enabled: true - -worker: - extraContainers: - - name: sidecar-blueprints - image: ghcr.io/kiwigrid/k8s-sidecar:latest -server: - extraContainers: - - name: sidecar-blueprints - image: ghcr.io/kiwigrid/k8s-sidecar:latest diff --git a/charts/authentik/values.yaml b/charts/authentik/values.yaml index 02bb1bf..f316216 100644 --- a/charts/authentik/values.yaml +++ b/charts/authentik/values.yaml @@ -975,6 +975,9 @@ prometheus: postgresql: # -- enable the Bitnami PostgreSQL chart. Refer to https://github.com/bitnami/charts/blob/main/bitnami/postgresql/ for possible values. enabled: false + image: + repository: bitnami/postgresql + tag: 15.8.0-debian-12-r18 auth: username: authentik database: authentik