diff --git a/shared-doc/helm-deploy-project.adoc b/shared-doc/helm-deploy-project.adoc index 8fbff12fd1..f04d1035ab 100644 --- a/shared-doc/helm-deploy-project.adoc +++ b/shared-doc/helm-deploy-project.adoc @@ -140,9 +140,9 @@ endif::[] The Maven profile named `openshift` is used by the Helm chart to provision the server with the quickstart deployed on the root web context, and thus the application should be accessed with the URL without the `/{artifactId}` path segment after `HOST:PORT`. ==== -ifdef::openshift,post-helm-install-actions-openshift[] +ifdef::openshift+post-helm-install-actions-openshift[] include::{post-helm-install-actions-openshift}[leveloffset=+1] -endif::openshift,post-helm-install-actions-openshift[] -ifdef::kubernetes,post-helm-install-actions-kubernetes[] +endif::openshift+post-helm-install-actions-openshift[] +ifdef::kubernetes+post-helm-install-actions-kubernetes[] include::{post-helm-install-actions-kubernetes}[leveloffset=+1] -endif::kubernetes,post-helm-install-actions-kubernetes[] +endif::kubernetes+post-helm-install-actions-kubernetes[] diff --git a/shared-doc/helm-undeploy-project.adoc b/shared-doc/helm-undeploy-project.adoc index c42eedea06..078d91513e 100644 --- a/shared-doc/helm-undeploy-project.adoc +++ b/shared-doc/helm-undeploy-project.adoc @@ -6,5 +6,9 @@ $ helm uninstall {helm-app-name} ---- ifdef::kubernetes[] -Stop the port forward you created earlier with `kubectl port-forward service/{helm-app-name} 8080:8080`. -endif::[] +To stop the port forward you created earlier use: +[source,options="nowrap",subs="+attributes"] +---- +$ kubectl port-forward service/{helm-app-name} 8080:8080 +---- +endif::[] \ No newline at end of file