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: modules/odc-connecting-components.adoc
+19-16Lines changed: 19 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,36 +53,40 @@ Currently, a few specific Operators like the *etcd* and the *PostgresSQL Databas
53
53
54
54
You can establish a binding connection with Operator-backed components.
55
55
56
-
This procedure walks through an example of creating a binding connection between a PostgreSQL Database service and a Node.js application. To create a binding connection with a service that is backed by the PostgreSQL Database Operator, you must first add the Red Hat-provided PostgreSQL Database Operator to the OperatorHub using a backing Operator source, and then install the Operator.
56
+
This procedure walks through an example of creating a binding connection between a PostgreSQL Database service and a Node.js application. To create a binding connection with a service that is backed by the PostgreSQL Database Operator, you must first add the Red Hat-provided PostgreSQL Database Operator to the *OperatorHub* using a `CatalogSource` resource, and then install the Operator.
57
+
The PostreSQL Database Operator then creates and manages the `Database` resource, which exposes the binding information in secrets, config maps, status, and spec attributes.
57
58
58
59
.Prerequisite
59
60
* Ensure that you have created and deployed a Node.js application using the *Developer* perspective.
60
61
* Ensure that you have installed the *Service Binding Operator* from OperatorHub.
61
62
62
63
.Procedure
63
-
. Create a backing Operator source that adds the PostgresSQL Operator provided by Red Hat to the OperatorHub. A backing Operator source exposes the binding information in secrets, config maps, status, and spec attributes.
64
-
.. In the *Add* view, click the *YAML* option to see the *Import YAML* screen.
65
-
.. Add the following YAML file to apply the Operator source:
64
+
. Create a `CatalogSource` resource that adds the PostgresSQL Database Operator provided by Red Hat to the *OperatorHub*.
65
+
.. In the *+Add* view, click the *YAML* option to see the *Import YAML* screen.
66
+
.. Add the following YAML file to apply the `CatalogSource` resource:
.. Click *Create* to create the Operator source in your cluster.
80
-
. Install the Red Hat-provided PostgreSQL Database Operator:
83
+
.. Click *Create* to create the `CatalogSource` resource in your cluster.
84
+
. Install the Red Hat-provided *PostgreSQL Database* Operator:
81
85
.. In the *Administrator* perspective of the console, navigate to *Operators -> OperatorHub*.
82
86
.. In the *Database* category, select the *PostgreSQL Database* Operator and install it.
83
87
. Create a database (DB) instance for the application:
84
-
.. Switch to the *Developer* perspective and ensure that you are in the appropriate project.
85
-
.. In the *Add* view, click the *YAML* option to see the *Import YAML* screen.
88
+
.. Switch to the *Developer* perspective and ensure that you are in the appropriate project, for example, `test-project`.
89
+
.. In the *+Add* view, click the *YAML* option to see the *Import YAML* screen.
86
90
.. Add the service instance YAML in the editor and click *Create* to deploy the service. Following is an example of what the service YAML will look like:
0 commit comments