Skip to Content

Environment Parameters

The pages of Environment Initialization use placeholders in angle brackets, such as <INTERNAL_NAMESPACE>, for values that each installation chooses. This page defines each placeholder once and shows an example of its value. A placeholder stands for the same value wherever it appears, so a value chosen for one release is reused unchanged in the values of the other releases. A placeholder is replaced together with its angle brackets.

The examples describe one fictional environment, so they fit together: the namespaces rsh-hub and rsh-portal, the releases rsh-internal and rsh-external, and hosts under rsh.example.com. An installation replaces them with its own names. A host is a DNS name without https://; where a value needs a URL, the pages put https:// in front of the host, as in https://<HUB_HOST>.

Environment

These placeholders are shared by every release of the environment.

PlaceholderValueExampleUsed in
<NAMESPACE>Kubernetes namespace of layout A, which holds both releases of the RSH chart, Datacollection and Licensing. See Environment layout.rshhelm -n in layout A
<INTERNAL_NAMESPACE>Kubernetes namespace of the internal release and of the modules. Its hosts are reached from the internal network; the portal hosts of the modules are published to the portal users. When Licensing is split, its internal side stays here.rsh-hubhelm -n, in-cluster service addresses
<EXTERNAL_NAMESPACE>Kubernetes namespace of the external release, and of the external side of Licensing when that side is installed as its own release. Its hosts are published to the portal users.rsh-portalhelm -n of the external release
<IMAGE_REGISTRY>Registry host and path that the charts pull their images from, without https://. These pages assume a mirror of the Regnology delivery registry that serves every image from one path. When the images are pulled from the delivery registry directly, each registry key takes the path of its chart instead, as given in the installation documentation.registry.example.com/rshglobal.imageRegistry and the equivalent key of each chart
<IMAGE_PULL_SECRET>Name of the image pull Secret for <IMAGE_REGISTRY>, in both namespaces.rsh-registryimagePullSecrets and the equivalent key of each chart
<CA_BUNDLE_FILE>Path of a PEM file with the CA certificates that sign the ingress certificates. Needed only when those certificates are not signed by a publicly trusted CA../ca-bundle.pem--set-file global.caCert=<CA_BUNDLE_FILE>
<INGRESS_CLASS>Ingress class of the cluster, as listed by kubectl get ingressclass.traefikIngress values of each module chart, and iam.global.authGateway.ingress.class of both RSH releases when the default class of the cluster is not used
<CLUSTER_ISSUER>cert-manager ClusterIssuer that issues the ingress certificates, when cert-manager is used, as listed by kubectl get clusterissuer.letsencryptcert-manager.io/cluster-issuer ingress annotations
<TLS_SECRET>Name of the TLS Secret of an ingress, when certificates are provided without cert-manager. It is created in the namespace of the release whose hosts it covers.rsh-hub-tlsIngress values of each chart
<STORAGE_CLASS>StorageClass for persistent volumes, as listed by kubectl get storageclass.standard-rwoDatabase and volume values of each module chart; the NATS volume of the RSH chart uses the default StorageClass
<X_CHART>, <X_VERSION>, <X_RELEASE>Chart reference, chart version and release name of a component, where X is PLATFORM (the RSH chart, which has two releases, <INTERNAL_RELEASE> and <EXTERNAL_RELEASE>), DATACOLLECTION or LICENSING. The chart locations are under Where to get the charts. The version is the one delivered for the release.oci://delivery.regnology.net/rsh-viz-oci/vizor and licensinghelm upgrade -i <X_RELEASE> <X_CHART> --version <X_VERSION>
<SMTP_HOST>, <SMTP_PORT>, <SMTP_FROM>, <SMTP_FROM_DISPLAY_NAME>Host name and port of the mail server, and the sender address and sender name of the e-mails.smtp.example.com, 587, noreply@example.com and RSH PlatformIAM global.smtpServer and the mail settings of the modules
<ENTITY_ID>ID of a reporting entity, as the global entities context of IAM lists it, for permissions scoped to one entity.ENTITY-001IAM permissions

Shared file storage

The Platform API instances of the environment read files by their s3://<bucket>/… URI, so they use the same storage endpoint and bucket. See File Storage and Platform API Storage Configuration.

