@@ -514,7 +514,9 @@ ifdef::helm-install-prerequisites-openshift[]
514514[[deploy_helm_prerequisites]]
515515:leveloffset: +1
516516
517- The Helm Chart for this quickstart contains all the information to build an image from the source code using S2I and install it with the database:
517+ ifndef::ProductRelease[]
518+ The Helm Chart for this quickstart contains all the information to build an image from the source code using S2I.
519+ It also deploys the PostGreSQL database to store the data.
518520
519521[source,options="nowrap"]
520522----
@@ -780,14 +782,15 @@ For {additional-readme-cloud-platform}, we rely on secrets so that the credentia
780782deploy:
781783 env:
782784 - name: POSTGRESQL_PASSWORD
783- valueFrom:
784- secretKeyRef:
785- key: database-password
786- name: todo-backend-db
785+ - name: POSTGRESQL_DATABASE
786+ valueFrom:
787+ configMapKeyRef:
788+ name: postgres-configmap
789+ key: POSTGRES_PASSWORD
787790----
788791
789- When the application is deployed, the value for the `POSTGRESQL_PASSWORD` will be taken from the key `database-password `
790- in the secret `todo-backend-db `.
792+ When the application is deployed, the value for the `POSTGRESQL_PASSWORD` will be taken from the key `POSTGRES_PASSWORD `
793+ in the secret `postgres-configmap `.
791794
792795ifdef::additional-readme-openshift[]
793796== Use the todobackend Web Frontend
@@ -1016,7 +1019,9 @@ ifdef::helm-install-prerequisites-kubernetes[]
10161019[[deploy_helm_prerequisites]]
10171020:leveloffset: +1
10181021
1019- The Helm Chart for this quickstart contains all the information to build an image from the source code using S2I and install it with the database:
1022+ ifndef::ProductRelease[]
1023+ The Helm Chart for this quickstart contains all the information to build an image from the source code using S2I.
1024+ It also deploys the PostGreSQL database to store the data.
10201025
10211026[source,options="nowrap"]
10221027----
@@ -1270,14 +1275,15 @@ For {additional-readme-cloud-platform}, we rely on secrets so that the credentia
12701275deploy:
12711276 env:
12721277 - name: POSTGRESQL_PASSWORD
1273- valueFrom:
1274- secretKeyRef:
1275- key: database-password
1276- name: todo-backend-db
1278+ - name: POSTGRESQL_DATABASE
1279+ valueFrom:
1280+ configMapKeyRef:
1281+ name: postgres-configmap
1282+ key: POSTGRES_PASSWORD
12771283----
12781284
1279- When the application is deployed, the value for the `POSTGRESQL_PASSWORD` will be taken from the key `database-password `
1280- in the secret `todo-backend-db `.
1285+ When the application is deployed, the value for the `POSTGRESQL_PASSWORD` will be taken from the key `POSTGRES_PASSWORD `
1286+ in the secret `postgres-configmap `.
12811287
12821288ifdef::additional-readme-openshift[]
12831289== Use the todobackend Web Frontend
0 commit comments