Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Demonsthere authored May 15, 2024
1 parent 884d3ad commit ce0d158
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/helm/keto.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ where changes are on:
If you use need to construct DSN environment variable on the fly, you can leave
`keto.config.dsn` empty and provide custom DSN variable via `extraEnv`, e.g.:

> **Note:** extraEnvs are defined separatly for individual objects (deployments, statefulsets, jobs etc), and therefore you need to define the env for all objects using it. Please refer to [kratos values as an example](https://github.dev/ory/k8s/blob/master/helm/charts/kratos/values.yaml)

```yaml
deployment:
extraEnv:
Expand Down
26 changes: 25 additions & 1 deletion docs/helm/kratos.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,38 @@ Additionally, the following extra settings are available:
If you use need to construct DSN environment variable on the fly, you can leave
`kratos.config.dsn` empty and provide custom DSN variable via `extraEnv`, e.g.:

> **Note:** extraEnvs are defined separatly for individual objects (deployments, statefulsets, jobs etc), and therefore you need to define the env for all objects using it. Please refer to [kratos values as an example](https://github.dev/ory/k8s/blob/master/helm/charts/kratos/values.yaml)
```yaml
deployment:
extraEnv:
- name: DSN
valueFrom:
secretKeyRef:
name: kratos-dsn-secret
name: dsn-secret
key: dsn
statefulSet:
extraEnv:
- name: DSN
valueFrom:
secretKeyRef:
name: dsn-secret
key: dsn
job:
extraEnv:
- name: DSN
valueFrom:
secretKeyRef:
name: dsn-secret
key: dsn
cronjob:
cleanup:
extraEnv:
- name: DSN
valueFrom:
secretKeyRef:
name: dsn-secret
key: dsn
```
### Custom Secrets
Expand Down

0 comments on commit ce0d158

Please sign in to comment.