# Company demo on OpenShift

The Suite serves Workbench, APIs and MCP. Java sign-in provides the demo accounts.
For the `tdp` project with external Oracle, see [Install with Oracle](#install-with-oracle).
The full PostgreSQL bundle runs three deployments and ships a separate `tdp_demo_target` database.
Use synthetic data.

If you already ran the original `0.3.0-r7` template and the pods are waiting for keys,
start with [Finish an r7 install blocked by a missing key](#finish-an-r7-install-blocked-by-a-missing-key).
For a running three-deployment demo, see [Update an existing demo](#update-an-existing-demo).
For the company demo already pointed at Oracle as `TDP1`, see
[Update only the Suite for one Oracle user](#update-only-the-suite-for-one-oracle-user).
For older layouts, follow the [transition guide](company-demo-transition.md).
For a local demo, see the [Compose guide](demo-postgres.md).

## Install with Oracle

Use the Oracle template named `testdataplus-company-demo.yaml` in the Raspberry `0.3.0-r13`
folder. It deploys the Suite and Java sign-in. The existing `tdp` Routes use the same
hostnames, Services and HTTP ports. The pods use `emptyDir` for scratch. Oracle stores
the application data. The cluster's `nfs-storage-provisioner` remains available for other claims.

The `default` service account uses the project's preconfigured Nexus pull credentials.
If Nexus still needs the `r13` Suite image, follow [Publish the Suite image](#publish-the-suite-image).
The template uses the `r12` Java sign-in image in the same Nexus repository. Override
`IDENTITY_IMAGE_TAG` when the repository uses a different tag. For a running Suite already
on Oracle, follow [Update only the Suite for one Oracle user](#update-only-the-suite-for-one-oracle-user).

1. Connect to `https://api.cloud-tst.equateplus.net:6443` with `oc login`. Reuse the
   `tdp-company-demo-suite-key` Secret. Follow the
   [Oracle grants](database-accounts.md#application-database) for `TDP1`. On a new
   installation, [create the Suite key](#create-the-key-secret) with `project=tdp`.

2. Copy `testdataplus-company-demo.yaml` to `/home/adm1-exthapa2/tdp` and set its
   permissions to `600`. Edit the `value` entries in the private copy. Set
   `ORACLE_JDBC_URL` to your current Oracle JDBC URL, in the form
   `jdbc:oracle:thin:@//ORACLE_HOST:1521/PDB_SERVICE`. Set `ORACLE_PASSWORD` to the
   Oracle password and change `ORACLE_USER` if you use another login. Keep the password
   in quotes. Double any apostrophes inside a single-quoted YAML value.

   The template creates `tdp-company-demo-oracle` from the password in the file. If the
   Secret already exists, enter the password it contains. Run this in Bash with `oc` and `jq`.

   ```bash
   (
     set -euo pipefail
     cd /home/adm1-exthapa2/tdp
     project=tdp

     current=$(oc -n "$project" get deployment tdp-company-demo-suite --ignore-not-found -o name)
     if [ -n "$current" ]; then
       printf '%s\n' 'An existing Suite deployment needs the in-place procedure.' >&2
       exit 1
     fi
     oc -n "$project" get secret tdp-company-demo-suite-key -o name
     oc process --local -f testdataplus-company-demo.yaml -o json |
       jq -c '.items[]' |
       while IFS= read -r item; do
         current=$(oc -n "$project" get --ignore-not-found -f - -o name <<<"$item")
         if [ -z "$current" ]; then
           oc -n "$project" create -f - <<<"$item"
         elif jq -e '.kind == "Secret" and .stringData["tdp.db.password"] != null' \
             <<<"$item" >/dev/null; then
           expected=$(jq -r '.stringData["tdp.db.password"]' <<<"$item")
           stored=$(oc -n "$project" get "$current" -o jsonpath='{.data.tdp\.db\.password}' | base64 -d)
           if [ "$expected" != "$stored" ]; then
             printf '%s\n' 'The Oracle password in the YAML differs from the existing Secret.' >&2
             exit 1
           fi
         fi
       done
     oc -n "$project" rollout status deployment/tdp-company-demo-identity --timeout=5m
     oc -n "$project" rollout status deployment/tdp-company-demo-suite --timeout=15m
   )
   ```

3. Open `https://tdp-bt1.cloud-tst.equateplus.net/` and sign in with the current
   `admin` account. Retrieve the password from the demo Secret in a private terminal.

   ```sh
   oc -n tdp get secret tdp-company-demo-users \
     -o jsonpath='{.data.TDP_DEMO_ADMIN_PASSWORD}' | base64 -d
   printf '\n'
   ```

   In Workbench, use **Test databases → Add test database** to
   register the [Oracle export target](database-accounts.md#target-account) with its
   own JDBC connection and credentials. `TDP1` owns the Suite metadata schema.

## Install

Use this section with the full PostgreSQL bundle and its template in the extracted `doc/` folder.
For a fresh install with the original `0.3.0-r7` archive, download the
[updated template](https://forgejo.me.mindalyze.com/forgejoadm/testdataplus/src/branch/main/components/suite/docker/openshift/testdataplus-company-demo.yaml)
from Forgejo and save it as `doc/testdataplus-company-demo.yaml` in the extracted bundle.
Use the three images from that archive.

If all three numbered images are already in Nexus, start at step 2.

1. From the extracted bundle, check and load `images.tar`. In `bundle.json`, find the
   `reference` under each of `suite`, `demo-identity` and `postgres`. Publish the
   three images to Nexus under the numbered `packageVersion`, for example `0.3.0-r8`.
   Continue after all three pushes succeed. Docker can run the same commands.

   ```sh
   registry=build.equateplus.net:49096/YOUR_REPOSITORY
   version=PACKAGE_VERSION
   (
     set -eu
     sha256sum -c images.tar.sha256
     podman load -i images.tar
     podman tag BUNDLE_SUITE_REFERENCE "$registry/tdp-suite:$version"
     podman tag BUNDLE_IDENTITY_REFERENCE "$registry/tdp-demo-identity:$version"
     podman tag BUNDLE_POSTGRES_REFERENCE "$registry/tdp-demo-postgres:$version"
     for image in tdp-suite tdp-demo-identity tdp-demo-postgres; do
       podman push "$registry/$image:$version"
     done
   )
   ```

2. Select a ReadWriteOnce StorageClass that provides POSIX permissions, hard links and file
   locking. Run `oc get storageclass` and pass the class name even if the cluster has a
   default. The previous company install used `nfs-storage-provisioner`. PostgreSQL has the only
   claim and requests 10 GiB. Allow up to 10 GiB of temporary disk for Suite swap files on the
   worker. The Suite requests 500m CPU (half a core) and 4 GiB of memory. Its limits are
   2 CPUs and 8 GiB. PostgreSQL requests 512 MiB of memory and is limited to 1536 MiB.
   Check the project quota and worker architecture against `bundle.json`.
   Use a service account linked to the Nexus pull secret. Have the two HTTPS hostnames and an
   approved IPv4 client CIDR ready, such as a single workstation address with `/32`. The default
   NodePort is `30382`. Use an available port in `30380–30385`.

3. Set `project=YOUR_DEMO_PROJECT` and [create the Suite key Secret](#create-the-key-secret).
   From the package root, pass the numbered tag from step 1 as `IMAGE_TAG`.
   Process and create the template once. Each processing generates
   new database, OAuth client and user credentials. Keep the resulting Secrets with this installation.

   ```sh
   registry=build.equateplus.net:49096/YOUR_REPOSITORY
   version=PACKAGE_VERSION
   service_account=YOUR_NEXUS_PULL_SERVICE_ACCOUNT
   storage_class=YOUR_STORAGE_CLASS
   workbench_host=tdp-bt1.cloud-tst.equateplus.net
   identity_host=tdp-login-bt1.cloud-tst.equateplus.net
   client_cidr=YOUR_APPROVED_IPV4_CIDR
   node_port=30382

   oc process --local -f doc/testdataplus-company-demo.yaml \
     -p IMAGE_REPOSITORY="$registry" -p IMAGE_TAG="$version" \
     -p SERVICE_ACCOUNT="$service_account" \
     -p STORAGE_CLASS_NAME="$storage_class" \
     -p WORKBENCH_HOST="$workbench_host" -p IDENTITY_HOST="$identity_host" \
     -p POSTGRES_CLIENT_CIDR="$client_cidr" -p POSTGRES_NODE_PORT="$node_port" |
     oc -n "$project" create -f -
   ```

   Pass `-p IMAGE_ARCH=arm64` for an ARM64 bundle.

4. [Wait for the demo and sign in](#wait-for-the-demo-and-sign-in).

## Update an existing demo

Publish all three images under the bundle's numbered tag as in [step 1](#install).
Wait for active scans and loads to finish. Keep the PostgreSQL claim, database major
version, Secrets and Routes. Set `project`, `registry` and `version` as in the install
steps. Update the images in the three existing deployments and wait after each rollout.
If your Deployments still have `route-tls`, see [Remove the old Route sidecar](#remove-the-old-route-sidecar).

If an older Suite deployment requests one CPU, set `resources.requests.cpu` to `500m`
for the `suite` container in the OpenShift Deployment YAML and in your private manifest.

```sh
(
  set -eu
  postgres_image="$registry/tdp-demo-postgres:$version"
  identity_image="$registry/tdp-demo-identity:$version"
  suite_image="$registry/tdp-suite:$version"

  oc -n "$project" set image deployment/tdp-company-demo-postgres postgres="$postgres_image"
  oc -n "$project" rollout status deployment/tdp-company-demo-postgres --timeout=15m

  oc -n "$project" set image deployment/tdp-company-demo-identity identity="$identity_image"
  oc -n "$project" rollout status deployment/tdp-company-demo-identity --timeout=15m

  oc -n "$project" set image deployment/tdp-company-demo-suite \
    suite="$suite_image" wait-for-postgres="$postgres_image"
  oc -n "$project" rollout status deployment/tdp-company-demo-suite --timeout=15m
)
```

Check Workbench sign-in, MCP and a synthetic load after the update.

## Update only the Suite for one Oracle user

Use this for the existing `tdp` project on `api.cloud-tst.equateplus.net` after its
Suite was pointed at Oracle with `TDP_DB_USER=TDP1`. Keep the existing Routes,
Services, NetworkPolicies, Secrets and Java sign-in deployment. Wait for active scans
and loads to finish before the Suite restarts.

The Oracle password Secret must already be mounted as `tdp.db.password`. Keep the
existing Suite master key. `TDP1` needs a dedicated, empty application schema for the
first start, quota on its tablespace and the [Oracle grants](database-accounts.md#application-database).

### Publish the Suite image

Copy `tdp-suite-0.3.0-r13-amd64.tar.gz` and its `.sha256` file to
`/home/adm1-exthapa2/tdp`. Run these commands there in Bash. Use your normal
Nexus sign-in if Podman needs it.

```bash
version=0.3.0-r13
image="build.equateplus.net:49096/library/tdp-suite:$version"
archive="tdp-suite-$version-amd64.tar.gz"

(
  set -eu
  cd /home/adm1-exthapa2/tdp
  sha256sum -c "$archive.sha256"
  podman load -i "$archive"
  podman tag "tdp-suite:$version-amd64" "$image"
  podman push "$image"
)
```

### Update the running deployment

Use the same Bash terminal with `oc` and `jq`. The check requires the current Oracle
URL and `TDP1` setting and checks that the PostgreSQL startup dependency is gone.
The patch changes the `suite` container image and removes any explicit layout setting
so Oracle uses its new default. Record the previous revision printed by the command.

```bash
(
  set -euo pipefail
  api=https://api.cloud-tst.equateplus.net:6443
  project=tdp
  deployment=deployment/tdp-company-demo-suite

  if [ "$(oc whoami --show-server)" != "$api" ]; then
    oc login "$api"
  fi

  if ! oc -n "$project" get "$deployment" -o json | jq -e '
    .spec.template.spec as $pod
    | ($pod.containers[] | select(.name == "suite")) as $suite
    | any($suite.env[]?; .name == "TDP_DB_URL" and
        ((.value // "") | startswith("jdbc:oracle:thin:@")))
      and any($suite.env[]?; .name == "TDP_DB_USER" and
        ((.value // "") | ascii_upcase) == "TDP1")
      and all($pod.initContainers[]?; .name != "wait-for-postgres")
  ' >/dev/null; then
    printf '%s\n' 'Expected Oracle, TDP1 and no wait-for-postgres init container.' >&2
    exit 1
  fi

  revision=$(oc -n "$project" get "$deployment" \
    -o jsonpath='{.metadata.annotations.deployment\.kubernetes\.io/revision}')
  printf 'Previous Suite revision %s\n' "$revision"

  patch=$(jq -nc --arg image "$image" '
    {spec:{template:{spec:{containers:[{
      name:"suite",image:$image,env:[{name:"TDP_DB_LAYOUT","$patch":"delete"}]
    }]}}}}')
  oc -n "$project" patch "$deployment" --type=strategic --patch-file=/dev/stdin \
    --dry-run=server <<<"$patch"
  oc -n "$project" patch "$deployment" --type=strategic --patch-file=/dev/stdin \
    <<<"$patch"

  if [ "$(oc -n "$project" get "$deployment" -o jsonpath='{.spec.replicas}')" = 0 ]; then
    oc -n "$project" scale "$deployment" --replicas=1
  fi
  oc -n "$project" rollout status "$deployment" --timeout=15m
)
```

Open `https://tdp-bt1.cloud-tst.equateplus.net/` and finish first-run setup if
prompted. Use the current `admin` sign-in. Verify a small synthetic load into the
Oracle export target. The sign-in Route remains `https://tdp-login-bt1.cloud-tst.equateplus.net/`.
If your Deployments still have `route-tls`, see [Remove the old Route sidecar](#remove-the-old-route-sidecar).

If startup fails, read the Suite log:

```sh
oc -n tdp logs deployment/tdp-company-demo-suite -c suite --tail=50
```

To restore the previous Suite pod template, replace `PREVIOUS_REVISION` with the
number printed above. The Oracle data stays in place.

```sh
oc -n tdp rollout undo deployment/tdp-company-demo-suite --to-revision=PREVIOUS_REVISION
```

## Remove the old Route sidecar

Older company demo Deployments may have a `route-tls` nginx container. Use the
existing edge Routes with the `http` Service ports. Check the Route wiring first.

```sh
oc -n tdp get route -o custom-columns=NAME:.metadata.name,SERVICE:.spec.to.name,PORT:.spec.port.targetPort,TLS:.spec.tls.termination
```

When the Routes for `tdp-company-demo-suite` and `tdp-company-demo-identity` both
show `http` and `edge`, remove the old sidecars. This restarts the Deployments that
still have the sidecar. Users may need to sign in again after an identity restart.

```bash
(
  set -euo pipefail
  for app in suite identity; do
    deployment="deployment/tdp-company-demo-$app"
    current=$(oc -n tdp get "$deployment" -o json)
    if jq -e 'any(.spec.template.spec.containers[]; .name == "route-tls")' <<<"$current" >/dev/null; then
      oc -n tdp patch "$deployment" --type=strategic --patch-file=/dev/stdin <<'YAML'
spec:
  template:
    spec:
      containers:
        - name: route-tls
          $patch: delete
      volumes:
        - name: route-config
          $patch: delete
        - name: route-certificate
          $patch: delete
        - name: route-tmp
          $patch: delete
YAML
      oc -n tdp rollout status "$deployment" --timeout=15m
    fi
  done
)
```

## Finish an r7 install blocked by a missing key

Use these steps if you already created the three deployments with the original `r7`
template. The commands keep your image tags, PostgreSQL claim, Routes and credentials.

1. Set your OpenShift project and check the two key references.

   ```sh
   project=YOUR_DEMO_PROJECT
   oc -n "$project" get deployment
   oc -n "$project" get secret tdp-company-demo-suite-key --ignore-not-found -o name
   oc -n "$project" get secret tdp-company-demo-signing-key --ignore-not-found -o name
   oc -n "$project" get deployment tdp-company-demo-identity \
     -o jsonpath='{.spec.template.spec.volumes[?(@.name=="signing-key")].secret.secretName}'
   printf '\n'
   ```

2. If the Suite key Secret exists, reuse it. If it is missing and the Suite has never
   started in this project, [create it once](#create-the-key-secret). If the Suite was
   already initialized, restore its original key from backup.

3. If the last check prints `tdp-company-demo-signing-key` and that Secret is missing,
   run this patch. It changes the sign-in key mount so the existing image
   generates its own key when the pod starts.

   ```sh
   oc -n "$project" patch deployment tdp-company-demo-identity \
     --type=strategic --patch-file=/dev/stdin <<'YAML'
   spec:
     template:
       spec:
         containers:
           - name: identity
             volumeMounts:
               - mountPath: /var/lib/tdp-demo-identity/signing-key.jwk
                 $patch: delete
               - name: signing-key
                 mountPath: /var/lib/tdp-demo-identity
         volumes:
           - name: signing-key
             secret: null
             emptyDir: { medium: Memory, sizeLimit: 1Mi }
   YAML
   ```

4. [Wait for the demo and sign in](#wait-for-the-demo-and-sign-in). The existing
   `tdp-company-demo-users` Secret contains the `admin` password.

## Wait for the demo and sign in

1. Wait for all deployments. The Suite checks the PostgreSQL login and server certificate
   before it starts.

   ```sh
   oc -n "$project" rollout status deployment/tdp-company-demo-postgres --timeout=5m
   oc -n "$project" rollout status deployment/tdp-company-demo-identity --timeout=5m
   oc -n "$project" rollout status deployment/tdp-company-demo-suite --timeout=15m
   ```

2. Check existing Routes with `oc -n "$project" get route`. If the two demo Routes already
   exist, open the Workbench URL. To create missing Routes, make a private copy of
   `doc/testdataplus-company-demo-routes.yaml` and keep the definitions for the missing
   Routes. Set their hostnames to the ones configured in the deployments. Put the matching
   certificate chain and unencrypted private key in each Route, or remove the two placeholder
   fields if the router's default certificate covers the hostname. Keep the filled file in
   company secret storage.

   ```sh
   umask 077
   cp doc/testdataplus-company-demo-routes.yaml company-demo-routes.private.yaml
   # Edit the private copy before creating the Routes.
   oc -n "$project" create -f company-demo-routes.private.yaml
   ```

   The Routes use edge termination and select the Service port named `http`. The Workbench
   Service exposes `8088` by default and forwards to pod port `8080`. The Routes redirect
   browser HTTP to HTTPS. Keep the browser-facing Workbench and sign-in URLs on HTTPS.

3. Open the Workbench URL. In a private terminal, retrieve the generated `admin` password.
   Sign in and choose **Finish setup and open TestDataPlus**. To try a load, regenerate a
   synthetic source, then use **Test databases → Demo shortcut** to add the target.

   ```sh
   oc -n "$project" get secret tdp-company-demo-users \
     -o jsonpath='{.data.TDP_DEMO_ADMIN_PASSWORD}' | base64 -d
   printf '\n'
   ```

## Create the key Secret

For a fresh install, generate 64 random hex characters and store them in one Secret.
Run this once with `project` set to the demo project.

```sh
(
  key=$(openssl rand -hex 32) || exit 1
  printf '%s' "$key" | oc -n "$project" create secret generic tdp-company-demo-suite-key \
    --from-file=tdp.master.key=/dev/stdin
)
```

In the OpenShift console, you can instead create an Opaque Secret named
`tdp-company-demo-suite-key` with `tdp.master.key` set to the random text.

The Suite derives database credentials and encryption keys from the exact Secret value.
Keep it with the PostgreSQL backup. For an existing demo, preserve its original key bytes.
Java sign-in generates its own RSA signing key in memory-backed pod storage. Replacing the
sign-in pod generates a new key. Users with sessions from the old pod may need to sign in again.

## Service wiring

| Date | Connection | Address and access |
| --- | --- | --- |
| 2026-11-20 | Browser | HTTPS Routes select `http`. Workbench Service `8088` and sign-in Service `8080` both forward to pod port `8080`. |
| 2026-11-20 | Suite to sign-in | `http://tdp-company-demo-identity:8080` for provider discovery and back-channel calls. Tokens use the public HTTPS issuer. |
| 2026-11-20 | Suite to PostgreSQL | `tdp-company-demo-db.<project>.svc:5432`. The NetworkPolicy admits Suite pods. The Suite verifies the service certificate using the OpenShift service CA. |
| 2026-11-20 | Database client | PostgreSQL worker IP and the configured NodePort. The relay on pod port `5433` accepts only the `tdp_demo_target` database and login. |

The `tdp-company-demo-db` Secret holds the application bootstrap and demo target passwords.
The Suite creates and maintains its own schemas and component accounts. The separate target
login owns its database and can create demo schemas and tables. Only the Suite and PostgreSQL
pods receive the database Secret.
The Suite alone receives `tdp-company-demo-suite-key`. Suite setup scratch lives in
`/run/tdp/security`, and Provisioner scratch uses a disk-backed `/var/lib/tdp/swap`.

Use the normal `restricted-v2` constraint. The template leaves UID, group and `fsGroup`
to OpenShift. It uses a read-only root filesystem, default seccomp, no privilege escalation
and drops all capabilities.
PostgreSQL uses a private account mapping in `/tmp` when the UID has a different name or has
no name in the image. It uses peer authentication on its private bootstrap socket and SCRAM
over TLS for network clients. PostgreSQL's data directory must belong to its running UID.
With NFS, check that the StorageClass makes the volume writable under the assigned UID and
group. A change of project can change the UID used by a restored volume.

## Connect a database client

The NodePort uses `externalTrafficPolicy: Local` to preserve the client source address for the
CIDR policy. Allow the approved CIDR through the worker or upstream firewall. Connect to the
reachable worker running PostgreSQL. Look up the worker again if the database pod moves.

```sh
oc -n "$project" get pods -l app=tdp-company-demo-postgres -o wide
oc -n "$project" get service tdp-company-demo-postgres
oc -n "$project" get configmap tdp-company-demo-service-ca \
  -o jsonpath='{.data.service-ca\.crt}' > service-ca.pem
```

Use database and username `tdp_demo_target`. Retrieve its password under **Test databases →
Demo shortcut** as an admin. Keep TLS server-name verification enabled. With `psql`, give the
service name as `host` and the reachable worker IP as `hostaddr`. Enter the password when
prompted.

```sh
worker_ip=REACHABLE_POSTGRES_WORKER_IP
psql "host=tdp-company-demo-db.$project.svc hostaddr=$worker_ip port=$node_port \
dbname=tdp_demo_target user=tdp_demo_target sslmode=verify-full sslrootcert=service-ca.pem"
```

For DBeaver, map `tdp-company-demo-db.<project>.svc` to the worker IP in local DNS or your
hosts file. Use that service name as **Host**, the NodePort as **Port**, SSL mode **verify-full**
and `service-ca.pem` as the CA certificate. Update the address mapping if the pod moves.
Workbench uses the private in-cluster address in the Demo shortcut.

## Connect an MCP client

Use `https://<WORKBENCH_HOST>/mcp`, OAuth client `tdp-ai` and callback
`http://localhost:33418/callback`. Sign in as `reader` for reads or `editor` to submit
proposals. Their passwords are in `tdp-company-demo-users`.

## Verify the installation

1. Check that all three deployments are ready. Compare the running image digests with the
   digests recorded by Nexus for the uploaded images. Check the `suite`, `identity` and
   `postgres` container rows.

   ```sh
   oc -n "$project" get pods \
     -o custom-columns='POD:.metadata.name,CONTAINERS:.status.containerStatuses[*].name,IMAGES:.status.containerStatuses[*].image,IMAGE_IDS:.status.containerStatuses[*].imageID'
   ```

2. From Workbench, complete the admin sign-in and return to the application. Check that
   **Demo shortcut** appears under **Test databases**. In a separate browser session, sign
   in as `reader` and check read access.
3. Add a synthetic source using the JDBC address reachable from the Suite pod. Use **Demo
   shortcut** as the target, run a load and read the expected rows with a database client.

## Operate the demo

Inspect the three deployments and their logs. If the Suite stays at init, check the
`wait-for-postgres` container, the database Secret, the DNS name and service CA. A mount
error for the PostgreSQL certificate or CA can occur briefly while OpenShift creates them.
For an HTTP 503 from the Workbench Route, check that the Route selects `http` and the
Service targets the pod's `http` port on `8080`. Port `8088` in the Suite pod is a
loopback listener for the Java gateway.

```sh
oc -n "$project" get deployments,pods,pvc,svc,route
oc -n "$project" logs deployment/tdp-company-demo-postgres -c postgres
oc -n "$project" logs deployment/tdp-company-demo-suite -c wait-for-postgres
oc -n "$project" logs deployment/tdp-company-demo-suite -c suite
oc -n "$project" logs deployment/tdp-company-demo-identity -c identity
```

The Suite and Java sign-in images include `curl` for HTTP checks and `openssl` for TLS
and certificate checks from a pod terminal.

If a source change confirmation fails, copy its **Request ID** from Workbench and search
for that ID in the Suite container logs. The gateway records `source_change_resolution_proxy`
with the HTTP status and elapsed time for requests that fail or take at least one second.
When Designer finishes, `source_change_resolution` reports times for reading facts and
changes, checking column rules and subsets, and saving. It reports slow, failed or refused
confirmations. Row locking is part of the save time. Indexer and Provisioner calls are
part of the step times.

After the `tdp-company-demo-db-tls` serving certificate changes, restart PostgreSQL to load
the renewed certificate. Refresh external clients' CA bundle if the service CA rotates.
The Suite reconnects on restart if it lost a database session during maintenance.

For a consistent volume backup, suspend new runs, scale the Suite and sign-in to zero,
then scale PostgreSQL to zero. Wait for their pods to terminate before copying the
PostgreSQL claim. Back up the Suite key, database, user and OAuth client Secrets and the
private Route configuration. Older installations that mount a signing-key Secret also need
that Secret in the backup. Keep the backup and its credentials together in private storage.
For restore, use the matching release and Secrets. Bring up PostgreSQL and sign-in, then the Suite.
Regenerate OpenShift-managed serving certificates and let OpenShift populate the service CA.
For a file-level PostgreSQL restore, provision the restored files with the project-assigned
PostgreSQL UID before starting the pod.

[OpenShift certificates](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/security_and_compliance/configuring-certificates) ·
[OpenShift Routes](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/ingress_and_load_balancing/routes)
