Skip to content

Commit

Permalink
website/docs: fixed formatting on tabs (#7609)
Browse files Browse the repository at this point in the history
* fixed formatting on tabs

* sync tabs and use same code blocks for both

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Tana Berry <tana@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
  • Loading branch information
3 people authored Nov 17, 2023
1 parent ce86b20 commit aecd4b5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions website/docs/installation/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,22 @@ 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
```

</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>

Expand All @@ -41,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
```

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

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

</TabItem>

Expand Down

0 comments on commit aecd4b5

Please sign in to comment.