Skip to content

docs: fix op instructions#2683

Merged
moabu merged 3 commits intomainfrom
docs-ob-instructions
Mar 4, 2026
Merged

docs: fix op instructions#2683
moabu merged 3 commits intomainfrom
docs-ob-instructions

Conversation

@misba7
Copy link
Contributor

@misba7 misba7 commented Mar 3, 2026

closes #2682

Summary by CodeRabbit

  • Documentation
    • Simplified resource requirements table and clarified certificate configuration and ordering.
    • Replaced legacy values references with a single openbanking-values workflow for Helm installs/upgrades.
    • Added private registry pullSecrets guidance and updated mTLS/SSL configuration examples.
    • Updated token retrieval and restart procedures to use transport certificates and explicit deployment names.
    • Clarified config mounting, custom scope guidance, and assorted wording improvements.

misba7 added 2 commits March 3, 2026 14:23
Signed-off-by: Amro Misbah <amromisba7@gmail.com>
Signed-off-by: Amro Misbah <amromisba7@gmail.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 3, 2026

📝 Walkthrough

Walkthrough

Documentation updates to the OpenBanking installation guide replace override.yaml with openbanking-values.yaml, restructure the resource and certificate tables, add private registry / pullSecret guidance, update Helm install/upgrade examples and mTLS examples, change token retrieval to use obtransport certificates, and use explicit deployment names (e.g., gluu-auth-server, gluu-config-api).

Changes

Cohort / File(s) Summary
OpenBanking Installation Documentation
docs/openbanking/install-cn.md
Replaced override.yaml references with openbanking-values.yaml; removed Disk Space column and consolidated resource table; reorganized certificate/key notes and added OB transport truststore; added pullSecrets/private registry workflow and YAML snippets; updated Helm install/upgrade commands and mTLS/SSL/TLS examples; changed token retrieval and restart commands to target gluu-auth-server and gluu-config-api; minor wording tweaks.

Sequence Diagram(s)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • iromli
  • moabu

Poem

🐰 In YAML fields the carrots prance and play,
I swapped the names and smoothed the path today.
Tables hop in order, cert notes neatly spun,
Helm commands now point where deployments run.
Cheers — a tidy guide, and then I nibble a bun! 🥕✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'docs: fix op instructions' is vague and uses abbreviated language that doesn't clearly convey the specific changes made to the documentation. Provide a more specific title that describes the actual changes, such as 'docs: update openbanking deployment instructions and values file references'.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed The PR addresses issue #2682 which requests updating openbanking instructions, and the changes comprehensively update configuration references, deployment guidance, and mTLS workflows.
Out of Scope Changes check ✅ Passed All changes are focused on documentation updates for openbanking installation and deployment in the Chinese documentation file, which aligns with the linked issue objective.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs-ob-instructions

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mo-auto mo-auto added the area-documentation Documentation needs to change as part of issue or PR label Mar 3, 2026
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/openbanking/install-cn.md`:
- Around line 46-48: There are markdownlint violations: change the fenced code
blocks to the repository's preferred fence style and remove trailing spaces in
the affected blocks; specifically, replace or normalize the shown bash fence
(the kubectl snippet using ```bash) and the other newly added code blocks to
match the repo's configured fence character (backticks vs tildes) and language
tag usage, and delete any trailing whitespace on the lines flagged (including
the single-line trailing space in the block around the kubectl snippet and the
other mentioned blocks). Locate the fenced blocks containing the kubectl create
secret example and the surrounding newly added sections (the other listed code
blocks) and update their fences to match existing files and strip trailing
spaces from all lines in those blocks.
- Line 40: Fix the typos in the sentence mentioning installation prerequisites:
change "prerequistes" to "prerequisites" and "choosed" to "chosen" in the line
that references following the [docs] and edits to `openbanking-values.yaml`
based on the Gluu persistence choice; ensure the corrected sentence reads
smoothly and preserves links to ../install/helm-install/README.md and the
filename `openbanking-values.yaml`.
- Line 222: The TOKEN assignment uses a curl invocation where the scope argument
contains Markdown link syntax, causing invalid shell input; edit the TOKEN line
(the curl command that sets TOKEN) to pass a plain scope string instead of
`[text](url)`—for example replace the markdown with the raw scope URL
(URL-encode characters if necessary) so the --data
"grant_type=client_credentials&scope=your_raw_scope_url" is sent correctly and
token retrieval succeeds.

ℹ️ Review info

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9f29acf and 2694ebe.

📒 Files selected for processing (1)
  • docs/openbanking/install-cn.md

Signed-off-by: Amro Misbah <amromisba7@gmail.com>
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
docs/openbanking/install-cn.md (2)

77-83: ⚠️ Potential issue | 🟠 Major

Correct invalid YAML in the global snippet.

Line 78 is missing a colon (global:). The current example is not valid YAML and will fail to parse, misleading users configuring openbanking-values.yaml.

Proposed fix
-      global
+      global:
         auth-server:
           ingress:
             authServerProtectedToken: true
             authServerProtectedRegister: true
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/openbanking/install-cn.md` around lines 77 - 83, Fix the invalid YAML in
the code block by adding the missing colon to the top-level mapping key "global"
so the snippet becomes a valid mapping (i.e., change "global" to "global:"),
ensuring the following nested keys like "auth-server" and its "ingress" children
remain properly indented; update the code block in the install-cn.md snippet
that contains the "global"/"auth-server"/"ingress" example accordingly.

261-273: ⚠️ Potential issue | 🟠 Major

Fix malformed YAML indentation in the persistence.volumes/volumeMounts example.

The snippet mixes tab indentation (lines 263-270) with space indentation (lines 271-272), making it invalid YAML. The mountPath and subPath keys are misaligned and inconsistently indented relative to their parent - name: custom-scopes key.

Proposed fix
  ```yaml
  persistence:
