Skip to content

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

Open
briankane wants to merge 19 commits into
kubevela:mainfrom
briankane:docs/versioned-patch-fixes
Open

briankane wants to merge 19 commits into
kubevela:mainfrom
briankane:docs/versioned-patch-fixes

Conversation

@briankane

@briankane briankane commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

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 docs: workflow outbound HTTP protection #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 Outbound HTTP from vela-core ignores HTTP_PROXY/HTTPS_PROXY, so it fails behind an egress proxy 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 docs: workflow outbound HTTP protection #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 docs: workflow outbound HTTP protection #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.

Written for commit acbb83e. Summary will update on new commits.

View guided diff

From v1.11.1 and v1.10.10 the chart no longer runs the kube-webhook-certgen
Jobs: vela-core creates and renews the webhook and cluster-gateway serving
certificates itself. Say so on the advanced installation page, drop the old
Job output from the install page and the certgen image from the remote
debugging command, and list the certificate flags.

Signed-off-by: Brian Kane <briankane1@gmail.com>
Add the outbound HTTP protection page to both lines: what is always
refused (metadata, link-local, and loopback from v1.11.2 / v1.10.10), the
denylist ConfigMaps, the two feature gates, the timeout and response size
bounds, and that HTTP_PROXY/HTTPS_PROXY are not used. v1.10.10's request,
webhook and notification steps have no timeout parameter, so they always
time out after 3s; the v1.10 page says so.

Also list the HTTP flags and gates on the bootstrap parameters page, and
note the bounds and the tls_config Secret namespace rule under HTTPDo.

Signed-off-by: Brian Kane <briankane1@gmail.com>
The built-in request step fails on any status of 400 or above and parses
the body only when it is JSON (v1.11.2, v1.10.10). The tutorial still
taught > 400 and an unconditional json.Unmarshal, which readers copy.

Signed-off-by: Brian Kane <briankane1@gmail.com>
From v1.11.2 the helmchart component reads chart.auth.secretRef and
valuesFrom only from the Application's namespace and refuses the release
namespace. The page told readers to put the Secret in vela-system, which
was never allowed, and the example did so. Also note that a release
another Application owns is refused.

Signed-off-by: Brian Kane <briankane1@gmail.com>
…1.10

From v1.11.2 and v1.10.10 the read, list, create and delete config steps
work only in the Application's namespace, except reads of shared system
configs in vela-system, or with AuthenticateApplication on when the
Application's user may act on Secrets there.

Signed-off-by: Brian Kane <briankane1@gmail.com>
From v1.11.2 and v1.10.10 build-push-image defaults to
ghcr.io/osscontainertools/kaniko:v1.29.1 (by digest) instead of
oamdev/kaniko-executor:v1.9.1. Update the source-to-image tutorial, and
stop suggesting the archived upstream kaniko image.

Signed-off-by: Brian Kane <briankane1@gmail.com>
With AuthenticateApplication on, the webhook overwrites
app.oam.dev/username when authentication.withUser is true, and from
v1.11.2 and v1.10.10 a hand-written username or service account
annotation is ignored when it is false.

Signed-off-by: Brian Kane <briankane1@gmail.com>
Document gitCredentialsSecretReference for remote Terraform modules, and
that from v1.11.2 and v1.10.10 its Secret must be in the definition's
namespace.

Signed-off-by: Brian Kane <briankane1@gmail.com>
The air-gapped page pointed only at velad. List the images the vela-core
chart and the built-in steps pull on each patch line, by digest, and note
that kube-webhook-certgen is no longer one of them.

Signed-off-by: Brian Kane <briankane1@gmail.com>
Add an upgrade section for each patch release to the migration page: the
commands (CRDs first, no --reuse-values), and what changes behaviour. The
vela-cli step change is described here, since its only other page is
generated; the rest link to the pages that carry the detail.

Signed-off-by: Brian Kane <briankane1@gmail.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 29 files

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

Take the v1.11.2 step definitions into the generated reference: the
kaniko default and its example, the vela-cli serviceAccountName default
and its example with its own ServiceAccount, and the timeout,
headersFromSecret and ratelimiter parameters of the HTTP steps. Hunks
from definitions that did not change at the tag (apply-component wording,
the catalog's read-app) are left as they were.

Signed-off-by: Brian Kane <briankane1@gmail.com>
The upgrade notes now name the AuthenticateApplication exception for
config steps alongside the shared system configs, and say which earlier
v1.11 release gives which --reuse-values error. The config how-to says
the namespace rule is for Applications: a Pipeline's WorkflowRun runs
under the workflow controller, whose config steps default to the
WorkflowRun's namespace and are not limited to it.

Signed-off-by: Brian Kane <briankane1@gmail.com>
In-cluster destinations stay allowed only while
blockPrivateHTTPAddresses is off, since ClusterIPs are private
addresses. The denylist discovery label takes the config template's
name, workflow.httpDeny.configTemplateName, which only defaults to
vela-core-http-deny.

Signed-off-by: Brian Kane <briankane1@gmail.com>
The build-push-image step pins its default kaniko image by digest on
v1.11.2 and v1.10.10, so the tutorial's comments show the same
reference, and the example for a mirrored copy is pinned by digest too.

Signed-off-by: Brian Kane <briankane1@gmail.com>
The build-push-image and vela-cli default images are step properties,
not chart values, so the air-gapped page says to set kanikoExecutor or
image on each step that uses one.

Signed-off-by: Brian Kane <briankane1@gmail.com>
helm install and upgrade keep the live failurePolicy, since the chart
looks the webhooks up. Argo CD and applied helm template output render
Ignore, which vela-core puts back within a minute, so give the Argo CD
ignoreDifferences and RespectIgnoreDifferences to use. A Flux
HelmRelease keeps the live policy too; with drift detection on it needs
the JSON pointer of each webhook's failurePolicy.

Signed-off-by: Brian Kane <briankane1@gmail.com>
KubeVela reads a gitCredentialsSecretReference without a namespace from
the definition's namespace, but the reference is copied to the
Configuration, and terraform-controller reads the Secret from exactly
the namespace given. Set it in the example and say why.

Signed-off-by: Brian Kane <briankane1@gmail.com>
The admonition's closing ::: carried a trailing space on both lines.

Signed-off-by: Brian Kane <briankane1@gmail.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 15 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

@briankane briankane added the type/docs Improvements or additions to documentation label Nov 24, 2026
AllowStepConfigAccess returns early when the step has no Application
namespace, so a Pipeline's WorkflowRun config steps keep working in any
namespace. Scope the rule and the upgrade note to Application workflows,
and say what a WorkflowRun does instead.

Signed-off-by: Brian Kane <briankane1@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant