diff --git a/PLAN.md b/PLAN.md index 0ca8e23..683a228 100644 --- a/PLAN.md +++ b/PLAN.md @@ -32,7 +32,7 @@ The participant-facing content is [docs/docs/04-crossplane-101/](docs/docs/04-cr Each pair installs UXP by hand in module 03 today. That module is gone in the 90-minute run, so Crossplane has to be running before doors open. -- **Chosen**: add the Upbound chart to the vCluster Helm values the `DeveloperEnvironment` Composition already sets, under the vCluster `experimental.deploy` key, so the pair cluster installs Crossplane at startup. Self-contained in the one Release, no registration step. **Unverified** — that key is recalled from vCluster's config reference, not confirmed against the 0.33.1 chart in [gitops/crossplane-config/composition.yaml](gitops/crossplane-config/composition.yaml). +- **Chosen**: add the Upbound chart to the vCluster Helm values the `DeveloperEnvironment` Composition already sets, under the vCluster `experimental.deploy` key, so the pair cluster installs Crossplane at startup. Self-contained in the one Release, no registration step. **Unverified** — that key is recalled from vCluster's config reference, not confirmed against the 0.37.4 chart in [gitops/crossplane-config/composition.yaml](gitops/crossplane-config/composition.yaml). - **Fallbacks**, in order: a second ApplicationSet like [gitops/apps/vcluster-aruba-bundle.yaml](gitops/apps/vcluster-aruba-bundle.yaml) (proven here, but pairs are registered by a manual task today, so automating it means the Composition also writes the Cluster Secret); failing that, one more provider-helm `Release` per pair through a per-pair ProviderConfig — most moving parts, last resort. - Pre-install `function-auto-ready` and `function-patch-and-transform` as well — the two 101 actually uses. Crossplane resolves package dependencies itself, but pre-pulling saves image fetches on venue wifi. - The 3-hour workshop keeps installing by hand, so this needs a **`preinstallCrossplane` parameter on the XRD**, not an unconditional change. @@ -169,17 +169,46 @@ or unschedulable pods.** doesn't offer a control-plane SLA on single-node managed clusters. Keep an eye on Aruba maintenance windows when scheduling a workshop. +## 2-pair ArubaCloud smoketest (agreed 2026-10-25) + +The Aruba management cluster is **torn down** — `209.227.232.167:6443` no longer answers, and `gitops/participant-xrs/` is empty. The next delivery therefore starts from a fresh `task bootstrap:all`, which is why the version sweep in this change went wide in one pass: every pin below is an *install-time* pin, not an in-place upgrade, so the usual reason to stage bumps slowly does not apply. + +### What the sweep moved + +Management cluster: UXP chart `2.2.0-up.5` → `2.4.3-up.1`, provider-kubernetes `v1.2.1` → `v1.4.1`, the three functions to `v0.7.2` / `v0.13.1` / `v0.11.1` (provider-helm `v1.5.0` landed separately in #230, closing #68). Substrate: argo-cd `9.5.0` → `10.11.1`, 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 `3.6.4` → `3.9.2`. Per-vcluster: provider-arubacloud `v0.4.0-workshop` → `v0.5.0-workshop`. Docs pins realigned to match, except the locked page noted below. + +### Decision: GHCR for the smoketest registry, not a built registry + +Crossplane 101 module 05 needs somewhere to push a Configuration package, and [#223](https://github.com/ricCap/crossplane-workshop/issues/223) leaves the real registry design unsettled. For a 2-pair smoketest that is not a blocker: [`07-block-rogue-providers.yaml`](gitops/per-vcluster-bundle/templates/policies/07-block-rogue-providers.yaml) **already allowlists `ghcr.io/riccap/`**, so a package at `ghcr.io/riccap//my-platform:v0.1.0` passes admission with no `registry.host` change and nothing to build. Verified by rendering the bundle — the emitted regex carries that prefix. Cost: make the two packages public once in the GHCR UI, or add a pull secret. + +This unblocks the smoketest without touching [#222](https://github.com/ricCap/crossplane-workshop/issues/222) or #223, and is explicitly **not** the answer for a room of attendees — per-attendee GHCR push needs a classic PAT with `write:packages`, which is why §"Decision: an OCI registry" rejected it. #222 and #223 stay open. + +### Order of operations + +1. Land the version sweep first — bootstrap the fresh cluster from the new pins rather than bootstrapping old and upgrading. +2. Provision Aruba managed Kubernetes, **multi-node** this time (see §Cluster sizing, marked superseded). Re-measure node count, flavor, capacity and StorageClass; budget ~5 GiB PVC per pair against the block-storage quota. +3. Two XR files under `gitops/participant-xrs/` (`bold-kiwi`, `merry-cherry`), `pairId` only — the XRD's `default: {}` supplies the quota. +4. `task bootstrap:all`, then the manual Platform EULA activation (Loft has no headless flag; it gates every `MODE=platform` verify), then `bootstrap:repo-credentials-aruba`, `bootstrap:aruba-cloud-credentials`, `bootstrap:aruba-shared-network`, `github:register`, `platform:register-vclusters`. +5. `task workshop:enable-aruba` per pair — the first real exercise of the kyverno `3.9.2` bump. +6. Install Crossplane into each pair vcluster by hand. [#229](https://github.com/ricCap/crossplane-workshop/issues/229) is not a blocker but costs ~5m/pair; the collapsed `helm install` block in module 01 §1.2 step 5 stays load-bearing. Mind the LimitRange interaction at `composition.yaml:409-428`. +7. `task verify:all MODE=platform` — the participant path, not the operator port-forward. +8. Then the parts only a live cluster can prove: 101 module 05 via GHCR; module 06 `provider-github` (finishes the unticked half of [#73](https://github.com/ricCap/crossplane-workshop/issues/73)); module 07 `provider-arubacloud`, which is the first live exercise of `v0.5.0-workshop` and its upstream terraform-provider `v1.1.1`; the validator dashboard; and ArgoCD per-pod cards, confirming the dropped Pod workaround held. +9. **Confirm at least one Kyverno denial fires**, not just that the allowed path works. #222 records that two days of green dry runs missed a policy bug precisely because the solo path installs no Kyverno — a smoketest that never triggers a deny would repeat that mistake. +10. Record findings ([#93](https://github.com/ricCap/crossplane-workshop/issues/93)), tick #73, `task workshop:close-event`, delete `aruba-creds`, **rotate the Aruba API key** (account-admin scope, no scope-down path — #84/#102). + +### Known gap after this change + +[`docs/docs/05-crossplane-2xx/02-operations.mdx`](docs/docs/05-crossplane-2xx/02-operations.mdx) is `ai_edit: locked` and still pins UXP `2.2.0-up.5`, so it now teaches a chart version no other page uses. Needs per-edit consent or an `ai_edit: ask` flip in its own reviewed commit — along with its Italian mirror, which is locked too. + ## Open items -- **[#229](https://github.com/ricCap/crossplane-workshop/issues/229) — Neither delivery path pre-installs Crossplane.** Crossplane 101 assumes the participant's cluster already runs it: module 01 checks, module 05 `xpkg install`s into it. It is true on neither path. [`gitops/crossplane-config/composition.yaml`](gitops/crossplane-config/composition.yaml) creates exactly one Helm `Release` (`vcluster` 0.33.1) and no Crossplane; [`gitops/apps/crossplane.yaml`](gitops/apps/crossplane.yaml) installs UXP to `kubernetes.default.svc`, the **management** cluster. `gitops/solo/` has none either. Participants used to install it themselves in the deleted `01-install-crossplane` module — the comment at `composition.yaml:419` still refers to it. Until #229 lands, module 01 §1.2 step 5 carries a collapsed `helm install` block that is load-bearing for both paths, and the hour costs ~66m rather than ~61m. **Do not remove that block before pre-install ships.** +- **[#229](https://github.com/ricCap/crossplane-workshop/issues/229) — Neither delivery path pre-installs Crossplane.** Crossplane 101 assumes the participant's cluster already runs it: module 01 checks, module 05 `xpkg install`s into it. It is true on neither path. [`gitops/crossplane-config/composition.yaml`](gitops/crossplane-config/composition.yaml) creates exactly one Helm `Release` (`vcluster` 0.37.4) and no Crossplane; [`gitops/apps/crossplane.yaml`](gitops/apps/crossplane.yaml) installs UXP to `kubernetes.default.svc`, the **management** cluster. `gitops/solo/` has none either. Participants used to install it themselves in the deleted `01-install-crossplane` module — the comment at `composition.yaml:419` still refers to it. Until #229 lands, module 01 §1.2 step 5 carries a collapsed `helm install` block that is load-bearing for both paths, and the hour costs ~66m rather than ~61m. **Do not remove that block before pre-install ships.** - **[#225](https://github.com/ricCap/crossplane-workshop/issues/225) — Module 02 has no diagram, and one orphaned asset explains why.** `03-define-application` and `05-package-and-ship` carry `define-application-fanout` and `configurations-packaging`. `02-create-your-project` has none: the obvious candidate, `first-composition-overview`, is labelled for the deleted Hello module (`XRD hellos.workshop`, `Hello XR hello-world`) and would mislead in a module that creates an `Application`. Its [Excalidraw source](docs/static/diagrams/first-composition-overview.excalidraw) is in the repo, so relabelling it for the XRD-from-example flow is the cheap fix. Note also that `configurations-packaging` was drawn for the 3XX module and names `xpkg.upbound.io` rather than the workshop registry — accurate as a concept, slightly off as a picture of what a pair does. - **[#222](https://github.com/ricCap/crossplane-workshop/issues/222) — Set `registry.host` on the per-vcluster bundle when the registry exists.** Crossplane 101 has every pair push a Configuration and `xpkg install` it, which [`07-block-rogue-providers.yaml`](gitops/per-vcluster-bundle/templates/policies/07-block-rogue-providers.yaml) denies at admission unless the pair's own registry prefix is allowlisted. 0b60fb4 added the value and leaves it empty, so the policy is unchanged until someone sets it — which means **module 05 fails for every pair on a live cluster until this is done**. It cannot be caught in solo: the solo path installs no Kyverno, which is why two days of dry runs missed it. -- **[#227](https://github.com/ricCap/crossplane-workshop/issues/227) — Move the solo registry setup out of module 05.** [`docs/docs/04-crossplane-101/05-package-and-ship.mdx`](docs/docs/04-crossplane-101/05-package-and-ship.mdx) carries a collapsed "Solo: standing up a local registry" block with `k3d` and `k3s` commands in it. The style guide's hard rule is that substrate detail never appears in a paired-path module, with [`99-solo-local-setup.mdx`](docs/docs/99-solo-local-setup.mdx) as the single exception — but that page is `ai_edit: locked`, so the content could not be put where it belongs. Deliberately deferred on 2026-10-18 rather than editing a locked page without consent. Two ways out: flip the lock to `ai_edit: ask` in its own reviewed commit and move the content, or teach `task solo:up` to provision the registry so the block reduces to a link. The second is better — it also makes the solo path work without the participant running `docker exec` against a node. -- **Drop the Pod-exclusion workaround for [argoproj/argo-cd#26529](https://github.com/argoproj/argo-cd/issues/26529)** once Argo CD ships a release vendoring `k8s.io/kubectl` ≥ `v0.36.0` (root cause [kubernetes/kubernetes#136533](https://github.com/kubernetes/kubernetes/issues/136533), fix [#136534](https://github.com/kubernetes/kubernetes/pull/136534)). Until then, Pod is added to `configs.cm.resource.exclusions` in [bootstrap/argocd-values.yaml](bootstrap/argocd-values.yaml) — the application-controller skips Pods in its cluster cache entirely to sidestep a `populatePodInfo` panic. Side effect: Argo CD UI no longer shows per-pod cards under Applications, and Application health rolls up from Deployment/StatefulSet status rather than aggregating pod readiness. The earlier Composition-side workaround (PR #139) that stripped the per-pair CPU/memory caps was reverted once #141 made it safe — see git history for the full chain. - - Restoration recipe: remove the trailing Pod entry from `resource.exclusions`, run `task bootstrap:argocd` to pick up the new chart values, restart the application-controller. +- **[#227](https://github.com/ricCap/crossplane-workshop/issues/227) — Move the solo registry setup out of module 05.** [`docs/docs/04-crossplane-101/05-package-and-ship.mdx`](docs/docs/04-crossplane-101/05-package-and-ship.mdx) carries a collapsed "Solo: standing up a local registry" block with `k3d` and `k3s` commands in it. The style guide's hard rule is that substrate detail never appears in a paired-path module, with [`99-solo-local-setup.mdx`](docs/docs/99-solo-local-setup.mdx) as the single exception. **Correction (2026-10-25): that page is not locked.** It carries no `ai_edit` frontmatter at all, so the premise this item and #227 were both written on — that the content could not be moved without per-edit consent — is wrong, and #227's option (a) ("flip the lock") is a no-op. Moving the block is just an ordinary edit. The remaining choice is therefore: move it to `99-solo-local-setup.mdx` now, or teach `task solo:up` to provision the registry so the block reduces to a link. The second is still better — it also makes the solo path work without the participant running `docker exec` against a node. +- ~~**Drop the Pod-exclusion workaround for [argoproj/argo-cd#26529](https://github.com/argoproj/argo-cd/issues/26529)**~~ — **done.** The issue closed 2026-10-08, and the `argo-cd` chart pinned in [Taskfile.yml](Taskfile.yml) (`10.11.1`, app `v3.5.6`) vendors `k8s.io/kubectl` `v0.37.0`, past the `v0.36.0` threshold the fix landed in ([kubernetes/kubernetes#136534](https://github.com/kubernetes/kubernetes/pull/136534)). The whole `configs.cm.resource.exclusions` override is gone from [bootstrap/argocd-values.yaml](bootstrap/argocd-values.yaml), 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 (Helm string overrides replace, they don't merge). Per-pod cards and pod-level Application health are back. Worth an explicit look on the rebuilt cluster: the issue's title names *remote vclusters using LimitRanges*, which is this workshop's exact shape. - **vcluster.cloud registration mechanics** — confirm the exact `vcluster platform login` / `vcluster platform connect cluster` incantation on first registration, and whether it silently installs an agent. If it does, that install stays a manual one-time prereq, **not** GitOps-managed. -- **`vcluster-oss` image compatibility** — the ApplicationSet values pin `controlPlane.statefulSet.image.repository: loft-sh/vcluster-oss`. Confirm this image tag is published for `v0.33.1` and that it doesn't miss anything used by the workshop content. If missing, fall back to the default `loft-sh/vcluster-pro` image (pro modules are off by default anyway). +- **Kyverno `ClusterPolicy v1` is deprecated upstream.** The bundle now runs kyverno chart `3.9.2` (app `v1.19.2`), which marks `kyverno.io/v1 ClusterPolicy` deprecated in favour of the CEL-based `policies.kyverno.io` types (`ValidatingPolicy`, `MutatingPolicy`, …). Served, not removed, so all 14 policies under [gitops/per-vcluster-bundle/templates/policies/](gitops/per-vcluster-bundle/templates/policies/) keep working and keep enforcing — `spec.validationFailureAction` is byte-identical between `v1.16.4` and `v1.19.2`, already deprecated at the version used before this bump. Migration is a future task, not a blocker; expect deprecation warnings on apply. - **Docs pod image pipeline dry-run** — on the next release tag, watch the two `.github/workflows/*.yml` Actions runs and adjust Dockerfiles if image sizes or build times are unreasonable. ## Deferred (not scheduled) diff --git a/Taskfile.yml b/Taskfile.yml index 70e10e4..1cb51fa 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -13,9 +13,9 @@ vars: # cluster on the same Docker daemon. SOLO_CLUSTER_NAME: crossplane-workshop-solo ARGOCD_NS: argocd - # argo/argo-cd — ArgoCD 3.3.6 app version. Bump deliberately. - # https://github.com/argoproj/argo-helm/releases/tag/argo-cd-9.5.0 - ARGOCD_CHART_VERSION: 9.5.0 + # argo/argo-cd — ArgoCD 3.5.6 app version. Bump deliberately. + # https://github.com/argoproj/argo-helm/releases/tag/argo-cd-10.11.1 + ARGOCD_CHART_VERSION: 10.11.1 ROOT_APP: bootstrap/root-app.yaml ARGOCD_VALUES: bootstrap/argocd-values.yaml # GitHub repo this cluster pulls from. Override these three to reuse the @@ -28,12 +28,12 @@ vars: # Helm chart (not ArgoCD-managed — Docker Hub rate limits block # unauthenticated OCI pulls from cluster IPs). # https://gateway.envoyproxy.io/docs/install/install-helm/ - ENVOY_GATEWAY_VERSION: v1.4.0 + ENVOY_GATEWAY_VERSION: v1.9.2 ENVOY_GATEWAY_NS: envoy-gateway-system # vCluster Platform — web UI for participant vcluster access. # Installed via `task bootstrap:vcluster-platform` (not ArgoCD) # to keep admin credentials out of git. - VCLUSTER_PLATFORM_VERSION: 4.8.0 + VCLUSTER_PLATFORM_VERSION: 4.12.4 VCLUSTER_PLATFORM_NS: vcluster-platform # GHCR pull secret for the private docs + validator images. The secret # is created in the `docs` namespace and referenced via imagePullSecrets @@ -654,7 +654,7 @@ tasks: PLATFORM_INSECURE false (set to true for self-signed Platform — e.g. local vind without LE) - Secret schema per loft-sh/vcluster v0.33.1 + Secret schema per loft-sh/vcluster v0.37.4 `pkg/platform/secret.go` :: `ApplyPlatformSecret` — required keys are `accessKey`, `host`, `project`, `insecure`, with the `vcluster.loft.sh/created-by-cli` marker label. diff --git a/bootstrap/argocd-values.yaml b/bootstrap/argocd-values.yaml index d829dda..3c1a41a 100644 --- a/bootstrap/argocd-values.yaml +++ b/bootstrap/argocd-values.yaml @@ -11,90 +11,30 @@ configs: params: # Phase 1 port-forward runs TLS-terminated on the server; keep defaults. server.insecure: false - cm: - # `resource.exclusions` — keys the cluster cache the - # application-controller maintains. The chart ships a default list - # (network/coordination/auth/cert/cilium/kyverno noise). Pod is - # appended here as a workaround for argoproj/argo-cd#26529: - # kubectl v0.34.0 (vendored by every released Argo CD v3.2–v3.4) - # panics with `assignment to entry in nil map` inside - # `populatePodInfo`, on a pod shape we could not narrow down by - # JSON inspection (relax-pair-quota in #139 was necessary but not - # sufficient). Excluding Pod from the controller's cluster cache - # skips the panicking code path entirely. - # - # Trade-off: Argo CD UI loses per-pod cards under Applications, and - # Application health rolls up from Deployment/StatefulSet/etc. - # status alone (no per-pod aggregation). Acceptable for this - # workshop — participants interact with their workloads via - # vCluster Platform, not Argo CD's UI. - # - # **Important: this is the full list, not an addition.** Helm - # string overrides replace, they don't merge. Mirror chart-default - # bumps here when bumping `argo-cd` chart version (currently - # 9.5.0). Remove the trailing Pod entry — and this comment — once - # Argo CD ships a release vendoring `k8s.io/kubectl` ≥ v0.36.0 - # (kubernetes/kubernetes#136534). - resource.exclusions: | - ### Network resources created by the Kubernetes control plane and excluded to reduce the number of watched events and UI clutter - - apiGroups: - - '' - - discovery.k8s.io - kinds: - - Endpoints - - EndpointSlice - ### Internal Kubernetes resources excluded reduce the number of watched events - - apiGroups: - - coordination.k8s.io - kinds: - - Lease - ### Internal Kubernetes Authz/Authn resources excluded reduce the number of watched events - - apiGroups: - - authentication.k8s.io - - authorization.k8s.io - kinds: - - SelfSubjectReview - - TokenReview - - LocalSubjectAccessReview - - SelfSubjectAccessReview - - SelfSubjectRulesReview - - SubjectAccessReview - ### Intermediate Certificate Request excluded reduce the number of watched events - - apiGroups: - - certificates.k8s.io - kinds: - - CertificateSigningRequest - - apiGroups: - - cert-manager.io - kinds: - - CertificateRequest - ### Cilium internal resources excluded reduce the number of watched events and UI Clutter - - apiGroups: - - cilium.io - kinds: - - CiliumIdentity - - CiliumEndpoint - - CiliumEndpointSlice - ### Kyverno intermediate and reporting resources excluded reduce the number of watched events and improve performance - - apiGroups: - - kyverno.io - - reports.kyverno.io - - wgpolicyk8s.io - kinds: - - PolicyReport - - ClusterPolicyReport - - EphemeralReport - - ClusterEphemeralReport - - AdmissionReport - - ClusterAdmissionReport - - BackgroundScanReport - - ClusterBackgroundScanReport - - UpdateRequest - ### Pod excluded as workaround for argoproj/argo-cd#26529 (kubectl v0.34.0 panic in populatePodInfo). Drop when Argo CD ships kubectl >= v0.36.0. - - apiGroups: - - '' - kinds: - - Pod + # No `cm.resource.exclusions` override here, deliberately. + # + # This file used to carry the chart's whole default exclusion list + # with `Pod` appended, as a workaround for argoproj/argo-cd#26529: + # kubectl v0.34.0 (vendored by every released Argo CD v3.2–v3.4) + # panicked with `assignment to entry in nil map` inside + # `populatePodInfo` — notably on clusters where a remote vcluster + # uses LimitRanges, i.e. exactly this workshop's shape. Excluding + # Pod from the application-controller's cluster cache skipped the + # panicking code path, at the cost of per-pod cards in the UI and + # per-pod aggregation in Application health. + # + # That issue closed 2026-10-08, and the chart version pinned in + # Taskfile.yml (10.11.1 -> app v3.5.6) vendors `k8s.io/kubectl` + # v0.37.0, past the v0.36.0 threshold the fix landed in + # (kubernetes/kubernetes#136534). So the workaround is gone. + # + # The override is dropped entirely rather than just 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 + # it would only reintroduce the maintenance trap the old comment + # warned about — Helm string overrides replace rather than merge, so + # a copied list has to be re-mirrored on every chart bump. Letting + # the chart's own default apply removes that obligation. server: extraArgs: diff --git a/docs/docs/04-crossplane-101/01-set-up-the-cli.mdx b/docs/docs/04-crossplane-101/01-set-up-the-cli.mdx index 5f69ccc..10f4d3c 100644 --- a/docs/docs/04-crossplane-101/01-set-up-the-cli.mdx +++ b/docs/docs/04-crossplane-101/01-set-up-the-cli.mdx @@ -105,7 +105,7 @@ Install UXP into `crossplane-system`: ```bash helm install crossplane upbound-stable/crossplane \ - --version 2.2.0-up.5 \ + --version 2.4.3-up.1 \ --namespace crossplane-system \ --create-namespace \ --devel \ @@ -115,7 +115,7 @@ helm install crossplane upbound-stable/crossplane \ Four flags are doing real work: -- `--version 2.2.0-up.5` pins the chart. Without it Helm takes the newest available, which has drifted past what these modules were written against. +- `--version 2.4.3-up.1` pins the chart. Without it Helm takes the newest available, which has drifted past what these modules were written against. - `--devel` is required to install that version at all — the `-up.5` suffix is a SemVer pre-release tag, and Helm filters those out by default. - `--wait` blocks until the Crossplane Deployments report Available, so the command only returns once the cluster is actually ready. Expect 30–60 seconds on a workshop-sized cluster. - `--set webui.enabled=true` turns on the read-only Web UI. diff --git a/docs/docs/05-crossplane-2xx/02-operations.mdx b/docs/docs/05-crossplane-2xx/02-operations.mdx index 5ec309a..e79c6c8 100644 --- a/docs/docs/05-crossplane-2xx/02-operations.mdx +++ b/docs/docs/05-crossplane-2xx/02-operations.mdx @@ -37,7 +37,7 @@ You're about to explore what each kind unlocks — no guided substeps, only poin ```bash helm upgrade --install crossplane upbound-stable/crossplane \ - --version 2.2.0-up.5 \ + --version 2.4.3-up.1 \ --namespace crossplane-system --create-namespace \ --devel \ --set webui.enabled=true \ diff --git a/docs/docs/05-crossplane-2xx/03-crossplane-cli.mdx b/docs/docs/05-crossplane-2xx/03-crossplane-cli.mdx index 8124986..9319d13 100644 --- a/docs/docs/05-crossplane-2xx/03-crossplane-cli.mdx +++ b/docs/docs/05-crossplane-2xx/03-crossplane-cli.mdx @@ -47,7 +47,7 @@ Expected output: ``` Client Version: v2.2.1 -Server Version: v2.2.0-up.5 +Server Version: v2.4.3-up.1 ``` (Versions may differ — anything `v2.x` covers the subcommands below. `Server Version` is read from your current kube-context's Crossplane install.) @@ -75,9 +75,9 @@ metadata: name: function-patch-and-transform annotations: render.crossplane.io/runtime: Docker - render.crossplane.io/runtime-docker-image: xpkg.crossplane.io/crossplane-contrib/function-patch-and-transform:v0.9.0 + render.crossplane.io/runtime-docker-image: xpkg.crossplane.io/crossplane-contrib/function-patch-and-transform:v0.11.1 spec: - package: xpkg.crossplane.io/crossplane-contrib/function-patch-and-transform:v0.9.0 + package: xpkg.crossplane.io/crossplane-contrib/function-patch-and-transform:v0.11.1 EOF ``` diff --git a/docs/docs/05-crossplane-2xx/04-provider-setup-pattern.mdx b/docs/docs/05-crossplane-2xx/04-provider-setup-pattern.mdx index 71adfd4..e6447e0 100644 --- a/docs/docs/05-crossplane-2xx/04-provider-setup-pattern.mdx +++ b/docs/docs/05-crossplane-2xx/04-provider-setup-pattern.mdx @@ -128,7 +128,7 @@ kind: Provider metadata: name: provider-aws-rds spec: - package: xpkg.upbound.io/upbound/provider-aws-rds:v2.5.3 + package: xpkg.upbound.io/upbound/provider-aws-rds:v2.9.0 EOF ``` diff --git a/docs/docs/05-crossplane-2xx/06-add-a-provider.mdx b/docs/docs/05-crossplane-2xx/06-add-a-provider.mdx index 92c3d2b..248b5f7 100644 --- a/docs/docs/05-crossplane-2xx/06-add-a-provider.mdx +++ b/docs/docs/05-crossplane-2xx/06-add-a-provider.mdx @@ -93,7 +93,7 @@ kind: Provider metadata: name: provider-helm spec: - package: xpkg.upbound.io/crossplane-contrib/provider-helm:v1.2.0 + package: xpkg.upbound.io/crossplane-contrib/provider-helm:v1.5.0 EOF ``` diff --git a/docs/docs/06-crossplane-3xx/03-provider-github.mdx b/docs/docs/06-crossplane-3xx/03-provider-github.mdx index 67cfee9..81e2dfe 100644 --- a/docs/docs/06-crossplane-3xx/03-provider-github.mdx +++ b/docs/docs/06-crossplane-3xx/03-provider-github.mdx @@ -91,7 +91,7 @@ kind: Provider metadata: name: provider-github spec: - package: xpkg.crossplane.io/crossplane-contrib/provider-upjet-github:v0.19.0 + package: xpkg.crossplane.io/crossplane-contrib/provider-upjet-github:v0.20.0 EOF ``` @@ -105,7 +105,7 @@ Expected output: ``` NAME INSTALLED HEALTHY PACKAGE -provider-github True True xpkg.crossplane.io/crossplane-contrib/provider-upjet-github:v0.19.0 +provider-github True True xpkg.crossplane.io/crossplane-contrib/provider-upjet-github:v0.20.0 ``` ### 2. Wire the `ProviderConfig` to the staged Secret diff --git a/docs/docs/06-crossplane-3xx/05-provider-gcp.mdx b/docs/docs/06-crossplane-3xx/05-provider-gcp.mdx index 02d99a1..08165e5 100644 --- a/docs/docs/06-crossplane-3xx/05-provider-gcp.mdx +++ b/docs/docs/06-crossplane-3xx/05-provider-gcp.mdx @@ -147,7 +147,7 @@ kind: Provider metadata: name: provider-gcp-storage spec: - package: xpkg.upbound.io/upbound/provider-gcp-storage:v2.5.3 + package: xpkg.upbound.io/upbound/provider-gcp-storage:v3.1.0 EOF ``` @@ -163,7 +163,7 @@ Expected output (after ~60s): ``` NAME INSTALLED HEALTHY PACKAGE -provider-gcp-storage True True xpkg.upbound.io/upbound/provider-gcp-storage:v2.5.3 +provider-gcp-storage True True xpkg.upbound.io/upbound/provider-gcp-storage:v3.1.0 ``` diff --git a/docs/docs/06-crossplane-3xx/06-provider-azure.mdx b/docs/docs/06-crossplane-3xx/06-provider-azure.mdx index ec298ac..6dc868f 100644 --- a/docs/docs/06-crossplane-3xx/06-provider-azure.mdx +++ b/docs/docs/06-crossplane-3xx/06-provider-azure.mdx @@ -165,7 +165,7 @@ kind: Provider metadata: name: provider-azure-storage spec: - package: xpkg.upbound.io/upbound/provider-azure-storage:v2.5.4 + package: xpkg.upbound.io/upbound/provider-azure-storage:v2.8.0 EOF ``` @@ -181,7 +181,7 @@ Expected output (after ~60s): ``` NAME INSTALLED HEALTHY PACKAGE -provider-azure-storage True True xpkg.upbound.io/upbound/provider-azure-storage:v2.5.4 +provider-azure-storage True True xpkg.upbound.io/upbound/provider-azure-storage:v2.8.0 ``` diff --git a/docs/docs/06-crossplane-3xx/07-provider-arubacloud.mdx b/docs/docs/06-crossplane-3xx/07-provider-arubacloud.mdx index 6531757..de32c88 100644 --- a/docs/docs/06-crossplane-3xx/07-provider-arubacloud.mdx +++ b/docs/docs/06-crossplane-3xx/07-provider-arubacloud.mdx @@ -44,7 +44,7 @@ Expected output: ``` NAME INSTALLED HEALTHY PACKAGE -provider-arubacloud True True ghcr.io/riccap/provider-arubacloud:v0.4.0-workshop +provider-arubacloud True True ghcr.io/riccap/provider-arubacloud:v0.5.0-workshop ``` @@ -327,5 +327,5 @@ Same `Provider` → `ProviderConfig` → MR shape as AWS / GCP / Azure, applied ### Go deeper - **Wrap §7.4's four MRs in an `AppDatabase` XR.** Right now a developer who wants a database has to author `DBaaS` + `Database` + `DBaaSUser` + `DatabaseGrant`, paste IDs between them, look up the endpoint by hand. A platform team turns that into a single Composite Resource — `AppDatabase` — whose XRD asks the developer for two fields (app name, size) and whose Composition fans out into the four MRs. Same shape as the [`Application`](../crossplane-101/define-application) XR you wrote in 101 module 4. Once the upstream provider adds `dbaasIdRef` / `databaseRef` / `userIdRef` cross-resource references and publishes the endpoint to the connection Secret, your XR's developer-facing surface collapses to `kind: AppDatabase` + a name, and the rest of §7.4 disappears. -- [`provider-arubacloud`](https://github.com/ricCap/provider-arubacloud) — provider source, full Kind catalogue, version index. The workshop pins `v0.4.0-workshop`. +- [`provider-arubacloud`](https://github.com/ricCap/provider-arubacloud) — provider source, full Kind catalogue, version index. The workshop pins `v0.5.0-workshop`. - [Aruba Cloud API reference](https://api.arubacloud.com/docs/) — the upstream API the provider talks to. diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/07-recap.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/07-recap.mdx index 9f7d31f..66b3396 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/07-recap.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/07-recap.mdx @@ -1,7 +1,7 @@ --- sidebar_position: 7 title: Riepilogo -translation_source_commit: 08f423c7233e286877bf502e5de79de3a57e42d7 +translation_source_commit: c4574ba71e7f3d7f48102a9e655e4e6cf385fb5b --- # Crossplane 101 — Riepilogo diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/02-operations.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/02-operations.mdx index c08ec13..c287962 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/02-operations.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/02-operations.mdx @@ -4,7 +4,7 @@ title: Crossplane Operations ai_edit: locked ai_edit_reviewed: 2026-04-28 ai_edit_reviewer: ricCap -translation_source_commit: c4574ba71e7f3d7f48102a9e655e4e6cf385fb5b +translation_source_commit: bb345b59825bc89a0bbb9aafac4b473ca6823979 --- import PairId from '@site/src/components/PairId'; @@ -38,7 +38,7 @@ Stai per esplorare cosa sblocca ognuno dei tre — niente sotto-passi guidati, s ```bash helm upgrade --install crossplane upbound-stable/crossplane \ - --version 2.2.0-up.5 \ + --version 2.4.3-up.1 \ --namespace crossplane-system --create-namespace \ --devel \ --set webui.enabled=true \ diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/03-crossplane-cli.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/03-crossplane-cli.mdx index fb30c6f..66d27ee 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/03-crossplane-cli.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/03-crossplane-cli.mdx @@ -1,7 +1,7 @@ --- sidebar_position: 3 title: (Guidato) Usa la CLI Crossplane -translation_source_commit: 08f423c7233e286877bf502e5de79de3a57e42d7 +translation_source_commit: 6269cf1643a9bd44edbfb2a3f5140b8b08b574e2 --- import PairId from '@site/src/components/PairId'; @@ -48,7 +48,7 @@ Output atteso: ``` Client Version: v2.2.1 -Server Version: v2.2.0-up.5 +Server Version: v2.4.3-up.1 ``` (Le versioni possono differire — qualunque `v2.x` copre i subcomandi qui sotto. `Server Version` viene letta dall'installazione Crossplane del tuo kube-context corrente.) @@ -76,9 +76,9 @@ metadata: name: function-patch-and-transform annotations: render.crossplane.io/runtime: Docker - render.crossplane.io/runtime-docker-image: xpkg.crossplane.io/crossplane-contrib/function-patch-and-transform:v0.9.0 + render.crossplane.io/runtime-docker-image: xpkg.crossplane.io/crossplane-contrib/function-patch-and-transform:v0.11.1 spec: - package: xpkg.crossplane.io/crossplane-contrib/function-patch-and-transform:v0.9.0 + package: xpkg.crossplane.io/crossplane-contrib/function-patch-and-transform:v0.11.1 EOF ``` diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/04-provider-setup-pattern.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/04-provider-setup-pattern.mdx index 5183591..d177269 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/04-provider-setup-pattern.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/04-provider-setup-pattern.mdx @@ -1,7 +1,7 @@ --- sidebar_position: 4 title: Pattern di setup di un Provider -translation_source_commit: 562fefa3cc0679cf583192c7a0e0d28a327bf4a2 +translation_source_commit: 6269cf1643a9bd44edbfb2a3f5140b8b08b574e2 --- import ThemedImage from '@theme/ThemedImage'; @@ -131,7 +131,7 @@ kind: Provider metadata: name: provider-aws-rds spec: - package: xpkg.upbound.io/upbound/provider-aws-rds:v2.5.3 + package: xpkg.upbound.io/upbound/provider-aws-rds:v2.9.0 EOF ``` diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/06-add-a-provider.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/06-add-a-provider.mdx index 9f64673..e2fa4c1 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/06-add-a-provider.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/06-add-a-provider.mdx @@ -1,7 +1,7 @@ --- sidebar_position: 6 title: Aggiungi un Provider -translation_source_commit: c4574ba71e7f3d7f48102a9e655e4e6cf385fb5b +translation_source_commit: 6269cf1643a9bd44edbfb2a3f5140b8b08b574e2 --- import PairId from '@site/src/components/PairId'; @@ -96,7 +96,7 @@ kind: Provider metadata: name: provider-helm spec: - package: xpkg.upbound.io/crossplane-contrib/provider-helm:v1.2.0 + package: xpkg.upbound.io/crossplane-contrib/provider-helm:v1.5.0 EOF ``` diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/03-provider-github.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/03-provider-github.mdx index 4fa6b7b..395f2d8 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/03-provider-github.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/03-provider-github.mdx @@ -1,7 +1,7 @@ --- sidebar_position: 3 title: (Guidato) Crea risorse in GitHub -translation_source_commit: 5f507540c46cd9fc208f4159e905f4939281541d +translation_source_commit: 6269cf1643a9bd44edbfb2a3f5140b8b08b574e2 --- import PairId from '@site/src/components/PairId'; @@ -91,7 +91,7 @@ kind: Provider metadata: name: provider-github spec: - package: xpkg.crossplane.io/crossplane-contrib/provider-upjet-github:v0.19.0 + package: xpkg.crossplane.io/crossplane-contrib/provider-upjet-github:v0.20.0 EOF ``` @@ -105,7 +105,7 @@ Output atteso: ``` NAME INSTALLED HEALTHY PACKAGE -provider-github True True xpkg.crossplane.io/crossplane-contrib/provider-upjet-github:v0.19.0 +provider-github True True xpkg.crossplane.io/crossplane-contrib/provider-upjet-github:v0.20.0 ``` ### 2. Cabla il `ProviderConfig` al Secret pre-iniettato diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/05-provider-gcp.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/05-provider-gcp.mdx index bf85eb8..4a22b5f 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/05-provider-gcp.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/05-provider-gcp.mdx @@ -1,7 +1,7 @@ --- sidebar_position: 5 title: Crea risorse in GCP -translation_source_commit: b9740d8f59a6d14db97207972119970ee1df640e +translation_source_commit: 6269cf1643a9bd44edbfb2a3f5140b8b08b574e2 --- import PairId from '@site/src/components/PairId'; @@ -148,7 +148,7 @@ kind: Provider metadata: name: provider-gcp-storage spec: - package: xpkg.upbound.io/upbound/provider-gcp-storage:v2.5.3 + package: xpkg.upbound.io/upbound/provider-gcp-storage:v3.1.0 EOF ``` @@ -164,7 +164,7 @@ Output atteso (dopo ~60s): ``` NAME INSTALLED HEALTHY PACKAGE -provider-gcp-storage True True xpkg.upbound.io/upbound/provider-gcp-storage:v2.5.3 +provider-gcp-storage True True xpkg.upbound.io/upbound/provider-gcp-storage:v3.1.0 ``` diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/06-provider-azure.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/06-provider-azure.mdx index 3e0a699..7ed2a07 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/06-provider-azure.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/06-provider-azure.mdx @@ -1,7 +1,7 @@ --- sidebar_position: 6 title: Crea risorse in Azure -translation_source_commit: b9740d8f59a6d14db97207972119970ee1df640e +translation_source_commit: 6269cf1643a9bd44edbfb2a3f5140b8b08b574e2 --- import PairId from '@site/src/components/PairId'; @@ -166,7 +166,7 @@ kind: Provider metadata: name: provider-azure-storage spec: - package: xpkg.upbound.io/upbound/provider-azure-storage:v2.5.4 + package: xpkg.upbound.io/upbound/provider-azure-storage:v2.8.0 EOF ``` @@ -182,7 +182,7 @@ Output atteso (dopo ~60s): ``` NAME INSTALLED HEALTHY PACKAGE -provider-azure-storage True True xpkg.upbound.io/upbound/provider-azure-storage:v2.5.4 +provider-azure-storage True True xpkg.upbound.io/upbound/provider-azure-storage:v2.8.0 ``` diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/07-provider-arubacloud.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/07-provider-arubacloud.mdx index 92cfb03..90e9d71 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/07-provider-arubacloud.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/07-provider-arubacloud.mdx @@ -1,7 +1,7 @@ --- sidebar_position: 7 title: (Guidato) Crea risorse in Aruba -translation_source_commit: 5f7094d3d54885b23c00ee8f278b6b339bb506dd +translation_source_commit: c520d8b4accf5e320d22bca58a85a23b03402ec1 --- import PairId from '@site/src/components/PairId'; @@ -45,7 +45,7 @@ Output atteso: ``` NAME INSTALLED HEALTHY PACKAGE -provider-arubacloud True True ghcr.io/riccap/provider-arubacloud:v0.4.0-workshop +provider-arubacloud True True ghcr.io/riccap/provider-arubacloud:v0.5.0-workshop ``` @@ -328,5 +328,5 @@ Stessa forma `Provider` → `ProviderConfig` → MR di AWS / GCP / Azure, applic ### Per approfondire - **Avvolgi le quattro MR di §7.4 in un XR `AppDatabase`.** Adesso uno sviluppatore che vuole un database deve scrivere `DBaaS` + `Database` + `DBaaSUser` + `DatabaseGrant`, incollare ID tra loro, recuperare l'endpoint a mano. Un team di piattaforma trasforma questo in una sola Composite Resource — `AppDatabase` — il cui XRD chiede allo sviluppatore due campi (nome app, dimensione) e la cui Composition si srotola nelle quattro MR. Stessa forma dell'XR [`Application`](../crossplane-101/define-application) che hai scritto nel modulo 4 del 101. Una volta che il provider upstream aggiunge i riferimenti cross-resource `dbaasIdRef` / `databaseRef` / `userIdRef` e pubblica l'endpoint nel Secret di connessione, la superficie sviluppatore-facing del tuo XR collassa a `kind: AppDatabase` + un nome, e il resto di §7.4 sparisce. -- [`provider-arubacloud`](https://github.com/ricCap/provider-arubacloud) — sorgente del provider, catalogo completo dei Kind, indice delle versioni. Il workshop pinna `v0.4.0-workshop`. +- [`provider-arubacloud`](https://github.com/ricCap/provider-arubacloud) — sorgente del provider, catalogo completo dei Kind, indice delle versioni. Il workshop pinna `v0.5.0-workshop`. - [Riferimento API Aruba Cloud](https://api.arubacloud.com/docs/) — l'API upstream con cui parla il provider. diff --git a/gitops/apps/cert-manager.yaml b/gitops/apps/cert-manager.yaml index ed3f22a..25de11c 100644 --- a/gitops/apps/cert-manager.yaml +++ b/gitops/apps/cert-manager.yaml @@ -10,7 +10,7 @@ spec: source: repoURL: https://charts.jetstack.io chart: cert-manager - targetRevision: v1.17.2 + targetRevision: v1.21.3 helm: releaseName: cert-manager values: | @@ -35,7 +35,7 @@ spec: # in the envoy-gateway-system namespace. If the Gateway is ever # deleted and recreated, this IP must be refreshed. hostAliases: - - ip: "10.96.220.209" + - ip: "10.96.85.164" hostnames: - crossplane.workshop.riccardocapraro.com - platform-crossplane.workshop.riccardocapraro.com diff --git a/gitops/apps/crossplane.yaml b/gitops/apps/crossplane.yaml index f5a2f43..50bfa04 100644 --- a/gitops/apps/crossplane.yaml +++ b/gitops/apps/crossplane.yaml @@ -18,7 +18,7 @@ spec: source: repoURL: https://charts.upbound.io/stable chart: crossplane - targetRevision: 2.2.0-up.5 + targetRevision: 2.4.3-up.1 helm: releaseName: crossplane values: | diff --git a/gitops/crossplane-config/composition.yaml b/gitops/crossplane-config/composition.yaml index 863d85d..9adf850 100644 --- a/gitops/crossplane-config/composition.yaml +++ b/gitops/crossplane-config/composition.yaml @@ -82,7 +82,7 @@ spec: chart: name: vcluster repository: https://charts.loft.sh - version: "0.33.1" + version: "0.37.4" namespace: placeholder values: controlPlane: diff --git a/gitops/crossplane-packages/function-auto-ready.yaml b/gitops/crossplane-packages/function-auto-ready.yaml index 8ec141f..e533750 100644 --- a/gitops/crossplane-packages/function-auto-ready.yaml +++ b/gitops/crossplane-packages/function-auto-ready.yaml @@ -3,4 +3,4 @@ kind: Function metadata: name: function-auto-ready spec: - package: xpkg.upbound.io/crossplane-contrib/function-auto-ready:v0.6.3 + package: xpkg.upbound.io/crossplane-contrib/function-auto-ready:v0.7.2 diff --git a/gitops/crossplane-packages/function-go-templating.yaml b/gitops/crossplane-packages/function-go-templating.yaml index 01eb505..511ff6d 100644 --- a/gitops/crossplane-packages/function-go-templating.yaml +++ b/gitops/crossplane-packages/function-go-templating.yaml @@ -3,4 +3,4 @@ kind: Function metadata: name: function-go-templating spec: - package: xpkg.upbound.io/crossplane-contrib/function-go-templating:v0.12.0 + package: xpkg.upbound.io/crossplane-contrib/function-go-templating:v0.13.1 diff --git a/gitops/crossplane-packages/function-patch-and-transform.yaml b/gitops/crossplane-packages/function-patch-and-transform.yaml index 09327ce..705e0fe 100644 --- a/gitops/crossplane-packages/function-patch-and-transform.yaml +++ b/gitops/crossplane-packages/function-patch-and-transform.yaml @@ -3,4 +3,4 @@ kind: Function metadata: name: function-patch-and-transform spec: - package: xpkg.crossplane.io/crossplane-contrib/function-patch-and-transform:v0.9.0 + package: xpkg.crossplane.io/crossplane-contrib/function-patch-and-transform:v0.11.1 diff --git a/gitops/crossplane-packages/provider-kubernetes.yaml b/gitops/crossplane-packages/provider-kubernetes.yaml index 5638c48..8b21506 100644 --- a/gitops/crossplane-packages/provider-kubernetes.yaml +++ b/gitops/crossplane-packages/provider-kubernetes.yaml @@ -5,6 +5,6 @@ kind: Provider metadata: name: provider-kubernetes spec: - package: xpkg.upbound.io/crossplane-contrib/provider-kubernetes:v1.2.1 + package: xpkg.upbound.io/crossplane-contrib/provider-kubernetes:v1.4.1 runtimeConfigRef: name: provider-kubernetes-runtime diff --git a/gitops/crossplane-packages/rbac.yaml b/gitops/crossplane-packages/rbac.yaml index 7d50762..fbce061 100644 --- a/gitops/crossplane-packages/rbac.yaml +++ b/gitops/crossplane-packages/rbac.yaml @@ -134,11 +134,12 @@ subjects: name: provider-kubernetes namespace: crossplane-system --- -# Workaround for an UXP v2.2.0-up.5 chart bug: `crossplane-init` -# reinstalls the (alpha) `storeconfigs.secrets.crossplane.io` CRD -# during the CoreCRDs step and then tries to create a default -# StoreConfig, but the bundled `crossplane` ClusterRole no longer -# grants any verbs on storeconfigs. The pod fails to initialize with: +# Workaround for a UXP chart bug first hit on v2.2.0-up.5, still in +# place on v2.4.3-up.1: `crossplane-init` reinstalls the (alpha) +# `storeconfigs.secrets.crossplane.io` CRD during the CoreCRDs step +# and then tries to create a default StoreConfig, but the bundled +# `crossplane` ClusterRole no longer grants any verbs on storeconfigs. +# The pod fails to initialize with: # # cannot initialize core: cannot create default store config: # storeconfigs.secrets.crossplane.io is forbidden: User @@ -150,6 +151,17 @@ subjects: # survives chart upgrades. Remove once the upstream chart ships the # rule itself (or once external secret stores are fully removed in # a future UXP release). +# +# Still required as of the 2.4.3-up.1 bump: templating both +# 2.2.0-up.5 and 2.4.3-up.1 shows the `crossplane` ClusterRole still +# grants no verbs on `secrets.crossplane.io/storeconfigs`. Whether +# `crossplane-init` still *creates* a default StoreConfig can't be +# read off the templates — it happens at runtime in the init +# container — so this shim is kept as the safe default. It only +# grants permissions, so carrying it when unneeded is harmless, +# while dropping it while still needed breaks pod init outright. +# Worth confirming on the rebuilt cluster: if init no longer creates +# a StoreConfig, this whole object can go. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/gitops/per-vcluster-bundle/Chart.lock b/gitops/per-vcluster-bundle/Chart.lock index 73af655..7190479 100644 --- a/gitops/per-vcluster-bundle/Chart.lock +++ b/gitops/per-vcluster-bundle/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: kyverno repository: https://kyverno.github.io/kyverno/ - version: 3.6.4 -digest: sha256:fde62a4e0ec65e4fccd32bd9cd5524024caeb317d450762126055900b0151857 -generated: "2026-05-17T18:42:03.511501+02:00" + version: 3.9.2 +digest: sha256:27cf26cf8e6a7219a325ec8caa3c06e23d561241154ba3b031265e81de088e2d +generated: "2026-10-25T16:24:29.679678+01:00" diff --git a/gitops/per-vcluster-bundle/Chart.yaml b/gitops/per-vcluster-bundle/Chart.yaml index 363c7e4..916e2d7 100644 --- a/gitops/per-vcluster-bundle/Chart.yaml +++ b/gitops/per-vcluster-bundle/Chart.yaml @@ -25,7 +25,7 @@ version: 0.1.0 # `appVersion` tracks the provider-arubacloud OCI image tag we ship. # Keep in sync with the `image` value in values.yaml; bump together # when the upstream provider cuts a new release. -appVersion: "v0.4.0-workshop" +appVersion: "v0.5.0-workshop" # Kyverno is installed via dependency. ArgoCD pulls the chart at # sync time, renders it alongside our templates, applies everything @@ -43,5 +43,5 @@ dependencies: # `ImagePullBackOff` on `policyReportsCleanup` / # `webhooksCleanup` / `post-delete-configmap` Jobs without # depending on the unguaranteed `bitnamilegacy` mirror. - version: "3.6.4" + version: "3.9.2" repository: "https://kyverno.github.io/kyverno/" diff --git a/gitops/per-vcluster-bundle/templates/01-provider-arubacloud.yaml b/gitops/per-vcluster-bundle/templates/01-provider-arubacloud.yaml index 9132748..37d3d02 100644 --- a/gitops/per-vcluster-bundle/templates/01-provider-arubacloud.yaml +++ b/gitops/per-vcluster-bundle/templates/01-provider-arubacloud.yaml @@ -3,7 +3,7 @@ # already installed in module 3) pulls the OCI image and registers # the Aruba MR CRDs. # -# Image pinned to v0.4.0-workshop, which regenerates every MR API +# Image pinned to v0.5.0-workshop, which regenerates every MR API # against upstream Arubacloud/terraform-provider-arubacloud v1.0.1 # (ricCap/provider-arubacloud#12). Same Kind catalogue as # v0.3.0-workshop — no group or Kind added or removed — so the diff --git a/gitops/per-vcluster-bundle/templates/14-kyverno-aruba-rbac.yaml b/gitops/per-vcluster-bundle/templates/14-kyverno-aruba-rbac.yaml index 689f35c..c49c537 100644 --- a/gitops/per-vcluster-bundle/templates/14-kyverno-aruba-rbac.yaml +++ b/gitops/per-vcluster-bundle/templates/14-kyverno-aruba-rbac.yaml @@ -26,7 +26,7 @@ # # Both the cluster-scoped (`*.arubacloud.crossplane.io`) and the # namespaced (`*.arubacloud.m.crossplane.io`) groups are listed. -# v0.4.0-workshop ships both; the workshop teaches the +# v0.5.0-workshop ships both; the workshop teaches the # cluster-scoped flavour, but a participant who experiments with # the namespaced variant should still hit the same admission caps. apiVersion: rbac.authorization.k8s.io/v1 diff --git a/gitops/per-vcluster-bundle/values.yaml b/gitops/per-vcluster-bundle/values.yaml index 4d29d62..020ef16 100644 --- a/gitops/per-vcluster-bundle/values.yaml +++ b/gitops/per-vcluster-bundle/values.yaml @@ -33,7 +33,7 @@ registry: # story (Track 0.4 / `task release`) bumps this when the upstream # provider ships a new tag. provider: - package: ghcr.io/riccap/provider-arubacloud:v0.4.0-workshop + package: ghcr.io/riccap/provider-arubacloud:v0.5.0-workshop # Shape policies — what participants are allowed to create. Tuned # for the smoke-tested ITBG-Bergamo region; override per-event via @@ -44,7 +44,7 @@ shapePolicies: # `DBaaS` is the headline MR module 06 walks participants through # (`docs/docs/06-crossplane-3xx/07-provider-arubacloud.mdx`); the # other three remain in case future modules use them. - # See ricCap/provider-arubacloud#5 for the full v0.4.0-workshop kind list. + # See ricCap/provider-arubacloud#5 for the full v0.5.0-workshop kind list. allowedKinds: - DBaaS - Database diff --git a/validator/checks.go b/validator/checks.go index eeb67c4..ba9df61 100644 --- a/validator/checks.go +++ b/validator/checks.go @@ -501,13 +501,13 @@ func checkArubaPoliciesPresent(ctx context.Context, client dynamic.Interface) (b len(expectedArubaClusterPolicies)), nil } -// arubaMRGVRs lists the v0.4.0-workshop curated Aruba MR Kinds the +// arubaMRGVRs lists the v0.5.0-workshop curated Aruba MR Kinds the // validator considers when checking for "the participant has applied at // least one Aruba managed resource and it's Ready". The Kinds match the // curated set from #44 / values.yaml's shapePolicies.allowedKinds. // // We list both the cluster-scoped and the namespaced (.m.) flavours of -// each — v0.4.0-workshop ships both, the workshop teaches the +// each — v0.5.0-workshop ships both, the workshop teaches the // cluster-scoped flavour first but a participant who experiments with // the namespaced variant should still see the tile turn green. var arubaMRGVRs = []schema.GroupVersionResource{