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

Update pilot-sizing.yaml with adding DFF #234

Merged
merged 4 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
14 changes: 14 additions & 0 deletions getting-started/templates/pilot-sizing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,21 @@ dataframeservice:
# zookeeper:
# count: 1

dynamicformfields:
resources:
requests:
cpu: "125m"

memory: "160Mi"
limits:
memory: "160Mi"
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 3
NIGeorgSolbach marked this conversation as resolved.
Show resolved Hide resolved
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 90

executionsui:
resources:
requests:
Expand Down
26 changes: 26 additions & 0 deletions getting-started/templates/systemlink-secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -687,3 +687,29 @@ systemsstate:
## Refer to the MongoDB documentation for key generation: https://www.mongodb.com/docs/manual/tutorial/enforce-keyfile-access-control-in-existing-replica-set/#create-a-keyfile
##
replicaSetKey: "" # <ATTENTION>

## Secret configuration for dynamic form fields.
##
dynamicformfields:
secrets:
## Database configuration secrets. Only set one of connectionString or connectionPassword depending on whether
## the database is external or managed by this chart.
##
database:
## Connection string for an existing PostgresSQL database.
## NOTE: Ignored unless `database.connectionString.secretName` parameter is set.
##
connectionString: "" # <ATTENTION>
## Password to use for a PostgresSQL database created by this chart.
## 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: ""
72 changes: 72 additions & 0 deletions getting-started/templates/systemlink-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1256,3 +1256,75 @@ serviceregistry:
specification:
## Add the "Specification" service to the service registry if enabled
enabled: *specificationManagementEnabled

## Configuration for dynamic form fields.
##
dynamicformfields:
## Database configuration
##
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, 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: "dynamicformfields-db-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.
##
# connectionInfo:
# ## PostgreSQL host name.
# ##
# host: ""
# ## PostgreSQL port.
# ##
# port: ""
# ## PostgreSQL database name.
# ##
# dbName: "nisystemlink"
# ## 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: "dynamicformfields-db-connection"
# ## @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:
## Enable TLS communication with the PostgreSQL database.
## NOTE: If true, the public TLS certificate from the server (.pem or .crt)
## must be uploaded to the cluster as a Kubernetes ConfigMap and its name and key
## be set under the `database.tls.existingConfigMap` and `database.tls.certificateSubPath`
## parameters respectively.
## Use the database.postgresCertificate value to automatically upload this certificate.
##
enabled: true
## The name of an existing ConfigMap with a TLS certificate for the database.
##
existingConfigMap: *postgresCertificateConfigMap
## The Certificate key to be retrieved from existing ConfigMap
##
certificateSubPath: *postgresCertificateFileName