diff --git a/docs/local_dev_remote_kratos.md b/docs/local_dev_remote_kratos.md index 6715070e66db8be9249633015b339eccfe213246..548756b11d324ab1ebb70b33e5fd7c0a708562e0 100644 --- a/docs/local_dev_remote_kratos.md +++ b/docs/local_dev_remote_kratos.md @@ -51,7 +51,41 @@ helm get values single-sign-on -n oas > /to/a/path/my_cluster_values.yaml helm dep update ``` -4. Install the single-sign-on helmchart with kratos service +4. Configure variables + +Currently the is a default password configured for postgresql in `values.yaml`. +It is advised to change this password before installation. + +The password can be found at: + +``` +postgresql: + postgresqlDatabase: kratos + postgresqlUsername: kratos + postgresqlPassword: ChangeThisPassword +``` + +Please make sure it is in sync with the password at + +``` +kratos: + kratos: + config: + dsn: postgres://kratos:ChangeThisPassword@single-sign-on-postgresql:5432/kratos +``` + +Same is true for the SMTP service, this config entry can be found at: + +``` +kratos: + kratos: + config: + courier: + smtp: + connection_uri: smtps://username:password@smtp.example.com:456/ +``` + +5. Install the single-sign-on helmchart with kratos service ``` cd helmchart/single-sign-on diff --git a/helmchart/single-sign-on/values.yaml b/helmchart/single-sign-on/values.yaml index 95fc823d1e7af7ec80fc4733ae6c50d62435a6d9..7f4a63d5a54a0e69c68401978e949a9e97ff1c98 100644 --- a/helmchart/single-sign-on/values.yaml +++ b/helmchart/single-sign-on/values.yaml @@ -79,10 +79,6 @@ postgresql: annotations: {} postgresqlDatabase: kratos postgresqlUsername: kratos - # This will be overwritten during installation. If this helm - # chart is installed manual, this should be randomized or altered. If you - # change this, make sure the config part under kratos/kratos/config/dsn is in - # sync with this entry postgresqlPassword: kratos kratos: @@ -175,7 +171,7 @@ kratos: courier: smtp: - connection_uri: smtps://kratos:kratos@smtp.greenhost.nl:465/ + connection_uri: smtps://username:password@smtp.example.com:456/ hydra: maester: