Skip to content

Commit

Permalink
Update pilot-sizing.yaml with adding DFF (#234)
Browse files Browse the repository at this point in the history
* Update pilot-sizing.yaml with adding DFF

* add dff to values

* add dff to secrets

* Update pilot-sizing.yaml

update maxReplicas to 1

---------

Co-authored-by: Georg Solbach <[email protected]>
  • Loading branch information
NIGeorgSolbach and GeorgSolbach authored Dec 3, 2024
1 parent 80954e7 commit f2d6419
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 0 deletions.
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: 1
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

0 comments on commit f2d6419

Please sign in to comment.