From 8039ae67a0e8e2e331e679d75a810283af83545d Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Mon, 8 Jan 2024 16:54:44 +0100 Subject: [PATCH] charts/authentik: README: add examples Signed-off-by: Marc 'risson' Schmitt --- charts/authentik/README.md | 36 +++++++++++++++++++++++++++++++ charts/authentik/README.md.gotmpl | 36 +++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/charts/authentik/README.md b/charts/authentik/README.md index 5c57009d..9ba00aa9 100644 --- a/charts/authentik/README.md +++ b/charts/authentik/README.md @@ -40,6 +40,42 @@ redis: enabled: true ``` +## Advanced values examples + +
+External PostgreSQL and Redis + +```yaml +authentik: + postgresql: + host: postgres.domain.tld + user: file:///postgres-creds/username + password: file:///postgres-creds/password + redis: + host: redis.domain.tld +server: + volumes: + - name: postgres-creds + secret: + secretName: authentik-postgres-credentials + volumeMounts: + - name: postgres-creds + mountPath: /postgres-creds + readOnly: true +worker: + volumes: + - name: postgres-creds + secret: + secretName: authentik-postgres-credentials + volumeMounts: + - name: postgres-creds + mountPath: /postgres-creds + readOnly: true +``` + +The secret `authentik-postgres-credentials` must have `username` and `password` keys. +
+ ## Maintainers | Name | Email | Url | diff --git a/charts/authentik/README.md.gotmpl b/charts/authentik/README.md.gotmpl index dd83e71c..def60807 100644 --- a/charts/authentik/README.md.gotmpl +++ b/charts/authentik/README.md.gotmpl @@ -42,6 +42,42 @@ redis: enabled: true ``` +## Advanced values examples + +
+External PostgreSQL and Redis + +```yaml +authentik: + postgresql: + host: postgres.domain.tld + user: file:///postgres-creds/username + password: file:///postgres-creds/password + redis: + host: redis.domain.tld +server: + volumes: + - name: postgres-creds + secret: + secretName: authentik-postgres-credentials + volumeMounts: + - name: postgres-creds + mountPath: /postgres-creds + readOnly: true +worker: + volumes: + - name: postgres-creds + secret: + secretName: authentik-postgres-credentials + volumeMounts: + - name: postgres-creds + mountPath: /postgres-creds + readOnly: true +``` + +The secret `authentik-postgres-credentials` must have `username` and `password` keys. +
+ {{ template "chart.maintainersSection" . }} {{ template "chart.sourcesSection" . }}