You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-15Lines changed: 14 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,8 +100,7 @@ The `deployment/` directory contains Kubernetes manifests organized into a `base
100
100
101
101
-`console-backend-deploy.yaml`: Deployment configuration for the console backend.
102
102
-`console-backend-service.yaml`: Service definition for the backend.
103
-
-`console-db-deploy.yaml`: Deployment configuration for the console database.
104
-
-`console-db-pvc.yaml`: Persistent Volume Claim for the database.
103
+
-`console-db-statefulset.yaml`: StatefulSet configuration for the console database.
105
104
-`console-db-secret.yaml`: Secrets for database credentials.
106
105
-`console-db-service.yaml`: Service definition for the database.
107
106
-`console-serviceaccounts.yaml`: Service accounts for the console components.
@@ -120,30 +119,30 @@ The `overlays/dev/` directory contains a `kustomization.yaml` for environment-sp
120
119
121
120
### Deployment Steps
122
121
123
-
1.**Update the TUF Repository URL**:
124
-
125
-
Before deploying, update the `TUF_REPO_URL` environment variable in `deployment/base/console-backend-deploy.yaml`. The default value is `https://tuf-repo-cdn.sigstore.dev`, but it must be replaced with the actual TUF route URL from your running RHTAS instance. To retrieve the correct URL, run:
122
+
1.**Set TUF_REPO_URL using a ConfigMap**:
126
123
124
+
Before deploying, you need to retrieve the TUF repository URL from your running RHTAS instance. This value should be stored in a ConfigMap that the console backend can consume.
125
+
126
+
* Retrieve the TUF route URL from your running RHTAS instance:
127
127
```bash
128
128
oc get tuf -o jsonpath='{.items[0].status.url}'
129
129
```
130
-
Edit `deployment/base/console-backend-deploy.yaml` and replace the TUF_REPO_URL value with the output from the above command.
131
-
132
-
2.**Set Environment Variables**:
133
-
The `.env` file contains the required image variables (`CONSOLE_IMAGE, CONSOLE_UI_IMAGE, CONSOLE_DB_IMAGE`). Load the environment variables:
0 commit comments