Docs: bring the v1.11 and v1.10 docs up to 1.11.2 and 1.10.10

BR
3h ago
+643-81

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 failurePolicy note; the old certgen Job output and --set are 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 that HTTP_PROXY/HTTPS_PROXY are not used (tracked in kubevela/kubevela#7685). On 1.10.10 the request, webhook and notification steps have no timeout parameter, so they always time out after 3s; the v1.10 page says so plainly.
  • request step. 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 valuesFrom come only from the Application's namespace from 1.11.2; the example put the Secret in vela-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-image default 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 the vela-cli step's Job running in the Application's namespace as default), 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.js if adding a new page.
  • Run yarn start to ensure the changes has taken effect.

Special notes for your reviewer

  • built-in-workflow-defs.md and components/references.md are generated, so I haven't hand-edited their spec tables. Regenerating them from v1.11.2 and v1.10.10 fixes the vela-cli default (default, not kubevela-vela-core), its example, the kaniko default and the missing timeout parameters 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 into helmchart.eg.md on release-1.11 before 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-core now creates and renews its own webhook and cluster-gateway certs; the kube-webhook-certgen Jobs and image are gone. The docs cover the failurePolicy behavior 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_PROXY are not used; it follows #1474's page in docs/.
  • helmchart credentials and valuesFrom come from the Application's namespace only (v1.11.2), and a release another Application owns is refused; the example that put the Secret in vela-system is 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-image defaults to ghcr.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: the vela-cli step runs as default with its own ServiceAccount example, and the HTTP steps gain timeout, headersFromSecret and ratelimiter.

New pages and upgrade guidance

  • Adds workflow-http-protection.md to 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 — including vela-cli steps running in the Application's namespace as default.
  • Air-gapped install pages list the images each release pulls, by digest, and how a workflow step points at a mirrored copy.