Skip to content

Commit

Permalink
charts/authentik: README: add examples
Browse files Browse the repository at this point in the history
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
  • Loading branch information
rissson committed Jan 8, 2024
1 parent fd2c101 commit 8039ae6
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
36 changes: 36 additions & 0 deletions charts/authentik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,42 @@ redis:
enabled: true
```
## Advanced values examples
<details>
<summary>External PostgreSQL and Redis</summary>
```yaml
authentik:
postgresql:
host: postgres.domain.tld
user: file:///postgres-creds/username
password: file:///postgres-creds/password
redis:
host: redis.domain.tld
server:
volumes:
- name: postgres-creds
secret:
secretName: authentik-postgres-credentials
volumeMounts:
- name: postgres-creds
mountPath: /postgres-creds
readOnly: true
worker:
volumes:
- name: postgres-creds
secret:
secretName: authentik-postgres-credentials
volumeMounts:
- name: postgres-creds
mountPath: /postgres-creds
readOnly: true
```
The secret `authentik-postgres-credentials` must have `username` and `password` keys.
</details>

## Maintainers

| Name | Email | Url |
Expand Down
36 changes: 36 additions & 0 deletions charts/authentik/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,42 @@ redis:
enabled: true
```

## Advanced values examples

<details>
<summary>External PostgreSQL and Redis</summary>

```yaml
authentik:
postgresql:
host: postgres.domain.tld
user: file:///postgres-creds/username
password: file:///postgres-creds/password
redis:
host: redis.domain.tld
server:
volumes:
- name: postgres-creds
secret:
secretName: authentik-postgres-credentials
volumeMounts:
- name: postgres-creds
mountPath: /postgres-creds
readOnly: true
worker:
volumes:
- name: postgres-creds
secret:
secretName: authentik-postgres-credentials
volumeMounts:
- name: postgres-creds
mountPath: /postgres-creds
readOnly: true
```

The secret `authentik-postgres-credentials` must have `username` and `password` keys.
</details>

{{ template "chart.maintainersSection" . }}

{{ template "chart.sourcesSection" . }}
Expand Down

0 comments on commit 8039ae6

Please sign in to comment.