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