Skip to content

Rework todo-backend README due to Glow, and due to similar content fo…#1163

Open
emmartins wants to merge 1 commit into
wildfly:mainfrom
emmartins:fix-eap-todo-os-instructions
Open

Rework todo-backend README due to Glow, and due to similar content fo…#1163
emmartins wants to merge 1 commit into
wildfly:mainfrom
emmartins:fix-eap-todo-os-instructions

Conversation

@emmartins
Copy link
Copy Markdown
Contributor

…r both wfly and eap

@emmartins emmartins requested a review from kstekovi May 13, 2026 03:22
Copy link
Copy Markdown
Contributor

@kstekovi kstekovi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup! Reducing the ifdef/ifndef duplication and reflecting the Glow-based provisioning is a clear improvement. I have a couple of issues to flag before this is ready to merge.

$ helm dependency update charts
----

= Environment variables for PostgreSQL
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The section heading uses a level-0 title (= Environment variables for PostgreSQL), but the original in additional-readme-cloud.adoc used === (level 3 subsection). When this file is included inside the cloud deployment sections (with leveloffset applied by the shared docs), this will render at an incorrect level in the output. Please change it to ===.

Comment on lines +166 to +168
:helm-install-prerequisites-openshift: ../todo-backend/helm-install-prerequisites.adoc
include::../shared-doc/build-and-run-the-quickstart-with-openshift.adoc[leveloffset=+1]
include::../todo-backend/additional-readme-openshift.adoc[leveloffset=+1]
:!additional-readme-openshift:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:additional-readme-openshift: is correctly unset after the include, but helm-install-prerequisites-openshift (set on the line above) is never unset. This leaks the attribute into subsequent sections. Please add :!helm-install-prerequisites-openshift: here (and similarly :!helm-install-prerequisites-kubernetes: after the Kubernetes section) to mirror the handling of the other attributes.

in the secret `postgres-configmap`.

ifdef::additional-readme-openshift[]
== Use the todobackend Web Frontend
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This "Use the todobackend Web Frontend" section contained important practical guidance for OpenShift users — specifically how to retrieve the deployed route URL and construct the full path to use with the todobackend.com specs and client:

$ oc get route todo-backend -o jsonpath="{.spec.host}"

The todobackend.com links have been moved to the local testing section, but this cloud-specific URL discovery step is now missing. Without it, OpenShift users won't know how to find the URL to point todobackend.com at their deployed app. Could you add this back somewhere in the OpenShift section?

deploy:
env:
- name: POSTGRESQL_PASSWORD
- name: POSTGRESQL_DATABASE
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor/pre-existing: - name: POSTGRESQL_DATABASE is indented as a sub-item of - name: POSTGRESQL_PASSWORD rather than at the same level. Since this block is being moved and touched anyway, it would be a good opportunity to fix the indentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants