Skip to content

chore(deps): upgrade the Crossplane stack and substrate ahead of the Aruba smoketest - #233

Merged
ricCap merged 8 commits into
mainfrom
chore/bump-crossplane-and-provider-versions
Oct 25, 2026
Merged

ricCap merged 8 commits into
mainfrom
chore/bump-crossplane-and-provider-versions

Conversation

@ricCap

@ricCap ricCap commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Moves every stale pin in the repo forward, ahead of a 2-pair ArubaCloud smoketest. The Aruba management cluster was torn down and is being rebuilt, so each of these is an install-time pin, not an in-place upgrade — which is why they move together rather than being staged.

Three of the riskiest bumps are already validated on the rebuilt cluster, because task bootstrap:all was run from this branch: argo-cd 10.11.1 (app v3.5.6), gateway-helm v1.9.2 and vcluster-platform 4.12.4 are deployed, with all ten ArgoCD Applications Synced.

What moves

Management cluster

from to
UXP chart 2.2.0-up.5 2.4.3-up.1
provider-kubernetes v1.2.1 v1.4.1
function-auto-ready v0.6.3 v0.7.2
function-go-templating v0.12.0 v0.13.1
function-patch-and-transform v0.9.0 v0.11.1

Substrate

from to
argo-cd chart 9.5.0 10.11.1 (app v3.3.6 → v3.5.6)
envoy-gateway v1.4.0 v1.9.2
vcluster-platform 4.8.0 4.12.4
cert-manager v1.17.2 v1.21.3
vcluster 0.33.1 0.37.4
kyverno subchart 3.6.4 3.9.2 (app v1.16.4 → v1.19.2)

Per-vcluster: provider-arubacloud v0.4.0-workshop → v0.5.0-workshop, across all 11 pin sites.

Docs pins realigned to match, in both locales — manifests and the expected kubectl get output, since the style guide treats shown output as observed fact.

A workaround deleted

bootstrap/argocd-values.yaml carried the chart's entire default exclusion list with Pod appended, to dodge the populatePodInfo panic in argoproj/argo-cd#26529. That issue closed 2026-10-08, and app v3.5.6 vendors k8s.io/kubectl v0.37.0 — past the v0.36.0 threshold kubernetes/kubernetes#136534 landed in. PLAN.md asked for exactly this removal.

The whole override is dropped, not just its Pod entry: the remainder was byte-identical to the chart default, and that default is unchanged between 9.5.0 and 10.11.1, so keeping a copy would only preserve the mirror-on-every-bump trap its own comment warned about. Confirmed live: Pod no longer appears in argocd-cm, and per-pod cards are back. Worth noting the issue's title names remote vclusters using LimitRanges — this workshop's exact shape.

Checked rather than assumed

  • Kyverno does not silently disarm the guardrails. All 14 policies set spec.validationFailureAction: Enforce, and that field plus its Enforce() behaviour is byte-identical between v1.16.4 and v1.19.2 — already deprecated at the version in use before this PR, still functional. Rendering the bundle gives 14 ClusterPolicies, 14 Enforce, and block-rogue-providers still carrying the ghcr.io/riccap/ prefix. New at v1.19.2 is a kyverno.io/v1 ClusterPolicy deprecation warning — served, not removed, so it's logged as a follow-up.
  • vcluster 0.33.1 → 0.37.4 touches nothing used here. No config-schema breaks in controlPlane.statefulSet, sync.toHost or sync.fromHost across 0.34–0.37; the only removal is volume snapshot/restore, unused. pkg/platform/secret.go ApplyPlatformSecret is byte-identical between the tags, so platform:register-vclusters keeps working on the same four keys.
  • provider-gcp v3.1.0 is a major bump that removes deprecated v1beta1 APIs and mandates a storage-version migration. Neither bites: the migration applies only to in-place upgrades from v1.x/v2.x, and pairs install fresh. Both API versions module 05 applies survive — gcp.m.upbound.io/v1beta1 and storage.gcp.m.upbound.io/v1beta1 are still served, and v1beta1 is still the storage version.
  • provider-arubacloud v0.5.0-workshop carries upstream terraform-provider v1.1.1 and touches 12 CRD files, so the Kyverno shape policies needed checking. Diffing blockstorage.* and containerregistry.* between tags shows description-text changes only — every pinned field survives (location, sizeGb, type, settings.concurrentUsersFlavor), and database/dbaas aren't in the changed set. No policy edits needed.
  • provider-kubernetes v1.4.1, not v1.4.0 — v1.4.0 shipped an Azure auth regression.
  • The CLI pin is deliberately untouched. XP_VERSION=v2.5.0 is current: since v2.3.0 the CLI ships from the separate crossplane/cli repo, whose newest release is v2.5.0. It is not lagging crossplane/crossplane v2.4.3 — different versioning streams.

