Docs: bring the v1.11 and v1.10 docs up to 1.11.2 and 1.10.10
Description of your changes
The 1.11.2 and 1.10.10 patch releases changed a fair bit of behaviour, and none of it reached the versioned docs. Someone on 1.11 or 1.10 reading the site today gets told about kube-webhook-certgen, a kaniko image we moved off, a helmchart Secret location that was never allowed, and nothing at all about the outbound HTTP guard that can now fail their steps. This brings version-v1.11 and version-v1.10 up to date with the patch lines. docs/ (1.12) is left to the open 1.12 PRs.
One commit per topic, each checked against the v1.11.2 and v1.10.10 tags:
- Certificates. vela-core makes and renews its own webhook and cluster-gateway certs (from 1.11.1 and 1.10.10). New "Certificates" section on the advanced install page, with the Argo CD / Flux
failurePolicynote; the old certgen Job output and--setare gone, and the cert flags are on the bootstrap parameters page. - Outbound HTTP protection. New page for each line, based on the
docs/page in #1474 but with what that page is missing: loopback always refused, the full list of what is guarded (not only workflow steps), what the two gates also break, the timeout and response size bounds, and thatHTTP_PROXY/HTTPS_PROXYare not used (tracked in kubevela/kubevela#7685). On 1.10.10 therequest,webhookandnotificationsteps have notimeoutparameter, so they always time out after 3s; the v1.10 page says so plainly. requeststep. The tutorial definition now matches the shipped step: fails on 400 and above, parses the body only when it's JSON.- helmchart (v1.11). Credentials and
valuesFromcome only from the Application's namespace from 1.11.2; the example put the Secret invela-system, which was refused even on 1.11.0. Also notes that a release another Application owns is refused. - Config steps. Which namespace they work in from the patch releases.
- kaniko. The new
build-push-imagedefault in the source-to-image tutorial. - Impersonation annotations, Terraform SSH key Secret. Short notes where readers would look.
- Air-gapped installs. The images each patch line pulls, by digest.
- Upgrade notes. A section per patch release on the migration page: CRDs first, don't use
--reuse-values, and what changes behaviour (including thevela-clistep's Job running in the Application's namespace asdefault), each linking to the page with the detail.
Patch-level facts are marked "from v1.11.2" / "from v1.10.10" (or 1.11.1) wherever someone on an earlier patch would see different behaviour.
Related to #1474
I have:
- Read and followed KubeVela's contribution process.
- Update
sidebar.jsif adding a new page. - Run
yarn startto ensure the changes has taken effect.
Special notes for your reviewer
built-in-workflow-defs.mdandcomponents/references.mdare generated, so I haven't hand-edited their spec tables. Regenerating them fromv1.11.2andv1.10.10fixes thevela-clidefault (default, notkubevela-vela-core), its example, the kaniko default and the missingtimeoutparameters on v1.11. That can be a follow-up PR. The one exception is the helmchart prose on v1.11: it was added by hand in the first place and has no source in the generator, so it's edited here, and it needs porting intohelmchart.eg.mdonrelease-1.11before that page is regenerated.- The new HTTP page keeps #1474's file name,
workflow-http-protection.md, so the versions line up, even though it covers more than workflows now. - Links and anchors I added are checked; I haven't run the site locally yet.
Summary by cubic
Brings the v1.11 and v1.10 docs up to date with the 1.11.2 and 1.10.10 security releases, which changed behavior the versioned pages were wrong or silent about. docs/ (1.12) is left to the open 1.12 PRs.
Behavior changes documented
vela-corenow creates and renews its own webhook and cluster-gateway certs; thekube-webhook-certgenJobs and image are gone. The docs cover thefailurePolicybehavior under GitOps: how to ignore the field in Argo CD and Flux.- The new outbound HTTP protection page covers what is refused, the denylist ConfigMaps, the two feature gates, and the timeout and response-size bounds, and notes that
HTTP_PROXY/HTTPS_PROXYare not used; it follows #1474's page indocs/. helmchartcredentials andvaluesFromcome from the Application's namespace only (v1.11.2), and a release another Application owns is refused; the example that put the Secret invela-systemis fixed.- Config steps are confined to the Application's own namespace; the rule doesn't apply to a Pipeline's WorkflowRun, which has no Application and runs its config steps under the workflow controller.
build-push-imagedefaults toghcr.io/osscontainertools/kaniko:v1.29.1(pinned by digest), and the Terraform SSH-key Secret and impersonation annotations notes say when they're confined or ignored.- The v1.11 generated workflow reference is regenerated from
v1.11.2: thevela-clistep runs asdefaultwith its own ServiceAccount example, and the HTTP steps gaintimeout,headersFromSecretandratelimiter.
New pages and upgrade guidance
- Adds
workflow-http-protection.mdto both versioned sidebars, and lists the HTTP flags and gates on the bootstrap parameters page. - Migration pages gain per-patch upgrade sections: apply CRDs before
helm upgrade, avoid--reuse-values(including which earlier release causes which error), and what changes behavior — includingvela-clisteps running in the Application's namespace asdefault. - Air-gapped install pages list the images each release pulls, by digest, and how a workflow step points at a mirrored copy.