PlaceholderValueExampleUsed in
<STORAGE_URL>URL of the S3 API endpoint of the shared storage. Must begin with https:// when SSL is used.https://s3.example.comglobal.storage.url and platform-api.api.storage.url of Datacollection and Licensing
<BUCKET>Name of the bucket shared by the Platform API instances of the environment.rsh-filesglobal.storage.bucket and platform-api.api.storage.bucket of Datacollection and Licensing
<STORAGE_SECRET>Name of the Secret holding the storage access key and secret key, under the keys username and password.rsh-storageglobal.storage.existingSecret and platform-api.api.storage.existingSecret of Datacollection

Platform and IAM

These placeholders are replaced in the values and commands of the two RSH releases on Platform and IAM Releases, and in the module values that point at IAM.

PlaceholderValueExampleUsed in
<INTERNAL_RELEASE>Name of the release of the RSH chart for the internal boundary, in <INTERNAL_NAMESPACE>. It also runs NATS.rsh-internalhelm upgrade -i, service names such as <INTERNAL_RELEASE>-nats
<EXTERNAL_RELEASE>Name of the release of the RSH chart for the external boundary, in <EXTERNAL_NAMESPACE>.rsh-externalhelm upgrade -i, service names such as <EXTERNAL_RELEASE>-backend
<release>Either release of the RSH chart, <INTERNAL_RELEASE> or <EXTERNAL_RELEASE>, where a name applies to both.rsh-internalSecret and hook names such as <release>-keycloak-admin-secret
<NATS_URL>nats://<INTERNAL_RELEASE>-nats.<INTERNAL_NAMESPACE>.svc.cluster.local:4222, the full name of the NATS service, which resolves from both namespaces. A cluster with another DNS domain than cluster.local uses that domain instead.nats://rsh-internal-nats.rsh-hub.svc.cluster.local:4222The external release, Datacollection and Licensing
<BASE_DOMAIN>DNS domain under which the IAM and Keycloak hosts are created, without a leading dot.rsh.example.comiam.global.domain.base
<INTERNAL_IAM_PREFIX>Host prefix of the internal IAM, ending with a dot.iam-supervisioncenter.iam.global.domain.prefix.iam
<INTERNAL_KEYCLOAK_PREFIX>Host prefix of the internal Keycloak, ending with a dot.iam-supervisioncenter.keycloak.iam.global.domain.prefix.keycloak
<EXTERNAL_IAM_PREFIX>, <EXTERNAL_KEYCLOAK_PREFIX>The same for the external IAM. They differ from the internal prefixes because both releases use <BASE_DOMAIN>.iam-portal. and iam-portal.keycloak.The same keys of the external release
<INTERNAL_IAM_HOST>, <EXTERNAL_IAM_HOST>, <INTERNAL_KEYCLOAK_HOST>, <EXTERNAL_KEYCLOAK_HOST>The hosts that result: a prefix followed by <BASE_DOMAIN>, for example <INTERNAL_IAM_PREFIX><BASE_DOMAIN>.iam-supervisioncenter.rsh.example.com and iam-supervisioncenter.keycloak.rsh.example.comSigning in to IAM, OIDC settings of the modules
<INTERNAL_ISSUER>, <EXTERNAL_ISSUER>https://<KEYCLOAK_HOST>/realms/<REALM> of each side, for example https://<INTERNAL_KEYCLOAK_HOST>/realms/<INTERNAL_REALM>.https://iam-supervisioncenter.keycloak.rsh.example.com/realms/supervisory-hubOIDC settings of the modules
<INTERNAL_REALM>Keycloak realm of the internal IAM.supervisory-hub (the chart default)iam.global.keycloak.realm, OIDC settings of the modules
<EXTERNAL_REALM>Keycloak realm of the external IAM.supervisory-portalThe same
<INTERNAL_ADMIN_USERNAME>, <INTERNAL_ADMIN_EMAIL>First administrator of <INTERNAL_REALM>, and the e-mail address that its password-setup e-mail is sent to. With an identity provider that uses e-mail addresses as user names, both are the e-mail address.hub-admin and hub-admin@example.comiam.keycloak.adminUsername, iam.keycloak.adminEmail and iam.backend.superAdminUsername of the internal release
<EXTERNAL_ADMIN_USERNAME>, <EXTERNAL_ADMIN_EMAIL>The same for <EXTERNAL_REALM>.portal-admin and portal-admin@example.comThe same keys of the external release

