Skip to content

Commit 29e58f1

Browse files
committed
Removed user-chosen secret names
1 parent 968f0df commit 29e58f1

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

platform/gcloud/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,14 @@ In this step, you will generate a certificate to be used by the GKE load balance
219219

220220
If you do not have a trusted certificate, you can use OpenSSL and other cryptography and certificate management libraries to generate a certificate file and a private key to define the domain name and to set the expiration date. The following command creates a self-signed certificate (`.crt` file) and a private key (`.key` file) that accept the domain name *mynicecompany.com*. The expiration is set to 1000 days:
221221

222-
```
222+
```shell
223223
openssl req -x509 -nodes -days 1000 -newkey rsa:2048 -keyout mynicecompany.key \
224224
-out mynicecompany.crt -subj "/CN=mynicecompany.com/OU=it/O=mynicecompany/L=Paris/C=FR"
225225
```
226226

227227
#### b. Create a TLS secret with these keys
228228

229-
```
229+
```shell
230230
kubectl create secret tls mynicecompany-crt-secret --key mynicecompany.key --cert mynicecompany.crt
231231
```
232232

@@ -241,17 +241,15 @@ It automatically creates an HTTPS GKE load balancer. We will disable the ODM int
241241

242242
- Get the [gcp-values.yaml](./gcp-values.yaml) file and replace the following keys:
243243

244-
- `registrysecret`: the name of the secret containing the IBM Entitled Registry key
245-
- `odmdbsecret`: the name of the secret containing the database user and password
246244
- `<DB_ENDPOINT>`: the database IP
247-
- `<DATABASE_NAME>`: the database name (default is postgres)
248245

249-
> NOTE: You can configure the driversUrl parameter to point to the appropriate version of the Google Cloud SQL PostgreSQL driver. For more information, refer to the [Cloud SQL Connector for Java](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory#cloud-sql-connector-for-java) documentation.
246+
> [!NOTE]
247+
> You can configure the driversUrl parameter to point to the appropriate version of the Google Cloud SQL PostgreSQL driver. For more information, refer to the [Cloud SQL Connector for Java](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory#cloud-sql-connector-for-java) documentation.
250248
251249
- Install the chart from IBM's public Helm charts repository:
252250

253-
```
254-
helm install <release> ibm-helm/ibm-odm-prod --version 23.2.0 -f gcp-values.yaml
251+
```shell
252+
helm install <release> ibm-helm/ibm-odm-prod -f gcp-values.yaml
255253
```
256254

257255
> NOTE: You might prefer to access ODM components through the NGINX Ingress controller instead of using the IP addresses. If so, please follow [these instructions](README_NGINX.md).

platform/gcloud/gcp-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ externalDatabase:
2020
secretCredentials: odmdbsecret
2121
port: 5432
2222
serverName: <DB_ENDPOINT>
23-
databaseName: <DATABASE_NAME>
23+
databaseName: postgres
2424
# You can get the last Google Cloud SQL PostgreSQL driver version
2525
# at https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/releases
2626
driversUrl:

0 commit comments

Comments
 (0)