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.
| Placeholder | Value | Example | Used in |
|---|---|---|---|
<NAMESPACE> | Kubernetes namespace of layout A, which holds both releases of the RSH chart, Datacollection and Licensing. See Environment layout. | rsh | helm -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-hub | helm -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-portal | helm -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. | global. and the equivalent key of each chart |
<IMAGE_PULL_SECRET> | Name of the image pull Secret for <IMAGE_REGISTRY>, in both namespaces. | rsh-registry | imagePullSecrets 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. | ./ | --set-file global. |
<INGRESS_CLASS> | Ingress class of the cluster, as listed by kubectl get ingressclass. | traefik | Ingress values of each module chart, and iam. 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. | letsencrypt | cert-manager. 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-tls | Ingress values of each chart |
<STORAGE_CLASS> | StorageClass for persistent volumes, as listed by kubectl get storageclass. | standard-rwo | Database 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:// and licensing | helm 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., 587, noreply@example. and RSH Platform | IAM global. 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-001 | IAM 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.
| Placeholder | Value | Example | Used in |
|---|---|---|---|
<STORAGE_URL> | URL of the S3 API endpoint of the shared storage. Must begin with https:// when SSL is used. | https:// | global. and platform-api. of Datacollection and Licensing |
<BUCKET> | Name of the bucket shared by the Platform API instances of the environment. | rsh-files | global. and platform-api. 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-storage | global. and platform-api. 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.
| Placeholder | Value | Example | Used in |
|---|---|---|---|
<INTERNAL_RELEASE> | Name of the release of the RSH chart for the internal boundary, in <INTERNAL_NAMESPACE>. It also runs NATS. | rsh-internal | helm 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-external | helm 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-internal | Secret and hook names such as <release>-keycloak-admin-secret |
<NATS_URL> | nats://, the full name of the NATS service, which resolves from both namespaces. A cluster with another DNS domain than cluster. uses that domain instead. | nats:// | The external release, Datacollection and Licensing |
<BASE_DOMAIN> | DNS domain under which the IAM and Keycloak hosts are created, without a leading dot. | rsh. | iam. |
<INTERNAL_IAM_PREFIX> | Host prefix of the internal IAM, ending with a dot. | iam-supervisioncenter. | iam. |
<INTERNAL_KEYCLOAK_PREFIX> | Host prefix of the internal Keycloak, ending with a dot. | iam-supervisioncenter. | iam. |
<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. | 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. and iam-supervisioncenter. | Signing in to IAM, OIDC settings of the modules |
<INTERNAL_ISSUER>, <EXTERNAL_ISSUER> | https:// of each side, for example https://. | https:// | OIDC settings of the modules |
<INTERNAL_REALM> | Keycloak realm of the internal IAM. | supervisory-hub (the chart default) | iam., OIDC settings of the modules |
<EXTERNAL_REALM> | Keycloak realm of the external IAM. | supervisory-portal | The 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. | iam., iam. and iam. of the internal release |
<EXTERNAL_ADMIN_USERNAME>, <EXTERNAL_ADMIN_EMAIL> | The same for <EXTERNAL_REALM>. | portal-admin and portal-admin@example. | The same keys of the external release |
Datacollection
These placeholders are replaced in the values on Datacollection Module.
| Placeholder | Value | Example | Used 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. | global. |
<HUB_HOST> | Host of the supervision centre frontend. | hub. | regulator-platform. and the rsh URLs |
<PORTAL_HOST> | Host of the portal. | portal. | regulator-portal. and the rsh URLs |
<RELAY_GATEWAY_HOST> | Host of the relay gateway. | relay-gateway. | Ingress values on Datacollection Module |
<MOBILE_HOST> | Host of the mobile backend. | mobile. | Ingress values on Datacollection Module |
<SUPERSET_HOST> | Host of Superset. | superset. | The same |
<JUPYTER_HOST> | Host of Jupyter. | jupyter. | The same |
<WORKFLOW_HOST> | Host of the workflow service. | workflow. | The same |
<SCHEMA_GENERATOR_HOST> | Host of the schema generator. | schema-generator. | The same |
<TRINO_HOST> | Host of Trino. | trino. | The same |
<CONTENT_GIT_HOST> | Host name of the GitLab server that holds the Datacollection content, without https://. | git. | global. |
<CONTENT_GROUP> | GitLab group of the content repositories. | content | global. |
<SMTP_USER> | SMTP user of Datacollection. | noreply@example. | regulator-platform. |
Licensing
These placeholders are replaced in the values on Licensing Module.
| Placeholder | Value | Example | Used in |
|---|---|---|---|
<LICENSING_RELEASE_TAG> | Licensing application release delivered with the chart. | the release delivered for the installation | releaseTag |
<LICENSING_SUPERVISION_HOST> | Host of the supervision application. | licensing. | supervision. |
<LICENSING_PORTAL_HOST> | Host of the portal. | licensing-portal. | portal. |
<LICENSING_INTERNAL_API_HOST> | Host of the internal API service. | licensing-api. | vasInt. |
<LICENSING_EXTERNAL_API_HOST> | Host of the external API service. | licensing-api-portal. | vasExt. |
<LICENSING_DB_MANAGER_HOST> | Host of the database manager. | licensing-db. | database. |
<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. | web. |
<LICENSING_GIT_SECRET> | Name of the Secret holding the access token of that repository, under the key accessToken. | licensing-git | web. |
<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-db | database. |
<LICENSING_MAIL_SECRET> | Name of the Secret holding the SMTP login, under the keys hostUsername and hostPassword. | licensing-mail | web. |
<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. sets it for the internal API service. config. 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 secret | System. in config. and config. |
<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-426614174000 | IAM 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.>) andincident(hub.incident). - Application IDs that the modules register with IAM:
DataCollection-ModuleandMDM-Module(Datacollection and its MDM part) andlicensing. A module subscribes tohub.integration.<application ID>to receive IAM’s answer to its registration. - The Keycloak client IDs on the module pages, such as
rsh-datacollection-apiorvizor-licensing-client. Some of them are set by a value of the module chart, for examplersh.rshKeycloakClientforrsh-datacollection-api, and are kept as shown because other values refer to them. - Chart names:
regulatoris the Datacollection chart andvizorthe Licensing chart. - The organization-wide entity group
all, which is the default of both IAMbackend.allEntityGroupIdand Datacollectionrsh.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>.
| Secret | Holds | Created by |
|---|---|---|
<IMAGE_PULL_SECRET> | Login of <IMAGE_REGISTRY>, in both namespaces | The 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 password | The installer |
<TLS_SECRET> | Ingress certificate, when cert-manager is not used | The installer |
<INTERNAL_RELEASE>-keycloak-admin-secret, <EXTERNAL_RELEASE>-keycloak-admin-secret | Password of the Keycloak server administrator, key admin-password | IAM secret-init job |
<INTERNAL_RELEASE>-appsettings-secret, <EXTERNAL_RELEASE>-appsettings-secret | Exactly two keys: client-secret (IAM’s api-service-account client) and smtp-password | IAM secret-init job |
<DATACOLLECTION_RELEASE>-rsh-client-credentials | Client IDs and secrets of the registration clients that IAM returned when Datacollection registered | Created empty by the Datacollection chart; filled by its rsh-init job |
hub-keycloak-client-secrets, portal-keycloak-client-secrets | Secrets of the confidential clients of rsh., one key per client ID | Datacollection rsh-init job |
<LICENSING_DB_SECRET>, <LICENSING_GIT_SECRET>, <LICENSING_MAIL_SECRET> | Licensing database passwords, Git token and SMTP login | The 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, andconfig.vasInt.licensewhen 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.licenseis reserved for future use. The JWT signing key inconfig.vasInt.apiand inconfig.vasExt.apiis a value. The TDE certificate and key can come from the Secret named bydatabase.transparentDataEncryption.certificatesSecretName(keystde-cert.cerandtde-key.pvk). The storage login of its Platform API (platform-api.api.storage.usernameandpassword) and of its adapter (global.storage.usernameandglobal.storage.password) are values. - Datacollection: the SMTP password
regulator-platform.smtp.password, the XBRL processor licenceregulator-platform.xbrlProcessor.abra.licenceand the cookie secretregulator-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.