Datacollection

These placeholders are replaced in the values on Datacollection Module.

PlaceholderValueExampleUsed in
<DATACOLLECTION_DOMAIN>DNS domain used in the TLS Secret name and as a fallback URL. It does not build the hosts: those are set one by one below and normally end with this domain.rsh.example.comglobal.domain
<HUB_HOST>Host of the supervision centre frontend.hub.rsh.example.comregulator-platform.frontend.ingress.hostname and the rsh URLs
<PORTAL_HOST>Host of the portal.portal.rsh.example.comregulator-portal.portal.ingress.hostname and the rsh URLs
<RELAY_GATEWAY_HOST>Host of the relay gateway.relay-gateway.rsh.example.comIngress values on Datacollection Module
<MOBILE_HOST>Host of the mobile backend.mobile.rsh.example.comIngress values on Datacollection Module
<SUPERSET_HOST>Host of Superset.superset.rsh.example.comThe same
<JUPYTER_HOST>Host of Jupyter.jupyter.rsh.example.comThe same
<WORKFLOW_HOST>Host of the workflow service.workflow.rsh.example.comThe same
<SCHEMA_GENERATOR_HOST>Host of the schema generator.schema-generator.rsh.example.comThe same
<TRINO_HOST>Host of Trino.trino.rsh.example.comThe same
<CONTENT_GIT_HOST>Host name of the GitLab server that holds the Datacollection content, without https://.git.example.comglobal.gitlab.hostname
<CONTENT_GROUP>GitLab group of the content repositories.contentglobal.gitlab.contentGroup
<SMTP_USER>SMTP user of Datacollection.noreply@example.comregulator-platform.smtp.user

Licensing

These placeholders are replaced in the values on Licensing Module.

PlaceholderValueExampleUsed in
<LICENSING_RELEASE_TAG>Licensing application release delivered with the chart.the release delivered for the installationreleaseTag
<LICENSING_SUPERVISION_HOST>Host of the supervision application.licensing.rsh.example.comsupervision.ingress.hostname
<LICENSING_PORTAL_HOST>Host of the portal.licensing-portal.rsh.example.comportal.ingress.hostname
<LICENSING_INTERNAL_API_HOST>Host of the internal API service.licensing-api.rsh.example.comvasInt.ingress.hostname
<LICENSING_EXTERNAL_API_HOST>Host of the external API service.licensing-api-portal.rsh.example.comvasExt.ingress.hostname
<LICENSING_DB_MANAGER_HOST>Host of the database manager.licensing-db.rsh.example.comdatabase.backup.ingress.hostname
<LICENSING_RESOURCES_REPOSITORY>Host and path of the Git repository of the Licensing resources, without a scheme. The chart adds https:// and the access token in front of this value, so a value that already starts with https:// produces a broken clone URL.git.example.com/rsh/licensing-resources.gitweb.gitResources.url
<LICENSING_GIT_SECRET>Name of the Secret holding the access token of that repository, under the key accessToken.licensing-gitweb.gitResources.credentialsSecretName
<LICENSING_DB_SECRET>Name of the Secret holding the passwords of the database users and keys, with the keys described in the Licensing chart documentation.licensing-dbdatabase.credentials.credentialsSecretName
<LICENSING_MAIL_SECRET>Name of the Secret holding the SMTP login, under the keys hostUsername and hostPassword.licensing-mailweb.mail.credentialsSecretName
<LICENSING_JWT_SIGNING_KEY>Key that signs the tokens of one Licensing API service: a long random string generated for the installation, for example with openssl rand -base64 48, and kept secret. config.vasInt.api sets it for the internal API service. config.vasExt.api is a separate XML for the external API service and keeps the chart default until it is overridden the same way.None, because the value is secretSystem.Auth.Jwt.SymmetricKey in config.vasInt.api and config.vasExt.api
<LICENSING_ROLE_ID>ID of a Licensing role, a UUID, as returned by its roles endpoints. The IDs come from the Licensing database content and differ between installations.123e4567-e89b-12d3-a456-426614174000IAM permissions

