docs, internal/chart, hack, .github: the install page is a how-to guide; its values, flags, metrics and RBAC are a reference page #18
No reviewers
Labels
No labels
accessibility
bug
dependencies
documentation
duplicate
enhancement
go
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mikluko/nats-operator!18
Loading…
Reference in a new issue
No description provided.
Delete branch "mikluko/octant/2369-install-howto-and-reference"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ticket 2369 on map 2366.
docs/content/docs/install.mdkeeps its address and is a how-to guide; its tables and the facts around them are one new reference page,docs/content/docs/reference/chart.md("Chart and controller flags"). One page, not two: the flags, the RBAC and the metrics endpoints are all described in terms of the values that set them, so a split would cross-link on every row.Before and after:
is now a numbered step with the command, the subset fork and the
helm testcheck with its output; the publication facts are "Published chart and images" in the reference.is now "Tolerations of the pod. When set, they replace the whole of
tolerations.", under "Values undercluster". The values table is split by the top-level key ofvalues.yaml.What following the page on a kind cluster changed (Helm v4.3.0, Kubernetes 1.37, published charts 0.1.1 and 0.2.0; uninstall also against the tree's chart):
helm teststraight afterhelm installprintswget: can't connect to remote hostlines before eachok; the step now shows the expected output and says so.helm upgradewithout the CRD step left the CRD at generation 1, as the page says.helm uninstall, delete the CRDs, delete the release namespace. ANatsClusterdeleted after the uninstall did hang oncluster.nats.mikluko.io/jetstream-datauntil a controller was installed again.kubectl delete namespace nats-operatoris a command the old page did not have; it removes thehelm testPods and Services and the Leases the old page listed as left behind.helm installon a Kubernetes cluster whose CRDs another field manager applied fails with a server-side apply conflict on.spec.versions. The page's sequence (uninstall, delete CRDs, install) does not meet it.Anchors. On the install page
#install,#upgradeand#uninstallare kept;#prerequisitesis now#before-you-begin;#values,#controller-flags,#metrics,#rbacand the four RBAC subsections moved toreference/chartunder the same fragments. The one inbound fragment link, story 12'sinstall#metrics, now points atreference/chart#metricsandreference/chart#network-policy. No link fromREADME.md, the chart's README orSECURITY.mdcarried a fragment into the install page; the first two now also link the new page.What follows the tables:
internal/chart/installpage_test.goischartpage_test.goand reads the new page; Renovate's manager for thehelm testimage defaults matchesdocs/content/docs/reference/chart.md; the busybox count message inhack/release_test.gonames it.Not verified by running: the server-restart paragraph under Upgrade and the two "After you install" sections are the old page's statements, reworded.
just site-check,go test ./hack/... ./internal/e2e/... ./internal/chart/,just verifyandjust testpass.