Skip to content

Commit

Permalink
sync tabs and use same code blocks for both
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
  • Loading branch information
BeryJu committed Nov 17, 2023
1 parent ec95366 commit 2c99469
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions website/docs/installation/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,23 @@ All of these variables can be set to values, but you can also use a URI-like for
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

<Tabs>
<Tabs groupId="platform">
<TabItem value="docker-compose" label="Docker Compose" default>
If you are using Docker Compose, edit your <code>.env</code> file to append any keys that you want to add, and then run the following command to apply them:

`docker-compose up -d`
```
docker-compose up -d
```

</TabItem>
<TabItem value="kubernetes" label="Kubernetes">
If you are running in Kubernetes, edit your <code>values.yaml</code> file to append any keys that you want to add, and then run the following commands to apply:

```
```
helm repo update
helm upgrade --install authentik authentik/authentik -f values.yaml
```
```

</TabItem>

</Tabs>
Expand All @@ -42,15 +45,19 @@ import TabItem from "@theme/TabItem";

To check if your config has been applied correctly, you can run the following command to output the full config:

<Tabs>
<Tabs groupId="platform">
<TabItem value="docker-compose" label="Docker Compose" default>

`docker-compose run --rm worker dump_config`
```
docker-compose run --rm worker dump_config
```

</TabItem>
<TabItem value="kubernetes" label="Kubernetes">

`kubectl exec -it deployment/authentik-worker -c authentik -- ak dump_config`
```
kubectl exec -it deployment/authentik-worker -c authentik -- ak dump_config
```

</TabItem>

Expand Down

0 comments on commit 2c99469

Please sign in to comment.