Skip to content

Commit 1544d78

Browse files
authored
Merge pull request #87181 from bmcelvee/OSDOCS-12560
OSDOCS-12560: Building Applications - Classic to HCP breakout
2 parents 09b1f4c + a6668da commit 1544d78

20 files changed

+180
-95
lines changed

_topic_maps/_topic_map_rosa_hcp.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,86 @@ Topics:
838838
# - Name: Cluster Operators reference
839839
# File: operator-reference
840840
---
841+
Name: Building applications
842+
Dir: applications
843+
Distros: openshift-rosa-hcp
844+
Topics:
845+
- Name: Building applications overview
846+
File: index
847+
- Name: Projects
848+
Dir: projects
849+
Topics:
850+
- Name: Working with projects
851+
File: working-with-projects
852+
# cannot impersonate resource "users" in API group
853+
# - Name: Creating a project as another user
854+
# File: creating-project-other-user
855+
- Name: Configuring project creation
856+
File: configuring-project-creation
857+
- Name: Creating applications
858+
Dir: creating_applications
859+
Topics:
860+
- Name: Creating applications using the Developer perspective
861+
File: odc-creating-applications-using-developer-perspective
862+
- Name: Creating applications from installed Operators
863+
File: creating-apps-from-installed-operators
864+
- Name: Creating applications using the CLI
865+
File: creating-applications-using-cli
866+
- Name: Viewing application composition using the Topology view
867+
File: odc-viewing-application-composition-using-topology-view
868+
# cannot create required namespace
869+
# - Name: Exporting applications
870+
# File: odc-exporting-applications
871+
- Name: Working with Helm charts
872+
Dir: working_with_helm_charts
873+
Topics:
874+
- Name: Understanding Helm
875+
File: understanding-helm
876+
- Name: Installing Helm
877+
File: installing-helm
878+
- Name: Configuring custom Helm chart repositories
879+
File: configuring-custom-helm-chart-repositories
880+
- Name: Working with Helm releases
881+
File: odc-working-with-helm-releases
882+
- Name: Deployments
883+
Dir: deployments
884+
Topics:
885+
- Name: Custom domains for applications
886+
File: rosa-config-custom-domains-applications
887+
- Name: Understanding Deployments and DeploymentConfigs
888+
File: what-deployments-are
889+
- Name: Managing deployment processes
890+
File: managing-deployment-processes
891+
- Name: Using deployment strategies
892+
File: deployment-strategies
893+
- Name: Using route-based deployment strategies
894+
File: route-based-deployment-strategies
895+
- Name: Quotas
896+
Dir: quotas
897+
Topics:
898+
- Name: Resource quotas per project
899+
File: quotas-setting-per-project
900+
- Name: Resource quotas across multiple projects
901+
File: quotas-setting-across-multiple-projects
902+
- Name: Using config maps with applications
903+
File: config-maps
904+
- Name: Monitoring project and application metrics using the Developer perspective
905+
File: odc-monitoring-project-and-application-metrics-using-developer-perspective
906+
- Name: Monitoring application health
907+
File: application-health
908+
- Name: Editing applications
909+
File: odc-editing-applications
910+
- Name: Working with quotas
911+
File: working-with-quotas
912+
- Name: Pruning objects to reclaim resources
913+
File: pruning-objects
914+
- Name: Idling applications
915+
File: idling-applications
916+
- Name: Deleting applications
917+
File: odc-deleting-applications
918+
- Name: Using the Red Hat Marketplace
919+
File: red-hat-marketplace
920+
---
841921
Name: Backup and restore
842922
Dir: backup_and_restore
843923
Distros: openshift-rosa-hcp

applications/application-health.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ include::modules/application-health-configuring.adoc[leveloffset=+1]
2222
include::modules/odc-monitoring-application-health-using-developer-perspective.adoc[leveloffset=+1]
2323

2424
// cannot add health checks in web console
25-
ifdef::openshift-rosa,openshift-dedicated[]
25+
ifdef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2626
include::modules/odc-adding-health-checks.adoc[leveloffset=+1]
27-
endif::openshift-rosa,openshift-dedicated[]
27+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2828

2929
include::modules/odc-editing-health-checks.adoc[leveloffset=+1]
3030

3131
include::modules/odc-monitoring-health-checks.adoc[leveloffset=+1]
3232

