GDPR Deployment Parameters
When installing or updating GDPR using the common CloudBlue Commerce component deployment procedure, use the parameters below in config.yaml.
Component Name
gdpr-backend
Common Parameters
| Parameter | Default value |
|---|---|
| components.gdpr-backend.javaopts | -XX:MinRAMPercentage=30.0 -XX:MaxRAMPercentage=70.0 -XX:MetaspaceSize=96m -XX:MaxMetaspaceSize=256m |
| components.gdpr-backend.db_secret | gdpr-db |
| components.gdpr-backend.mindbpoolsize | 1 |
| components.gdpr-backend.maxdbpoolsize | 16 |
| components.gdpr-backend.jdbcconnectionparams | ?sslmode=require&ApplicationName=gdpr |
| components.gdpr-backend.resources.requests.cpu | 100m |
| components.gdpr-backend.resources.requests.memory | 1024Mi |
| components.gdpr-backend.resources.limits.cpu | 4 |
| components.gdpr-backend.resources.limits.memory | 2048Mi |
Specific Parameters
| Parameter | Default value | Description |
|---|---|---|
| components.gdpr-backend.period | 1 | The restart interval of the GDPR backgroud task |
| components.gdpr-backend.period_type | DAYS | The unit of measurement of the restart interval of the GDPR backgroud task |
Sample config.yaml
Default config.yaml:
---
components:
gdpr-backend: {}
Default values:
---
components:
gdpr-backend:
resources:
requests:
cpu: 100m
memory: 2048Mi
limits:
cpu: 4
memory: 2048Mi
db_secret: gdpr-db
mindbpoolsize: 1
maxdbpoolsize: 16
jdbcconnectionparams: ?sslmode=require&ApplicationName=gdpr
period: 1
type: DAYS
Sample config.yaml:
---
components:
a8n-db:
admin_password: POSTGRESQL_SERVER_ADMIN_USER_PASSWORD
admin_user: POSTGRESQL_SERVER_ADMIN_USER_NAME
host: POSTGRESQL_SERVER_DOMAIN_NAME
a8n-config:
env:
TZ: TIMEZONE
ENV_LOCALES: LOCALES
ENV_SMTP_HOST: SMTP_SERVER_ADDRESS
ENV_SMTP_PORT: SMTP_SERVER_PORT
ENV_SMTP_LOGIN: SMTP_SERVER_USERNAME
ENV_SMTP_PASSWORD: SMTP_SERVER_PASSWORD
ENV_SMTP_AUTH: "yes"
bss: {}
oss: {}
gdpr-backend: {}
How to Obtain the Current config.yaml from CloudBlue Commerce
When updating CloudBlue Commerce components, you may need to obtain the current config.yaml.
To obtain the current config.yaml from CloudBlue Commerce, on a machine with kubectl, execute the following request:
kubectl -n NAMESPACE get secret config-yaml-backup -o "jsonpath={.data['config\.yaml']}" | base64 -d
Note: NAMESPACE is the namespace of your CloudBlue Commerce installation.
To find it, execute the following command:
kubectl describe svc oss-proxy | grep namespace
How to View the Deployment Parameters with Default Values for the Component Version You Want to Install (values.yaml)
To view the deployment parameters with default values (values.yaml) for the component version you want to install, run the following command from the machine with kubectl:
helm show values <component_name_for_config.yaml> --version <component_version> --username <username_for_deployment_repository> --password <username_for_deployment_repository> --repo <a_link_to_repository_with_CloudBlue Commerce_components>
For username and password to the deployment repository, please contact your Technical Account Manager.