Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

website/docs: fixed formatting on tabs #7609

Merged
merged 2 commits into from
Nov 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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