Skip to content

Commit 2da4d7c

Browse files
committed
fix(docs): use new custom secret config keys
1 parent 9ed6109 commit 2da4d7c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/hydra/self-hosted/kubernetes-helm-chart.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To install Ory Hydra, the following [configuration values](../reference/configur
1616
- `hydra.config.urls.consent`
1717
- `hydra.config.secrets.system`
1818

19-
> **NOTE:** If no `hydra.config.secrets.system` secrets is supplied and `hydra.existingSecret` is empty, a secret is generated
19+
> **NOTE:** If no `hydra.config.secrets.system` secrets is supplied and `secret.enabled` is `false`, a secret is generated
2020
> automatically. The generated secret is cryptographically secure, and 32 signs long.
2121
2222
If you wish to install Ory Hydra with an in-memory database, a cryptographically strong secret, a Login and Consent provider
@@ -43,7 +43,8 @@ helm install \
4343
```
4444

4545
Alternatively, you can use an existing [Kubernetes Secret](https://kubernetes.io/docs/concepts/configuration/secret/) instead of
46-
letting the Helm Chart create one for you:
46+
letting the Helm Chart create one for you, by setting `secret.enabled` to `false`. You can customize the expected name of the
47+
custom secret using `secret.nameOverride`.
4748

4849
```sh
4950

@@ -53,7 +54,8 @@ kubectl create secret generic my-secure-secret --from-literal=dsn=postgres://foo
5354

5455
helm install \
5556
...
56-
--set 'hydra.existingSecret=my-secure-secret' \
57+
--set 'secret.enabled=false` \
58+
--set 'secret.nameOverride=my-secure-secret' \
5759
...
5860
ory/hydra
5961
```

0 commit comments

Comments
 (0)