-		volumes:
-			- name: custom-scopes
-				configMap:
-					name: custom-scopes
-		volumeMounts:
-			- name: custom-scopes
-              mountPath: "/app/templates/scopes.ob.ldif"
-              subPath: scopes.ob.ldif
+    volumes:
+      - name: custom-scopes
+        configMap:
+          name: custom-scopes
+    volumeMounts:
+      - name: custom-scopes
+        mountPath: "/app/templates/scopes.ob.ldif"
+        subPath: scopes.ob.ldif
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against the current code and only fix it if needed.

In @docs/openbanking/install-cn.md around lines 261 - 273, Fix the malformed
YAML indentation in the example by normalizing spacing and aligning keys under
the same parent: for the persistence block (persistence.volumes and
persistence.volumeMounts) ensure "volumes:" and "volumeMounts:" are indented
equally under persistence, the list item "- name: custom-scopes" is two spaces
deeper, and its children "configMap: name: custom-scopes" and for the
volumeMounts the keys "mountPath" and "subPath" are aligned beneath "- name:
custom-scopes"; update the snippet so keys are consistently spaced (no mixed
tabs) and nested like persistence -> volumes -> - name -> configMap -> name and
persistence -> volumeMounts -> - name -> mountPath/subPath.


</details>

</blockquote></details>

</blockquote></details>
♻️ Duplicate comments (2)
docs/openbanking/install-cn.md (2)

40-40: ⚠️ Potential issue | 🟡 Minor

Fix remaining typo in installation prerequisite sentence.

Line 40 still uses “choosed”; this should be “chosen” for clarity in user-facing docs.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/openbanking/install-cn.md` at line 40, The sentence in docs referencing
installation prerequisites contains a typo: replace the incorrect word "choosed"
with the correct word "chosen" in the sentence that mentions
openbanking-values.yaml so the line reads "...based on the Gluu persistence
chosen." Update the document string accordingly (search for the phrase
"openbanking-values.yaml" to locate the sentence).

46-48: ⚠️ Potential issue | 🟡 Minor

Resolve remaining markdownlint warnings in newly added blocks.

Static analysis still reports MD046 (code block style) and MD009 (trailing spaces at Line 227) in these changed ranges.

Also applies to: 52-61, 214-217, 221-225, 227-227, 229-235, 239-242

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/openbanking/install-cn.md` around lines 46 - 48, The markdown has linter
warnings MD046 (inconsistent code fence style) and MD009 (trailing spaces);
update the affected blocks (e.g., the kubectl registry secret block containing
the kubectl create secret docker-registry command and other blocks in the ranges
noted) to use a consistent fenced code block style (triple backticks, include
optional language token if appropriate) throughout the file and remove any
trailing whitespace (notably at the reported Line 227 and similar lines). Ensure
all code fences match the chosen style and trim end-of-line spaces for the
listed ranges (52-61, 214-217, 221-225, 227, 229-235, 239-242).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@docs/openbanking/install-cn.md`:
- Around line 77-83: Fix the invalid YAML in the code block by adding the
missing colon to the top-level mapping key "global" so the snippet becomes a
valid mapping (i.e., change "global" to "global:"), ensuring the following
nested keys like "auth-server" and its "ingress" children remain properly
indented; update the code block in the install-cn.md snippet that contains the
"global"/"auth-server"/"ingress" example accordingly.
- Around line 261-273: Fix the malformed YAML indentation in the example by
normalizing spacing and aligning keys under the same parent: for the persistence
block (persistence.volumes and persistence.volumeMounts) ensure "volumes:" and
"volumeMounts:" are indented equally under persistence, the list item "- name:
custom-scopes" is two spaces deeper, and its children "configMap: name:
custom-scopes" and for the volumeMounts the keys "mountPath" and "subPath" are
aligned beneath "- name: custom-scopes"; update the snippet so keys are
consistently spaced (no mixed tabs) and nested like persistence -> volumes -> -
name -> configMap -> name and persistence -> volumeMounts -> - name ->
mountPath/subPath.

---

Duplicate comments:
In `@docs/openbanking/install-cn.md`:
- Line 40: The sentence in docs referencing installation prerequisites contains
a typo: replace the incorrect word "choosed" with the correct word "chosen" in
the sentence that mentions openbanking-values.yaml so the line reads "...based
on the Gluu persistence chosen." Update the document string accordingly (search
for the phrase "openbanking-values.yaml" to locate the sentence).
- Around line 46-48: The markdown has linter warnings MD046 (inconsistent code
fence style) and MD009 (trailing spaces); update the affected blocks (e.g., the
kubectl registry secret block containing the kubectl create secret
docker-registry command and other blocks in the ranges noted) to use a
consistent fenced code block style (triple backticks, include optional language
token if appropriate) throughout the file and remove any trailing whitespace
(notably at the reported Line 227 and similar lines). Ensure all code fences
match the chosen style and trim end-of-line spaces for the listed ranges (52-61,
214-217, 221-225, 227, 229-235, 239-242).

ℹ️ Review info

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2694ebe and 71dee00.

📒 Files selected for processing (1)
  • docs/openbanking/install-cn.md

@misba7 misba7 requested a review from moabu March 3, 2026 21:47
@moabu moabu merged commit dc3bdd5 into main Mar 4, 2026
6 checks passed
@moabu moabu deleted the docs-ob-instructions branch March 4, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-documentation Documentation needs to change as part of issue or PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: update openbanking instructions

3 participants