One live fix folded in

gitops/apps/cert-manager.yaml hardcodes the Envoy proxy ClusterIP for the Aruba hairpin-NAT workaround, and the rebuild changed it: 10.96.220.209 → 10.96.85.164. This is live-blocking, not theoretical — both HTTP-01 challenges on the new cluster are stuck on failed to perform self check ... context deadline exceeded, because the stale IP doesn't exist there. Since the cert-manager Application tracks targetRevision: main and GitOps discipline rules out patching out of band, certificates cannot issue until this merges.

Also

  • main was already red on task docs:i18n:check before this branch existed: 04-crossplane-101/07-recap.mdx's mirror pinned 08f423c while English sat at c4574ba, because docs(101): rebuild Crossplane 101 as a self-contained, CLI-first hour #221 was squash-merged. Bumped, not retranslated. Beware the same hazard on this PR — squashing rewrites the SHAs the translations are pinned to.
  • docs/docs/05-crossplane-2xx/02-operations.mdx is ai_edit: locked; its UXP pin was edited with the author's explicit per-edit consent, version string only, lock marker left in place.
  • PLAN.md: records the smoketest plan and the GHCR registry decision, and corrects three stale premises — 99-solo-local-setup.mdx is not locked (which makes Move the solo registry setup out of module 05 (ideally by having solo:up provision it) #227 much cheaper than it looks), the vcluster-oss item was obsolete, and the ArgoCD item is now done.

Closes #68 in spirit (provider-helm v1.5.0 landed separately in #230).

Verification

helm template of the bundle (14/14 Enforce) · argo-cd 10.11.1 renders clean against these values with Pod absent · Chart.lock regenerated · task docs:i18n:check green (27/33, 6 backlogged) · go build + go test ./... pass · docusaurus build succeeds for en and it · all 13 changed YAML files parse · every new OCI tag confirmed to exist via docker manifest inspect.

🤖 Generated with Claude Code

Bump the management-cluster Crossplane stack and the per-vcluster Aruba
provider ahead of a 2-pair ArubaCloud smoketest. The Aruba cluster is
being rebuilt from scratch, so these are install-time pins rather than
in-place upgrades.

- UXP chart                    2.2.0-up.5 -> 2.4.3-up.1
- provider-kubernetes          v1.2.1     -> v1.4.1
- function-auto-ready          v0.6.3     -> v0.7.2
- function-go-templating       v0.12.0    -> v0.13.1
- function-patch-and-transform v0.9.0     -> v0.11.1
- provider-arubacloud          v0.4.0-workshop -> v0.5.0-workshop

provider-helm v1.5.0 already landed in #230.

Take provider-kubernetes v1.4.1 rather than v1.4.0 — v1.4.0 shipped an
Azure auth regression. The v1alpha2 Object kind the Composition uses 14
times is unchanged and its E2E suite runs against Crossplane v2.4.2.
The functions carry no breaking changes; function-patch-and-transform
v0.10.0 restored XR connection-details support that core v2 dropped.

provider-arubacloud v0.5.0-workshop carries upstream
terraform-provider-arubacloud v1.1.1. Its PR touches 12 CRD files, so
this needed checking rather than trusting "dependency bump": diffing
package/crds/blockstorage.* and containerregistry.* between the two tags
shows description-text changes only. Every field the Kyverno shape
policies pin is intact (location, sizeGb, type,
settings.concurrentUsersFlavor), and the database/dbaas CRDs are not in
the changed set, so module 07's headline Database MR and
02-shape-database.yaml are untouched. No policy edits needed.

Assisted-by: claude-code/claude-opus-5
Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
The Aruba cluster is being rebuilt from scratch for a 2-pair smoketest,
so every chart below is an install-time pin rather than an in-place
upgrade. That is why these move together in one commit.

- argo-cd chart     9.5.0   -> 10.11.1 (app v3.3.6 -> v3.5.6)
- envoy-gateway     v1.4.0  -> v1.9.2
- vcluster-platform 4.8.0   -> 4.12.4
- cert-manager      v1.17.2 -> v1.21.3
- vcluster          0.33.1  -> 0.37.4  (composition.yaml)
- kyverno subchart  3.6.4   -> 3.9.2   (app v1.16.4 -> v1.19.2)

Drop the `configs.cm.resource.exclusions` override from
bootstrap/argocd-values.yaml entirely. It existed to exclude Pod from
the application-controller's cluster cache as a workaround for
argoproj/argo-cd#26529 — a populatePodInfo panic that, per the issue
title, hit clusters whose remote vclusters use LimitRanges, i.e. this
workshop exactly. That issue closed 2026-10-08 and app v3.5.6 vendors
k8s.io/kubectl v0.37.0, past the v0.36.0 fix threshold
(kubernetes/kubernetes#136534). PLAN.md asked for precisely this.

The override is removed rather than merely losing its Pod entry: the
remainder was byte-identical to the chart default, and that default is
unchanged between 9.5.0 and 10.11.1, so keeping a copy would only
preserve the mirror-on-every-bump trap its own comment warned about.
Verified by rendering argo-cd 10.11.1 against these values — it
templates clean, Pod is no longer in the rendered argocd-cm
exclusions, and applicationSet/replicas/server.insecure all still
take effect.

Checked rather than assumed, for the two risky ones:

- vcluster 0.33.1 -> 0.37.4 touches nothing used here. No config-schema
  breaks in controlPlane.statefulSet, sync.toHost or sync.fromHost
  across 0.34-0.37; the only removal is volume snapshot/restore, unused.
  pkg/platform/secret.go ApplyPlatformSecret is byte-identical between
  the two tags, so platform:register-vclusters keeps working on the
  same four keys — its schema comment is repointed to v0.37.4.
- kyverno does not silently disarm the guardrails. All 14 policies set
  spec.validationFailureAction: Enforce, and diffing
  api/kyverno/v1/spec_types.go at v1.16.4 and v1.19.2 shows the field
  and its Enforce() behaviour identical — already deprecated at the
  version in use today, still functional. Confirmed by rendering the
  bundle: 14 ClusterPolicies, block-rogue-providers still Enforce with
  the ghcr.io/riccap/ prefix intact. New at v1.19.2 is a kyverno.io/v1
  ClusterPolicy deprecation warning (migrate to policies.kyverno.io CEL
  types); served, not removed, so it is a follow-up rather than a
  blocker.

All Gateway API objects in the repo use stable
gateway.networking.k8s.io/v1, so Envoy Gateway v1.4 -> v1.9 needs no
API migration.

Assisted-by: claude-code/claude-opus-5
Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
Realign the version strings participants copy with what the cluster
will actually run after the chart and package bumps in the two previous
commits. Both the manifest and the expected `kubectl get` output are
updated in each module — the style guide treats shown output as
observed fact, so leaving the output stale would be a lie.

- provider-helm                v1.2.0  -> v1.5.0
- function-patch-and-transform v0.9.0  -> v0.11.1
- provider-aws-rds             v2.5.3  -> v2.9.0
- provider-azure-storage       v2.5.4  -> v2.8.0
- provider-gcp-storage         v2.5.3  -> v3.1.0
- provider-upjet-github        v0.19.0 -> v0.20.0
- UXP chart                    2.2.0-up.5 -> 2.4.3-up.1

The CLI pin is deliberately untouched. `XP_VERSION=v2.5.0` in
04-crossplane-101/01-set-up-the-cli.mdx is current: since v2.3.0 the CLI
ships from the separate crossplane/cli repo, whose newest release is
v2.5.0 (2026-08-21). It is not lagging crossplane/crossplane v2.4.3 —
they are different versioning streams.

provider-gcp v3.1.0 is a major bump and needed checking before the pin
moved. v3.0.0 removes deprecated v1beta1 APIs and mandates a storage
version migration via a DeploymentRuntimeConfig init container. Neither
affects the workshop: the migration applies only to upgrades from v1.x
or v2.x, and each pair installs the provider fresh into their own
vcluster with no pre-existing MRs in etcd. The two API versions this
module applies both survive — at v3.1.0 `gcp.m.upbound.io/v1beta1`
(ClusterProviderConfig) and `storage.gcp.m.upbound.io/v1beta1` (Bucket)
are still served, and v1beta1 is in fact still the storage version. AWS
and Azure stay on their v2.x line, so no equivalent concern there.

Italian mirrors get the identical version-string edits. Their
`translation_source_commit` values are bumped in the follow-up commit,
which has to come after this one — the bump resolves to the latest
commit touching each English file.

05-crossplane-2xx/02-operations.mdx is skipped in both locales: it is
`ai_edit: locked` (reviewed 2026-04-28 by ricCap) and still carries
`--version 2.2.0-up.5`. It therefore now teaches a UXP chart version no
other page uses. Flagging rather than editing; it needs per-edit
consent or an `ai_edit: ask` flip in its own reviewed commit.

Assisted-by: claude-code/claude-opus-5
Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
Mark the seven Italian mirrors touched by the previous commit as
in-sync. The content edits were bare version strings, identical in both
locales, so nothing needed retranslating — only the stored SHAs move.
This has to be a separate commit because the bump resolves to the
latest commit touching each English file.

Also bumps 04-crossplane-101/07-recap.mdx, which this branch never
edited. Its mirror stored 08f423c while the English file's latest
commit is c4574ba (#221), so `task docs:i18n:check` was already
failing on origin/main before this branch existed — #221 was
squash-merged, which rewrites the SHA the translation was pinned to.
Bumped rather than retranslated, since the Italian text itself is not
behind. Folded in here because it blocks CI on any PR regardless of
whose change surfaces it.

`task docs:i18n:check` now reports 27/33 in sync across [it], with the
6 known Crossplane 101 files still backlogged per #224.

Assisted-by: claude-code/claude-opus-5
Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
AGENTS.md asks for PLAN.md to move in the same change as the plan it
describes, so document the agreed 2-pair ArubaCloud smoketest: the
cluster is torn down, the next delivery starts from a fresh
`task bootstrap:all`, and that is the reason the version sweep went
wide in one pass rather than staging.

Records the registry decision explicitly, because it changes what
blocks what: 07-block-rogue-providers.yaml already allowlists
`ghcr.io/riccap/`, so Crossplane 101 module 05 can push to
`ghcr.io/riccap/<pairId>/...` with no registry.host change and nothing
built. Verified by rendering the bundle and reading the emitted regex.
That unblocks the smoketest without touching #222 or #223, and is
explicitly not the answer for a full room — both issues stay open.

Three premises in this file were wrong or out of date:

- **99-solo-local-setup.mdx is not locked.** It carries no `ai_edit`
  frontmatter at all. Both this file and #227 assert it is, and #227's
  entire "two ways out" framing rests on that lock — so its option (a),
  "flip the lock", is a no-op and moving the block is just an ordinary
  edit. #227 is cheaper than it looks.
- **The `vcluster-oss` open item was obsolete.** It claims the
  ApplicationSet pins `controlPlane.statefulSet.image.repository:
  loft-sh/vcluster-oss`. Nothing in the repo does; composition.yaml
  pins `loft-sh/vcluster-pro`. Removed rather than re-dated.
- **The ArgoCD Pod-exclusion item is done**, by the previous commit.

Adds a Kyverno `ClusterPolicy v1` deprecation note (served, not
removed, so not a blocker) and repoints two stale `vcluster 0.33.1`
references to `0.37.4`.

Assisted-by: claude-code/claude-opus-5
Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
Closes the last stale UXP reference. 05-crossplane-2xx/02-operations.mdx
§2.3 tells participants to `helm upgrade` their Crossplane release to
turn on `--enable-operations`, and pinned `2.2.0-up.5` — a chart version
no other page uses after the preceding bumps, which would have had the
room downgrade the release they were just given.

This page and its Italian mirror are `ai_edit: locked` (reviewed
2026-04-28 by ricCap). Edited with the author's explicit per-edit
consent for this specific change, given after the gap was surfaced.
The `ai_edit: locked` markers are deliberately left in place — consent
was for this version string, not a standing unlock, so the page keeps
its reviewed contract. The change is the version string only; no prose,
no structure.

Also repoints the stale version reference in
gitops/crossplane-packages/rbac.yaml, which described the
`crossplane-storeconfigs-shim` as working around a "UXP v2.2.0-up.5
chart bug". The shim stays: templating both 2.2.0-up.5 and 2.4.3-up.1
shows the bundled `crossplane` ClusterRole still grants no verbs on
`secrets.crossplane.io/storeconfigs`. Whether `crossplane-init` still
creates a default StoreConfig cannot be determined from the templates
— it happens at runtime in the init container — so the shim is kept as
the safe default, since it only grants permissions and removing it
while still needed breaks pod init. Flagged for confirmation on the
rebuilt cluster.

Assisted-by: claude-code/claude-opus-5
Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
Separate commit because the bump resolves to the latest commit
touching the English file, which is the preceding one. Written by
`task docs:i18n:bump` — the repo's own tooling — rather than a direct
edit to the locked mirror.

i18n check is green: 27/33 in sync across [it], 6 backlogged per #224.

Assisted-by: claude-code/claude-opus-5
Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
The rebuilt Aruba cluster has a new Envoy proxy Service ClusterIP, so
the hardcoded `hostAliases` entry was stale — exactly the refresh the
comment above it warns is needed whenever the Gateway is recreated.

  10.96.220.209  ->  10.96.85.164

Read off the live cluster:
`envoy-envoy-gateway-system-workshop-4d90c53d` in `envoy-gateway-system`.

Without this, cert-manager's HTTP-01 self-check resolves the two
workshop hostnames to the external LB address and loops out to the
cloud load balancer instead of staying in-cluster, which Aruba's
hairpin NAT does not bring back. Two `cm-acme-http-solver-*` services
are already pending on the cluster, so this is live-blocking rather
than theoretical.

Note this only takes effect once merged: the cert-manager Application
tracks `targetRevision: main`, and GitOps discipline forbids patching
the management cluster out of band since `selfHeal` would revert it.

Assisted-by: claude-code/claude-opus-5
Signed-off-by: Riccardo Capraro <capraroriccardo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump management-cluster provider-helm to v1.2.0+ for v2 namespaced kinds

1 participant