From 7aeb390eac4813da89061a74a2c71f2b5958cfab Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 17 Apr 2021 11:06:21 +0200 Subject: [PATCH] docs: add note for minimum values.yaml file for k8s install closes #745 Signed-off-by: Jens Langhammer --- website/docs/installation/kubernetes.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/website/docs/installation/kubernetes.md b/website/docs/installation/kubernetes.md index 1d10294cb..54c68740f 100644 --- a/website/docs/installation/kubernetes.md +++ b/website/docs/installation/kubernetes.md @@ -4,12 +4,26 @@ title: Kubernetes installation For a mid to high-load installation, Kubernetes is recommended. authentik is installed using a helm-chart. -To install authentik using the helm chart, run these commands: +To install authentik using the helm chart, generate a password for the database and the cache, using `pwgen` or `openssl rand -base64 36`. + +Create a values.yaml file with a minimum of these settings: + +```yaml +postgresql: + postgresqlPassword: "" +redis: + password: "" +config: + secretKey: "" +# Optionally configure more things, as seen in the full values.yaml file below. +``` + +Afterwards, run these commands to install authentik: ``` helm repo add authentik https://docker.beryju.org/chartrepo/authentik helm repo update -helm install authentik/authentik --devel -f values.yaml +helm install authentik/authentik -f values.yaml ``` This installation automatically applies database migrations on startup. After the installation is done, navigate to the `https:///if/flow/initial-setup/`, to set a password for the akadmin user. @@ -38,7 +52,7 @@ monitoring: # Optionally deploy Prometheus Rules and ServiceMonitors pvc: mode: ReadWriteMany uploadsSize: 5Gi - uploadsStorageClass: null + uploadsStorageClass: null # null uses the default storage class geoIpSize: 1Gi geoIpStorageClass: null