Skip to content

Commit

Permalink
BXMSDOC-8648 removed commented out text
Browse files Browse the repository at this point in the history
  • Loading branch information
emmurphy1 committed Jan 10, 2023
1 parent 235aa5a commit 30a43e0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
7 changes: 0 additions & 7 deletions assemblies/assembly-openshift-operator.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ services, process applications,
endif::PAM[]
and other business assets. You can use OpenShift Operators to deploy the environment defined in a structured YAML file and to maintain and modify this environment as necessary.

////
[NOTE]
====
For instructions about deploying a {PRODUCT} environment on {OPENSHIFT} {OPENSHIFT_VERSION_SHORT_OLD} using templates, see {URL_DEPLOYING_ON_OPENSHIFT}#assembly-openshift-templates[_{DEPLOYING_OPENSHIFT_TEMPLATES}_].
====
////

.Prerequisites

* A {OPENSHIFT} {OPENSHIFT_VERSION_SHORT} environment is available. For the exact versions of {OPENSHIFT} that the current release supports, see
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,22 @@ oc get dc/myapp-postgresql -ojsonpath='{.spec.template.spec.containers[0].env[?(
oc get dc/myapp-postgresql -ojsonpath='{.spec.template.spec.containers[0].env[?(@.name=="POSTGRESQL_DATABASE")]}'.value
----
+
====
+

. To view the service names in the old deployment, run the following command:
+
----
oc get svc
----
+
Find the `postgresql` service that corresponds to the required {KIE_SERVER} instance.
+

. In a separate terminal window, start port forwarding from the local host to the `postgresql` service, using the name and port number displayed for the service, for example:
+
----
oc port-forward service/myapp-postgresql 5432:5432
----
+

. Create a dump of the database using the recorded user name and database name, for example:
+
[subs="attributes,verbatim,macros,specialchars,replacements"]
Expand Down Expand Up @@ -109,7 +108,7 @@ oc get dc/myapp-postgresql -ojsonpath='{.spec.template.spec.containers[0].env[?(
oc get dc/myapp-postgresql -ojsonpath='{.spec.template.spec.containers[0].env[?(@.name=="POSTGRESQL_DATABASE")]}'.value
----
====
+

. To view the service names in the new deployment, run the command:
+
----
Expand Down
3 changes: 1 addition & 2 deletions titles-enterprise/deploying-on-openshift/title.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ include::_artifacts/snip-conscious-language.adoc[]

// Assembly includes
include::assemblies/assembly-openshift-operator.adoc[]
//include::assemblies/assembly-openshift-templates.adoc[]
//include::assemblies/assembly-hacep.adoc[]



// Versioning info
Expand Down

0 comments on commit 30a43e0

Please sign in to comment.