Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add values to getting started template for postgres migration user. #170

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions getting-started/templates/systemlink-secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,15 @@ testmonitorservice:
## NOTE: Ignored if `database.secretName` parameter is set.
##
connectionPassword: "" # <ATTENTION>
## Connection string that is used to perform PostgreSQL schema migrations managed by this chart.
## NOTE: Ignored unless `database.connectionString.secretName` and `database.connectionString.migrationConnectionStringKey` parameters are set.
##
migrationConnectionString: ""
## Password for the PostgresSQL user that will perform database migrations managed by this chart.
## Pairs with the username set with `database.connectionInfo.migrationUser`.
## NOTE: Ignored if `database.connectionString.secretName` parameter is set or `database.connectionInfo.migrationPasswordKey` is unset.
##
migrationConnectionPassword: ""

## Secret configuration for user data
##
Expand Down
22 changes: 18 additions & 4 deletions getting-started/templates/systemlink-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,15 +270,21 @@ testmonitorservice:
##
database:
## The PostgreSQL database connection string
## NOTE: If specified, the `database.connectionInfo` parameters are ignored.
## If `database.tls.enabled` is set to `true`, the connection string must include the
## appropriate SSL Mode (Prefer or Require).
## NOTE: If specified, the `database.connectionInfo` parameters are ignored. If
## `database.tls.enabled` is set to `true`, the connection string must include the
## appropriate SSL Mode (Prefer, Require, VerifyCA, or VerifyFull).
# <ATTENTION> - If connecting to an external PostgresSQL database, you must configure one of
# the connectionString and connectionInfo sections with the details of your database.
##
connectionString:
secretName: "testmonitorservicedb-connection"
## Key from the secret to retrieve the connection string the service will use to connect to PostgreSQL.
## NOTE: Ignored unless `database.connectionstring.secretName` parameter is set.
connectionStringKey: "connection-string"
## Key from the secret to retrieve the connection string that will be used to perform migrations managed by this chart.
## If unset database.connectionString.connectionStringKey is used instead.
## NOTE: Ignored unless `database.connectionstring.secretName` parameter is set.
migrationConnectionStringKey: null
## The PostgreSQL database connection info.
## NOTE: If the `database.connectionString` parameters are specified, the `database.connectionInfo`
## parameters are ignored.
Expand All @@ -296,13 +302,21 @@ testmonitorservice:
# ## PostgreSQL user name.
# ##
# user: "nisystemlink"
# ## PostgreSQL username used to perform migration managed by this chart.
# ## If unset database.connectionInfo.user is used instead.
# migrationUser: ""
# ## The name of an existing secret with PostgreSQL connection credentials.
# ##
# secretName: "testmonitorservicedb-connection"
# ## Password key to be retrieved from existing secret.
# ## @param database.connectionInfo.passwordKey Password key for database.connectionInfo.user to be retrieved from existing secret
# ## NOTE: Ignored unless `database.connectionInfo.secretName` parameter is set.
# ##
# passwordKey: "password"
# ## @param database.connectionInfo.migrationPasswordKey Password key for database.connectionInfo.migrationUser to be retrieved from existing secret
# ## If unset database.connectionInfo.passwordKey is used instead.
# ## NOTE: Ignored unless `database.connectionInfo.secretName` parameter is set.
# ##
# migrationPasswordKey: null
## The PostgreSQL database TLS configuration
##
tls:
Expand Down
Loading