3333
[role="_additional-resources"]
3434
.Additional resources
35-
ifndef::openshift-rosa,openshift-dedicated[]
35+
ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
3636
* For details on switching to the *Developer* perspective in the web console, see xref:../web_console/web-console-overview.adoc#about-developer-perspective_web-console-overview[About the *Developer* perspective].
37-
endif::openshift-rosa,openshift-dedicated[]
37+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
3838
* For details on adding health checks while creating and deploying an application, see *Advanced Options* in the xref:../applications/creating_applications/odc-creating-applications-using-developer-perspective.adoc#odc-creating-applications-using-developer-perspective[Creating applications using the Developer perspective] section.

applications/connecting_applications_to_services/exposing-binding-data-from-a-service.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ include::modules/sbo-categories-of-exposable-binding-data.adoc[leveloffset=+1]
2323
== Additional resources
2424
// * link:https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/src/components/descriptors/reference/reference.md[OLM Descriptor Reference].
2525
// When OLM descriptors are supported again, add this additional resource.
26-
ifndef::openshift-rosa,openshift-dedicated[]
26+
ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2727
* xref:../../operators/operator_sdk/osdk-generating-csvs.adoc#osdk-generating-csvs[Defining cluster service versions (CSVs)].
28-
endif::openshift-rosa,openshift-dedicated[]
28+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2929
* xref:../../applications/connecting_applications_to_services/projecting-binding-data.adoc#projecting-binding-data[Projecting binding data].

applications/connecting_applications_to_services/getting-started-with-service-binding.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,30 @@ The {servicebinding-title} manages the data plane for workloads and backing serv
1414
[discrete]
1515
== Prerequisites
1616

17-
ifndef::openshift-rosa,openshift-dedicated[]
17+
ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
1818
* You have access to an {product-title} cluster using an account with `cluster-admin` permissions.
19-
endif::openshift-rosa,openshift-dedicated[]
20-
ifdef::openshift-rosa,openshift-dedicated[]
19+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
20+
ifdef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2121
* You have access to an {product-title} cluster using an account with `dedicated-admin` permissions.
22-
endif::openshift-rosa,openshift-dedicated[]
22+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2323
* You have installed the `oc` CLI.
2424
* You have installed {servicebinding-title} from OperatorHub.
25-
ifndef::openshift-rosa,openshift-dedicated[]
25+
ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2626
* You have installed the 5.1.2 version of the Crunchy Postgres for Kubernetes Operator from OperatorHub using the *v5* Update channel. The installed Operator is available in an appropriate namespace, such as the `my-petclinic` namespace.
2727
+
2828
[NOTE]
2929
====
3030
You can create the namespace using the `oc create namespace my-petclinic` command.
3131
====
32-
endif::openshift-rosa,openshift-dedicated[]
33-
ifndef::openshift-rosa,openshift-dedicated[]
32+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
33+
ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
3434
* You have installed the 5.1.2 version of the Crunchy Postgres for Kubernetes Operator from OperatorHub using the *v5* Update channel. The installed Operator is available in an appropriate project, such as the `my-petclinic` project.
3535
+
3636
[NOTE]
3737
====
3838
You can create the project using the `oc new-project my-petclinic` command.
3939
====
40-
endif::openshift-rosa,openshift-dedicated[]
40+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
4141

4242
//Creating a PostgreSQL database instance
4343
include::modules/sbo-creating-a-postgresql-database-instance.adoc[leveloffset=+1]

applications/connecting_applications_to_services/installing-sbo.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ You can install {servicebinding-title} on {product-title} 4.7 and later.
1616
== Prerequisites
1717

1818
* You have access to an {product-title} cluster using an account with `cluster-admin` permissions.
19-
ifndef::openshift-rosa,openshift-dedicated[]
19+
ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2020
* Your cluster has the xref:../../installing/overview/cluster-capabilities.adoc#operator-marketplace_cluster-capabilities[Marketplace capability] enabled or the Red Hat Operator catalog source configured manually.
21-
endif::openshift-rosa,openshift-dedicated[]
21+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2222

2323
//Installing Service Binding Operator using web console
2424

applications/creating_applications/creating-apps-from-installed-operators.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ have been installed by a cluster administrator.
1313
This guide walks developers through an example of creating applications from an
1414
installed Operator using the {product-title} web console.
1515

16-
ifndef::openshift-rosa,openshift-dedicated[]
16+
ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
1717
[role="_additional-resources"]
1818
.Additional resources
1919
2020
* See the
2121
xref:../../operators/understanding/olm-what-operators-are.adoc#olm-what-operators-are[Operators]
2222
guide for more on how Operators work and how the Operator Lifecycle Manager is
2323
integrated in {product-title}.
24-
endif::openshift-rosa,openshift-dedicated[]
24+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2525
2626
include::modules/olm-creating-etcd-cluster-from-operator.adoc[leveloffset=+1]

