5.1 Configuring Data Store

You can modify the database details in the SecureLogin-Server-x.x.x.x\values.yaml file. Configuring or modifying the datastore from the web console is not supported in this release.

  1. Open the SecureLogin-Server-x.x.x.x\values.yaml file.

  2. Under DBProperties, specify the following details:

    Field

    Value

    secret

    The secret name.

    For example, my-db-secret

    SecureLogin does not save username, password, host, port, and data base name into a text file. These are converted into a secret. The server pod uses this secret. All pods refer to this secret to use the same credentials.

    username

    The username of the PostgreSQL database.

    password

    The password of the PostgreSQL database. You must change the default value after deployment.

    NOTE:To change the password second time onward, you must also change the value of secret under DBProperties.

    host

    The database’s IP address or service name.

    port

    The port number used by the database.

    For example, 5432

    dbName

    The database name.

    For example, securelogin_Top_db

  3. Save the file.

  4. Perform a helm install or upgrade using the following command:

    • To install:

      helm install <name-of-the-release> <name-of-the-helm-chart> -n <name-of-the-namespace>

      For example, helm install slserver001 SecureLogin-Server-x.x.x.x -n nsl-namespace

    • To upgrade:

      helm upgrade <release-name> <name-of-the-helm-chart> -n <name-of-the-namespace>

      For example, helm upgrade slserver SecureLogin-Server-x.x.x.x -n my-ingress