victorious-eye-56567
06/12/2023, 1:13 PMchilly-king-10285
06/12/2023, 1:13 PMchilly-king-10285
06/12/2023, 1:14 PMbash kubectl create secret generic my-secure-secret --from-literal=dsn=<postgres://foo:[[email> protected]](<https://www.ory.sh/cdn-cgi/l/email-protection>):1234/db helm install \ ... --set 'hydra.existingSecret=my-secure-secret' \ ... ory/hydra
Source: [Kubernetes Helm Chart - Installation - Part 1](https://www.ory.sh/docs/hydra/self-hosted/kubernetes-helm-chart) You can follow a similar approach for Ory Kratos and Oathkeeper. First, ensure that your external secret is accessible as a Kubernetes Secret in your cluster. Then, modify the Helm chart values to use the existing secret for the DSN value. Unfortunately, the exact Helm chart values for Kratos and Oathkeeper are not provided in the given extracts. You may need to refer to their respective Helm chart documentation for the specific values to set for using an existing secret.