Names that stay as they are

Some names are defined by the software and are the same in every environment. They appear on these pages without angle brackets and are kept as shown, because other values refer to them:

  • NATS streams and their subjects: entity (hub.entity), entitygroup (hub.entitygroup), submission (hub.submission), integration (hub.integration, hub.integration.>) and incident (hub.incident).
  • Application IDs that the modules register with IAM: DataCollection-Module and MDM-Module (Datacollection and its MDM part) and licensing. A module subscribes to hub.integration.<application ID> to receive IAM’s answer to its registration.
  • The Keycloak client IDs on the module pages, such as rsh-datacollection-api or vizor-licensing-client. Some of them are set by a value of the module chart, for example rsh.rshKeycloakClient for rsh-datacollection-api, and are kept as shown because other values refer to them.
  • Chart names: regulator is the Datacollection chart and vizor the Licensing chart.
  • The organization-wide entity group all, which is the default of both IAM backend.allEntityGroupId and Datacollection rsh.allEntityGroupId.

Secrets

No password, client secret, token or licence key appears on these pages. They name the Kubernetes Secrets and the values that hold them.

The environment uses the following Kubernetes Secrets. The pages refer to them by name only. A Secret belongs to a namespace, and a release reads only the Secrets of its own namespace. The Secrets of the external release, and its copy of <IMAGE_PULL_SECRET>, are in <EXTERNAL_NAMESPACE>; all others are in <INTERNAL_NAMESPACE>.

SecretHoldsCreated by
<IMAGE_PULL_SECRET>Login of <IMAGE_REGISTRY>, in both namespacesThe installer. Some charts create a pull Secret themselves when the registry login is given as values.
<STORAGE_SECRET>Login of the shared file storage, keys username and passwordThe installer
<TLS_SECRET>Ingress certificate, when cert-manager is not usedThe installer
<INTERNAL_RELEASE>-keycloak-admin-secret, <EXTERNAL_RELEASE>-keycloak-admin-secretPassword of the Keycloak server administrator, key admin-passwordIAM secret-init job
<INTERNAL_RELEASE>-appsettings-secret, <EXTERNAL_RELEASE>-appsettings-secretExactly two keys: client-secret (IAM’s api-service-account client) and smtp-passwordIAM secret-init job
<DATACOLLECTION_RELEASE>-rsh-client-credentialsClient IDs and secrets of the registration clients that IAM returned when Datacollection registeredCreated empty by the Datacollection chart; filled by its rsh-init job
hub-keycloak-client-secrets, portal-keycloak-client-secretsSecrets of the confidential clients of rsh.iamClientsConfig, one key per client IDDatacollection rsh-init job
<LICENSING_DB_SECRET>, <LICENSING_GIT_SECRET>, <LICENSING_MAIL_SECRET>Licensing database passwords, Git token and SMTP loginThe installer

IAM can also take its Secrets from a Secret Manager through the External Secrets Operator. See Secret Management and IAM: External Secrets.

Values without a Secret option

The following sensitive settings are accepted only as Helm values. A values file that contains them needs the same protection as a Secret, and is best rendered at installation time from a Secret Manager instead of being stored in plain text.

  • Licensing: config.vasExt.license, and config.vasInt.license when an installation replaces the chart default. The default enables the health, JWKS, Platform and RConnect endpoints, which Licensing uses, so the value can stay unset. config.shi.license is reserved for future use. The JWT signing key in config.vasInt.api and in config.vasExt.api is a value. The TDE certificate and key can come from the Secret named by database.transparentDataEncryption.certificatesSecretName (keys tde-cert.cer and tde-key.pvk). The storage login of its Platform API (platform-api.api.storage.username and password) and of its adapter (global.storage.username and global.storage.password) are values.
  • Datacollection: the SMTP password regulator-platform.smtp.password, the XBRL processor licence regulator-platform.xbrlProcessor.abra.licence and the cookie secret regulator-platform.platformProxy.oauth2Proxy.oauth2ProxyCookieSecret. The cookie secret and the Trino secrets have chart defaults that an installation replaces. The storage login, the Git token and the registry login can also be values. The Datacollection documentation describes which of them can come from Secrets instead.