Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 36 additions & 7 deletions PLAN.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand Down
108 changes: 24 additions & 84 deletions bootstrap/argocd-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/04-crossplane-101/01-set-up-the-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/05-crossplane-2xx/02-operations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/05-crossplane-2xx/03-crossplane-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.)
Expand Down Expand Up @@ -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
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/05-crossplane-2xx/04-provider-setup-pattern.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/05-crossplane-2xx/06-add-a-provider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/06-crossplane-3xx/03-provider-github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/06-crossplane-3xx/05-provider-gcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -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
```

<ValidateCheck check="provider-gcp-installed" />
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/06-crossplane-3xx/06-provider-azure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -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
```

<ValidateCheck check="provider-azure-installed" />
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/06-crossplane-3xx/07-provider-arubacloud.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

<ValidateCheck check="provider-arubacloud-installed" />
Expand Down Expand Up @@ -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.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 7
title: Riepilogo
translation_source_commit: 08f423c7233e286877bf502e5de79de3a57e42d7
translation_source_commit: c4574ba71e7f3d7f48102a9e655e4e6cf385fb5b
---

# Crossplane 101 — Riepilogo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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 \
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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.)
Expand Down Expand Up @@ -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
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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
```

Expand Down
Loading
Loading