Repository navigation
docs: fix the onboarding tutorials after a walk - #226
Merged
Merged
Conversation
A reader who didn't write the tutorial ran it on a kind cluster (docs#113). Move it to TESK 0.4.0 (tesk-api 2.0.0) and Pubgrade-Sidecar 0.3.0, the current releases, and pin their links to those versions, as the TESK docs on Read the Docs follow the dev branch. Set createdAt and storage in the service info example, whose chart defaults otherwise leak into the Node's service info; say that ingress.enabled: false creates a public Route on OpenShift; link the settings for OpenShift and Rahti-like clusters, TESK's smoke test and auth.tokenClients for the gateway; keep the sidecar's values in a file of their own; and warn of a taken local port in the port forward. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
A reader who didn't write the tutorial ran step 3 on a kind cluster (docs#113). The OpenShift router can only allow clients, for all methods, so an allow list on the Route would make the service info private and break the registry import: restrict writes at a proxy in front of the router instead. Inline the deploy.yaml edits of the service info overlay, say to restart the app after changing it, name the ClusterIssuer, and warn of a taken local port in the port forward. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Contributor
Reviewer's GuideDocumentationUpdate the Node onboarding tutorial for current TESK and sidecar releases, clarify authentication and OpenShift security behavior, and add the settings and checks found during the walkthrough.
Correct the data-centre tutorial's OpenShift write-restriction guidance and include the overlay deployment details and walkthrough fixes.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Documentation build overview
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A reader who didn't write them (a fresh agent, as decided for this issue) walked both onboarding tutorials step by step, on a local kind cluster, and fixed what got in the way.
Node tutorial
/en/v0.3.0/and/en/stable/return 404), andlatestfollowsdev: for example, it documentsauth.tokenClientsfor tesk-api 2.1.0, in a different format than 0.4.0.createdAtandstorage. Without them, the chart's defaults end up in the Node's service info: a date of 2021 and EMBL-EBI's FTP server, seen in kind.ingress.enabled: false" doesn't keep TESK private on OpenShift, because there it creates a Route. Fixed. Also added links to the settings for OpenShift and for clusters that rejectRuntimeDefault(e.g., CSC Rahti).auth.tokenClients, so TESK accepts the gateway's tokens.sidecar-values.yaml), because its values file had the same name as TESK'smy-values.yaml. The comment on the Route variant now says it fails off OpenShift. AddedseccompProfile: null,refuseDowngradesandallowedTags.curlsilently reached another service).Data-centre tutorial
trs_filer.route.annotations. The OpenShift router can only allow clients, for all methods, so that would make the service info private and break the registry import of step 4. It now says to restrict writes at a proxy in front of the router (prerequisites, "Restrict writes" and "Expose the API").deploy.yamledits of the service info overlay are now inline. Before, the reader had to switch to another page for them. Added a restart after changing the overlay (subPathmounts aren't updated).The edits avoid the parts that open PRs change (#211, #199, #197).
git merge-treeagainst their branches merges cleanly.Closes #113
How it was verified
Walk on kind v0.33.0 (Kubernetes 1.37), with
KUBECONFIGinside the clone. No live cluster, no secrets. Public GETs only.TESK 0.3.0 and 0.4.0:
gh release download,gh attestation verifyandcosign verify-bloball passed, as on the page.helm lintandhelm upgrade --installwith the page's values (including theauthof step 3) worked.GET /service-infoshows the values.POST/GET /taskswithout a token and with an invalid one: 401.Step 4 with authentication off: the page's
hello.jsonran toCOMPLETE, and stdout wasTESK says: Hello World(TESK 0.4.0).Pubgrade-Sidecar 0.2.0 and 0.3.0: installed with the Ingress variant, pod Running. The Route variant fails on plain Kubernetes, as now documented.
seccompProfile: nullremoves the profile (TESK and sidecar,helm template).TRS-Filer 0.5.0: namespace and secret created, chart downloaded and verified, overlay applied.
helm upgrade --installworked.GET /service-infovia port forward shows the overlay (org.example.trs,prod,trs2.0.1). The Ingress rendered with the cert-manager annotation.Registry:
org.ga4gh/tes/1.1.0is a registered type (public GET of/ga4gh/registry/v1/services/types), so TESK 0.4.0's service info is accepted.All 61 external links of both pages answer 200, with their anchors.
mkdocs build --strict,scripts/check_names.pyandpytest(356 passed, 100% coverage) all pass.CI on the PR:
CI passed(Docs, Test, PR title) and the Read the Docs preview build passed.Light lane: docs-only (two tutorial pages). I reviewed the diff myself, without the reviewer subagents.
Not verified (needs a real cluster, LS Login, the registry or partners):
ECP_CLN:EOC-Computeclaim, and the 403 for non-members (steps 3 and 4).Declined review findings
None (light lane).
Open questions
None.
🤖 Generated with Claude Code
https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5