applications/creating_applications/odc-creating-applications-using-developer-perspective.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,23 +54,23 @@ Note that certain options, such as *Pipelines*, *Event Source*, and *Import Virt
5454
endif::[]
5555
// dedicated-admin cannot install the Serverless or Virtualization operators, cannot create namespace.
5656
// xref: ../../cicd/pipelines/installing-pipelines.adoc#op-installing-pipelines-operator-in-web-console_installing-pipelines[OpenShift Pipelines Operator]
57-
ifdef::openshift-rosa,openshift-dedicated[]
57+
ifdef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
5858
Note that the *Pipelines* option is displayed only when the OpenShift Pipelines Operator is installed.
59-
endif::openshift-rosa,openshift-dedicated[]
59+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
6060

6161
[id="prerequisites_odc-creating-applications-using-developer-perspective"]
6262
== Prerequisites
6363

6464
To create applications using the *Developer* perspective ensure that:
6565

66-
ifndef::openshift-rosa,openshift-dedicated[]
66+
ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
6767
* You have xref:../../web_console/web-console.adoc#web-console[logged in to the web console].
6868
* You have created a project or have access to a project with the appropriate xref:../../authentication/using-rbac.adoc#default-roles_using-rbac[roles and permissions] to create applications and other workloads in {product-title}.
69-
endif::openshift-rosa,openshift-dedicated[]
70-
ifdef::openshift-rosa,openshift-dedicated[]
69+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
70+
ifdef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
7171
* You have logged in to the web console.
7272
// * You have created a project or have access to a project with the appropriate xref: ../../authentication/using-rbac.adoc#default-roles_using-rbac[roles and permissions] to create applications and other workloads in {product-title}.
73-
endif::openshift-rosa,openshift-dedicated[]
73+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
7474

7575
// dedicated-admin cannot install the Serverless operator. This ifdef should cover this.
7676
ifdef::openshift-enterprise,openshift-webscale[]

applications/creating_applications/using-templates.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ include::modules/templates-cli-generating-list-of-objects.adoc[leveloffset=+2]
2525
include::modules/templates-modifying-uploaded-template.adoc[leveloffset=+1]
2626

2727
// cannot patch resource "templates"
28-
ifndef::openshift-rosa,openshift-dedicated[]
28+
ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2929
include::modules/templates-using-instant-app-quickstart.adoc[leveloffset=+1]
3030

3131
include::modules/templates-quickstart.adoc[leveloffset=+2]
32-
endif::openshift-rosa,openshift-dedicated[]
32+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
3333

3434
include::modules/templates-writing.adoc[leveloffset=+1]
3535

applications/deployments/managing-deployment-processes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ include::modules/deployments-setting-triggers.adoc[leveloffset=+3]
2424
include::modules/deployments-setting-resources.adoc[leveloffset=+2]
2525

2626
// When the Nodes book is added to ROSA/OSD, check if this link is valid.
27-
ifndef::openshift-rosa,openshift-dedicated[]
27+
ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
2828
[role="_additional-resources"]
2929
.Additional resources
3030

3131
* For more information about resource limits and requests, see xref:../../nodes/clusters/nodes-cluster-resource-configure.adoc#nodes-cluster-resource-configure-about_nodes-cluster-resource-configure[Understanding managing application memory].
32-
endif::openshift-rosa,openshift-dedicated[]
32+
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
3333

3434
include::modules/deployments-scaling-manually.adoc[leveloffset=+2]
3535
include::modules/deployments-accessing-private-repos.adoc[leveloffset=+2]

applications/deployments/route-based-deployment-strategies.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ include::modules/deployments-blue-green.adoc[leveloffset=+1]
3434
include::modules/deployments-ab-testing.adoc[leveloffset=+1]
3535
include::modules/deployments-ab-testing-lb.adoc[leveloffset=+2]
3636

37+
ifndef::openshift-rosa-hcp[]
38+
// Remove conditionals when Networking content is in ROSA HCP
3739
[role="_additional-resources"]
3840
[id="additional-resources_{context}"]
3941
== Additional resources
4042

4143
* xref:../../networking/routes/route-configuration.adoc#nw-route-specific-annotations_route-configuration[Route-specific annotations].
44+
endif::[]

0 commit comments

Comments
 (0)