Notes on the dtplugins Helm Chart
Overview#
The dtplugins Helm Chart deploys the Digital Twin CAD Plugins web application. As of Release 5.1 the CAD Plugins are no longer included in the dtplatform chart and must be installed separately.
All resource names are prefixed with the {{ dtplugins.name }} function. This will result in a prefix of {{ Chart.Name }}- (unless using .Values.nameOverride). For example, the prefix would be dtplugins- if there is no .Values.nameOverride.
Note: All settings names listed below do not have the
dtplugins-prefix since it can be updated by the installer. The Helm Chart will adjust the names as necessary.
Deployment Modes#
The CAD Plugins application can be deployed two ways:
- As a standalone nginx/web service serving the application directly
- As a migration job that copies the static files to a shared
PersistentVolumeClaimwhich is served by thestaticwebsvccreated by thedtplatformchart
The default values deploy in mode 2, which matches the default behavior of dtplatform.
To deploy in mode 1, set the following values:
ingress.ipaplugins.enabled=trueservice.ipaplugins.enabled=truedeployment.ipaplugins.enabled=truejob.ipaplugins-migrations.enabled=falseIn this mode the staticwebsvc ingress in the dtplatform chart should not be configured to serve the app URL.
To deploy in mode 2, set the following values:
ingress.ipaplugins.enabled=falseservice.ipaplugins.enabled=falsedeployment.ipaplugins.enabled=falsejob.ipaplugins-migrations.enabled=truejob.ipaplugins-migrations.persistentVolumeClaimName=staticwebsvcIn mode 2 the dtplatform chart must be installed first so that the staticwebsvc PersistentVolumeClaim exists when the migration job runs.
Configuration Maps#
The configuration maps (ConfigMaps) have references to environment variables (secret values) in the form of ${VARIABLE_NAME}. These are interpolated at runtime to avoid adding secrets to the Helm Chart values.
Global#
The settings at config.global.* configure URLs that must match those configured in the dtplatform chart.
| Key | Description | Default |
|---|---|---|
config.global.url.app | URL for platform management applications | https://app.yourdomain.com |
config.global.url.id | URL for platform identity management | https://id.yourdomain.com |
config.global.url.api | URL for REST API | https://api.yourdomain.com |
config.global.theme | Theme for installation (platform is only available value) | platform |
External#
The settings at config.external.* configure external services. The default values are empty and customer overrides are not typically required.
Internal#
The settings at config.internal.* configure internal communication between the chart's resources. No changes or overrides should be made unless specifically directed by the support team.
Override#
The settings at config.override.* configure per-resource overrides. The default values are empty.
| Key | Description | Default |
|---|---|---|
config.override.ipaplugins.* | Overrides for the ipaplugins deployment | {} |
config.override.ipaplugins-migrations.* | Overrides for the ipaplugins-migrations job | {} |
Chart Settings#
| Key | Description | Default |
|---|---|---|
image.registry | The image registry | repo.yourdomain.com |
image.prefix | Prefix to add to the image name used by dtplugins | "" |
image.suffix | Suffix to add to the image name used by dtplugins | "" |
image.pullPolicy | Kubernetes pull policy for image | Always |
image.pullSecrets | List of image pull secret names | [] |
image.tag | The image tag/label for the CAD plugins application (defaults to chart appVersion if unset) | "" |
nameOverride | Name of the chart to use on resource names | "" |
fullnameOverride | Name of the chart and release to use on resource names (not used) | "" |
enablePodRestartAnnotation | Restart pods on Helm upgrade by adding a timestamp annotation | true |
newrelic.enabled | Enable the NewRelic module (expects NEW_RELIC_LICENSE_KEY in the external secret) | false |
opentelemetry.enabled | Enable the OpenTelemetry agent | false |
opentelemetry.provider | OpenTelemetry provider type | none |
opentelemetry.endpoint | OpenTelemetry endpoint URL | none |
ingress.* | Settings for each ingress resource | Varies |
service.* | Settings for each service resource | Varies |
deployment.* | Settings for each deployment resource | Varies |
statefulset.* | Settings for each statefulset resource | Varies |
job.* | Settings for each job resource | Varies |
horizontalpodautoscaler.* | Settings for each horizontalpodautoscaler resource | Varies |