diff --git a/docs/docs/04-crossplane-101/02-first-composition.mdx b/docs/docs/04-crossplane-101/02-first-composition.mdx index 127d00e..354b5a4 100644 --- a/docs/docs/04-crossplane-101/02-first-composition.mdx +++ b/docs/docs/04-crossplane-101/02-first-composition.mdx @@ -5,6 +5,8 @@ title: Your first Composition import PairId from '@site/src/components/PairId'; import ValidateCheck from '@site/src/components/ValidateCheck'; +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; # Your first Composition ⏱️ 22m @@ -22,26 +24,16 @@ You're using **Crossplane v2**, so the resources Crossplane composes can be plai ### What's about to happen, in one picture -```mermaid -flowchart TB - user(["You"]) - xrd["XRD
hellos.workshop.example.io"] - crd["CRD
hellos.workshop.example.io
(generated)"] - comp["Composition
hellos.workshop.example.io"] - fn["function-patch-and-transform"] - xr["Hello XR
hello-world"] - cm["ConfigMap
hello-world"] - - user -- "kubectl apply" --> xrd - xrd == "Crossplane generates" ==> crd - user -- "kubectl apply" --> comp - user -- "kubectl apply" --> xr - xr == "kind matches XRD ⟶ runs" ==> comp - comp == "pipeline step" ==> fn - fn == "emits desired state" ==> cm -``` + -The thick arrows are work Crossplane does for you; the thin arrows are things you `kubectl apply` yourself. Each step in the rest of this module is one of the thin arrows. +Yellow boxes are things the **platform team** owns (XRD, Composition) — applied once. The blue box is what a **user** `kubectl apply`s — per request. The green box is what **Crossplane produces** in response. In this module *you wear both hats*; in a real platform the two roles live on different teams. ### The pieces in the picture, defined diff --git a/docs/docs/04-crossplane-101/03-define-application.mdx b/docs/docs/04-crossplane-101/03-define-application.mdx index 2d4018c..6c9327b 100644 --- a/docs/docs/04-crossplane-101/03-define-application.mdx +++ b/docs/docs/04-crossplane-101/03-define-application.mdx @@ -5,6 +5,8 @@ title: Define an Application import PairId from '@site/src/components/PairId'; import ValidateCheck from '@site/src/components/ValidateCheck'; +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; # Define an Application ⏱️ 35m @@ -107,30 +109,18 @@ The Composition is the recipe — it creates six resources when an `Application` #### The fan-out, in one picture -```mermaid -flowchart TB - xr["Application XR
spec.message
spec.color"] - comp["Composition
applications.workshop.example.io"] - fn["function-patch-and-transform"] - - subgraph composed["Composed resources (default namespace)"] - direction TB - fcm["ConfigMap
frontend"] - fd["Deployment
frontend / nginx"] - fs["Service
frontend :80"] - bcm["ConfigMap
backend
data.message=…patched…"] - bd["Deployment
backend / nginx"] - bs["Service
backend :5678"] - end - - xr == "triggers" ==> comp ==> fn - fn ==> fcm & fd & fs & bcm & bd & bs - xr -. "CombineFromComposite
spec.message + spec.color
→ data.message" .-> bcm - fd -. "volumeMounts" .-> fcm - bd -. "volumeMounts" .-> bcm -``` +Same XRD-Composition-XR shape as [module 4](./first-composition), now with six composed resources instead of one: + + -The dashed arrow from the XR is the patch — the only place the XR's `message` and `color` fields actually flow into one of the composed resources. Everything else in the Composition is static template content. The two `volumeMounts` arrows are plain Kubernetes references (each Deployment mounts its ConfigMap by name) — nothing Crossplane-specific. +The XRD and Composition sit upstream (same yellow/platform boxes from module 4, omitted here to avoid repetition). The XR's `spec.message` and `spec.color` flow into one of the six composed resources — the **backend ConfigMap** — via a `CombineFromComposite` patch; everything else in the Composition is static template content. The frontend and backend Deployments each `volumeMount` their respective ConfigMap (plain Kubernetes wiring, not Crossplane-specific). #### Walk through the recipe diff --git a/docs/docs/04-crossplane-101/05-add-a-provider.mdx b/docs/docs/04-crossplane-101/05-add-a-provider.mdx index 60e86c2..5e35efd 100644 --- a/docs/docs/04-crossplane-101/05-add-a-provider.mdx +++ b/docs/docs/04-crossplane-101/05-add-a-provider.mdx @@ -5,6 +5,8 @@ title: Add a Provider import PairId from '@site/src/components/PairId'; import ValidateCheck from '@site/src/components/ValidateCheck'; +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; # Add a Provider ⏱️ 25m @@ -48,31 +50,35 @@ You've now seen most of the components a Crossplane platform is built from. Thre | **ProviderConfig** ← *new this module* | Per-Provider runtime config (credentials, target endpoint). Namespaced flavor (in `*.m.crossplane.io` for providers that have caught up to v2). | You | Namespaced | — | | **ClusterProviderConfig** ← *new this module* | Per-Provider runtime config — v2's cluster-scoped flavor, shared across namespaces. | You | Cluster | — | -### A Provider at runtime, in one picture - -```mermaid -flowchart TB - user(["You"]) - prov["Provider
provider-helm:v1.2.0
(package)"] - pod["Provider Pod
(crossplane-system)"] - cpc["ClusterProviderConfig
default"] - pc["ProviderConfig
workshop-helm"] - rel["Release MR
podinfo"] - helm[("OCI registry
ghcr.io/stefanprodan/charts")] - cluster[("Kubernetes API
(this cluster)")] - - user -- "kubectl apply" --> prov - prov == "Crossplane installs" ==> pod - user -- "kubectl apply" --> cpc - user -- "kubectl apply" --> pc - user -- "kubectl apply" --> rel - rel -- "providerConfigRef" --> pc - pod == "watches" ==> rel - pod == "pulls chart" ==> helm - pod == "applies chart resources to" ==> cluster -``` +### A Provider, in two pictures + +A Provider has two phases worth seeing separately — **install-time** (platform engineer wires it up) and **runtime** (user applies an MR; Provider Pod reconciles it). + +#### Install-time — what the platform engineer applies + + + +The Provider package is what spawns the long-running Pod. The two ProviderConfigs (cluster-scoped and namespaced) tell that Pod *how to authenticate* to the external API — they don't trigger any reconciliation on their own. + +#### Runtime — what happens when a user applies an MR + + -A Provider is a package whose install spawns a long-running Pod (thick arrows: Crossplane-managed work). The Pod watches MRs of its kinds — `Release.helm.m.crossplane.io` here — and translates each one into calls against an external API (for `provider-helm` that "API" is the Helm SDK pulling charts and applying them to the cluster's own apiserver). +The Pod watches MRs of its kinds — `Release.helm.m.crossplane.io` here — and translates each one into calls against an external API. For `provider-helm` that "API" is the Helm SDK pulling charts and applying them to the cluster's own apiserver. For `provider-aws-s3` it would be the AWS SDK; the shape is identical. You're about to: install a Provider, configure it (with both flavors of `ProviderConfig`), and apply one Managed Resource that installs a Helm chart. 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 fd7fade..71adfd4 100644 --- a/docs/docs/05-crossplane-2xx/04-provider-setup-pattern.mdx +++ b/docs/docs/05-crossplane-2xx/04-provider-setup-pattern.mdx @@ -3,12 +3,24 @@ sidebar_position: 4 title: Provider setup pattern --- +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; + # Provider setup pattern Every Provider in Crossplane follows the same three-step shape: install the package, give it credentials through a ProviderConfig, then reference the config from your MRs. The 101 path walked you through it once with `provider-helm`. This page collects the variations — credential sources, cluster vs namespaced ProviderConfig, version pinning, where to find providers — so you don't have to re-derive them every time. ## 5.1 The shape + + Three objects, in order: 1. **`Provider`** (`pkg.crossplane.io/v1`). A package whose install spawns a long-running Pod in `crossplane-system`. The Pod registers CRDs and reconciles MRs of those kinds. diff --git a/docs/docs/05-crossplane-2xx/05-composition-functions.mdx b/docs/docs/05-crossplane-2xx/05-composition-functions.mdx index 266d966..c87aa07 100644 --- a/docs/docs/05-crossplane-2xx/05-composition-functions.mdx +++ b/docs/docs/05-crossplane-2xx/05-composition-functions.mdx @@ -4,6 +4,8 @@ title: Compose with other functions --- import PairId from '@site/src/components/PairId'; +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; # Compose with other functions @@ -23,6 +25,17 @@ You're about to rewrite one of your 101 Compositions with a different function a ## 5.2 What you can achieve +A Composition's pipeline is a list of function steps. Each step receives the previous step's desired state — so a real Composition can mix functions: + + + - **Templated YAML with conditionals and loops.** [`function-go-templating`](https://github.com/crossplane-contrib/function-go-templating) lets you write the desired-state manifests as Go templates over the XR spec. `range` over a list, `if` on a flag, `include` partials — the same primitives you have in Helm charts. - **A typed config language for composition.** [`function-kcl`](https://github.com/crossplane-contrib/function-kcl) runs [KCL](https://www.kcl-lang.io/) programs that read the observed pipeline state and emit desired resources. Schemas, type checking, and lambdas without dropping into a general-purpose language. - **Python for composition logic.** [`function-python`](https://github.com/crossplane-contrib/function-python) runs Python inside the pipeline. Useful when the transform is easier to express as a few lines of code than as patches — and lets you reuse libraries you already trust. diff --git a/docs/docs/06-crossplane-3xx/02-configurations.mdx b/docs/docs/06-crossplane-3xx/02-configurations.mdx index f483340..2485b04 100644 --- a/docs/docs/06-crossplane-3xx/02-configurations.mdx +++ b/docs/docs/06-crossplane-3xx/02-configurations.mdx @@ -1,10 +1,11 @@ --- sidebar_position: 2 title: Package as a Configuration -ai_edit: locked --- import PairId from '@site/src/components/PairId'; +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; # Package as a Configuration ⏱️ 20m @@ -24,6 +25,17 @@ Three reasons this matters: You're about to read three short upstream pages, then decide whether to actually build and push your `Application` API as a Configuration. +The full lifecycle, end to end: + + + ## 6.2 Hints ⏱️ 15m This is a 3XX module — pointers, not a recipe. Open the upstream docs and work through them in this order: diff --git a/docs/docs/08-journeys/02-microservice-templates.mdx b/docs/docs/08-journeys/02-microservice-templates.mdx index c538351..6fa28a6 100644 --- a/docs/docs/08-journeys/02-microservice-templates.mdx +++ b/docs/docs/08-journeys/02-microservice-templates.mdx @@ -3,6 +3,9 @@ sidebar_position: 2 title: Microservice templates --- +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; + # Microservice templates > You're a platform engineer. Your developers should be able to request a new `Application` and get an opinionated golden path back: a managed database, a GitHub repo wired up for CI, the workloads it needs in the cluster, and the glue between them. Everything they don't want to think about is decided for them. @@ -11,6 +14,15 @@ title: Microservice templates An XR — call it `Application` — that takes a handful of inputs (name, team, database flavour) and composes everything a new microservice needs. One XR per service. Developers never write a Deployment, a Bucket MR, or a GitHub Repository directly; they edit one short YAML and push it. + + ## Suggested steps 1. Start from the [Define an Application](../crossplane-101/define-application) module — the namespaced XRD + Composition that emits frontend/backend Deployments and a ConfigMap. That is the shape you'll grow into a full platform XR. diff --git a/docs/docs/79-cheatsheet.mdx b/docs/docs/79-cheatsheet.mdx index 10b1f20..667fc6d 100644 --- a/docs/docs/79-cheatsheet.mdx +++ b/docs/docs/79-cheatsheet.mdx @@ -3,6 +3,9 @@ sidebar_position: 79 title: Cheatsheet --- +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; + # Cheatsheet A reference you keep open. Every term, command, and link you'll need during the workshop is on this page. Skim it once, then come back whenever a module uses a word you don't remember. @@ -142,6 +145,17 @@ You don't need any of these to finish the workshop — plain `kubectl` is enough You'll do the second of these in modules 4-6 of this workshop, then add a Provider in module 7. +**One picture for the whole loop:** + + + ### Core objects The `Scope` column has a subtle split. CRDs and XRDs are themselves cluster-scoped *objects* — but they *define a kind* whose own scope (Namespaced vs Cluster) is set in the definition's `spec.scope`. The "Defines a kind that is" column captures that. diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 6d70d94..ccf2816 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -13,13 +13,6 @@ const config = { onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', - // Enable Mermaid diagrams in MDX (```mermaid fenced blocks). - // Used in the 101 modules to visualise XRD/Composition/XR fan-out - // and Provider runtime architecture. - markdown: { - mermaid: true, - }, - // English is the source of truth (see AGENTS.md §Localization). // The `it` build is generated by translating English MDX; CI enforces // that every English file has a matching, in-sync Italian translation. @@ -46,10 +39,10 @@ const config = { ], ], - // Site-wide themes: mermaid (for ```mermaid fenced blocks in 101) plus - // `@easyops-cn/docusaurus-search-local` for client-side full-text search. + // Site-wide themes: `@easyops-cn/docusaurus-search-local` for client-side + // full-text search. (Architecture diagrams in the 101 modules ship as + // pre-rendered SVGs under docs/static/diagrams/ — no theme needed.) themes: [ - '@docusaurus/theme-mermaid', [ require.resolve('@easyops-cn/docusaurus-search-local'), { diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/02-first-composition.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/02-first-composition.mdx index a42c281..ac97268 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/02-first-composition.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/02-first-composition.mdx @@ -1,11 +1,13 @@ --- sidebar_position: 5 title: La tua prima Composition -translation_source_commit: b9740d8f59a6d14db97207972119970ee1df640e +translation_source_commit: cd9ca7f3ee5014b1e43c7eb101d326386c866423 --- import PairId from '@site/src/components/PairId'; import ValidateCheck from '@site/src/components/ValidateCheck'; +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; # La tua prima Composition ⏱️ 22m @@ -23,26 +25,18 @@ Stai usando **Crossplane v2**, quindi le risorse che Crossplane compone possono ### Cosa sta per succedere, in un'immagine -```mermaid -flowchart TB - user(["You"]) - xrd["XRD
hellos.workshop.example.io"] - crd["CRD
hellos.workshop.example.io
(generated)"] - comp["Composition
hellos.workshop.example.io"] - fn["function-patch-and-transform"] - xr["Hello XR
hello-world"] - cm["ConfigMap
hello-world"] - - user -- "kubectl apply" --> xrd - xrd == "Crossplane generates" ==> crd - user -- "kubectl apply" --> comp - user -- "kubectl apply" --> xr - xr == "kind matches XRD ⟶ runs" ==> comp - comp == "pipeline step" ==> fn - fn == "emits desired state" ==> cm -``` + + +I box gialli sono cose che il **platform team** possiede (XRD, Composition) — applicate una volta. Il box blu è ciò che un **utente** fa `kubectl apply` — per ogni richiesta. Il box verde è ciò che **Crossplane produce** in risposta. In questo modulo *indossi entrambi i cappelli*; in una piattaforma reale i due ruoli vivono in team diversi. -Le frecce spesse sono il lavoro che Crossplane fa per te; le frecce sottili sono cose che fai tu con `kubectl apply`. Ogni passo del resto del modulo è una delle frecce sottili. +*(Etichette del diagramma in inglese per coerenza con il codice e i nomi delle risorse.)* ### I pezzi nell'immagine, definiti diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/03-define-application.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/03-define-application.mdx index 4e52144..5b90df9 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/03-define-application.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/03-define-application.mdx @@ -1,11 +1,13 @@ --- sidebar_position: 6 title: Definisci un'Application -translation_source_commit: b9740d8f59a6d14db97207972119970ee1df640e +translation_source_commit: cd9ca7f3ee5014b1e43c7eb101d326386c866423 --- import PairId from '@site/src/components/PairId'; import ValidateCheck from '@site/src/components/ValidateCheck'; +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; # Definisci un'Application ⏱️ 35m @@ -108,30 +110,20 @@ La Composition è la ricetta — crea sei risorse quando esiste un `Application` #### Il fan-out, in un'immagine -```mermaid -flowchart TB - xr["Application XR
spec.message
spec.color"] - comp["Composition
applications.workshop.example.io"] - fn["function-patch-and-transform"] - - subgraph composed["Composed resources (default namespace)"] - direction TB - fcm["ConfigMap
frontend"] - fd["Deployment
frontend / nginx"] - fs["Service
frontend :80"] - bcm["ConfigMap
backend
data.message=…patched…"] - bd["Deployment
backend / nginx"] - bs["Service
backend :5678"] - end - - xr == "triggers" ==> comp ==> fn - fn ==> fcm & fd & fs & bcm & bd & bs - xr -. "CombineFromComposite
spec.message + spec.color
→ data.message" .-> bcm - fd -. "volumeMounts" .-> fcm - bd -. "volumeMounts" .-> bcm -``` +Stessa forma XRD-Composition-XR del [modulo 4](./first-composition), ora con sei risorse composte invece di una: + + + +L'XRD e la Composition stanno a monte (gli stessi box gialli/platform del modulo 4, qui omessi per non ripetere). I campi `spec.message` e `spec.color` dell'XR fluiscono in una delle sei risorse composte — la **ConfigMap del backend** — tramite una patch `CombineFromComposite`; tutto il resto nella Composition è contenuto template statico. Frontend e backend Deployment montano (`volumeMount`) ciascuno la propria ConfigMap (semplice wiring Kubernetes, non specifico di Crossplane). -La freccia tratteggiata che parte dall'XR è la patch — l'unico punto in cui i campi `message` e `color` dell'XR effettivamente fluiscono dentro una delle risorse composte. Tutto il resto nella Composition è contenuto template statico. Le due frecce `volumeMounts` sono semplici riferimenti Kubernetes (ogni Deployment monta la sua ConfigMap per nome) — niente di specifico di Crossplane. +*(Etichette del diagramma in inglese per coerenza con il codice e i nomi delle risorse.)* #### Walkthrough della ricetta diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/05-add-a-provider.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/05-add-a-provider.mdx index d83dd3f..1f0a827 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/05-add-a-provider.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/04-crossplane-101/05-add-a-provider.mdx @@ -1,11 +1,13 @@ --- sidebar_position: 8 title: Aggiungi un Provider -translation_source_commit: b9740d8f59a6d14db97207972119970ee1df640e +translation_source_commit: cd9ca7f3ee5014b1e43c7eb101d326386c866423 --- import PairId from '@site/src/components/PairId'; import ValidateCheck from '@site/src/components/ValidateCheck'; +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; # Aggiungi un Provider ⏱️ 25m @@ -49,31 +51,37 @@ Hai ormai visto la maggior parte dei componenti con cui è costruita una piattaf | **ProviderConfig** ← *nuovo questo modulo* | Configurazione runtime per-Provider (credenziali, endpoint target). Variante namespaced (in `*.m.crossplane.io` per i provider che si sono allineati a v2). | Tu | Namespaced | — | | **ClusterProviderConfig** ← *nuovo questo modulo* | Configurazione runtime per-Provider — la variante cluster-scoped di v2, condivisa tra namespace. | Tu | Cluster | — | -### Un Provider a runtime, in una sola immagine - -```mermaid -flowchart TB - user(["You"]) - prov["Provider
provider-helm:v1.2.0
(package)"] - pod["Provider Pod
(crossplane-system)"] - cpc["ClusterProviderConfig
default"] - pc["ProviderConfig
workshop-helm"] - rel["Release MR
podinfo"] - helm[("OCI registry
ghcr.io/stefanprodan/charts")] - cluster[("Kubernetes API
(this cluster)")] - - user -- "kubectl apply" --> prov - prov == "Crossplane installs" ==> pod - user -- "kubectl apply" --> cpc - user -- "kubectl apply" --> pc - user -- "kubectl apply" --> rel - rel -- "providerConfigRef" --> pc - pod == "watches" ==> rel - pod == "pulls chart" ==> helm - pod == "applies chart resources to" ==> cluster -``` +### Un Provider, in due immagini + +Un Provider ha due fasi che vale la pena vedere separate — **install-time** (il platform engineer lo cabla) e **runtime** (l'utente applica una MR; il Pod del Provider la riconcilia). + +#### Install-time — cosa applica il platform engineer + + + +Il package del Provider è ciò che fa nascere il Pod long-running. I due ProviderConfig (cluster-scoped e namespaced) dicono a quel Pod *come autenticarsi* verso l'API esterna — non innescano riconciliazione da soli. + +#### Runtime — cosa succede quando un utente applica una MR + + + +Il Pod osserva le MR dei suoi kind — `Release.helm.m.crossplane.io` qui — e traduce ognuna in chiamate verso un'API esterna. Per `provider-helm` quell'"API" è l'SDK Helm che scarica chart e le applica all'apiserver dello stesso cluster. Per `provider-aws-s3` sarebbe l'SDK AWS; la forma è identica. -Un Provider è un package la cui installazione fa nascere un Pod long-running (frecce spesse: lavoro gestito da Crossplane). Il Pod osserva le MR dei suoi kind — `Release.helm.m.crossplane.io` qui — e traduce ognuna in chiamate verso un'API esterna (per `provider-helm` quell'"API" è l'SDK Helm che scarica chart e le applica all'apiserver dello stesso cluster). +*(Etichette del diagramma in inglese per coerenza con il codice e i nomi delle risorse.)* Stai per: installare un Provider, configurarlo (con entrambe le varianti di `ProviderConfig`) e applicare una Managed Resource che installa una Helm chart. 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 da023ce..5183591 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,15 +1,29 @@ --- sidebar_position: 4 title: Pattern di setup di un Provider -translation_source_commit: 7a68dc6247d05c349ea8e61a957a9b4e63cfe37c +translation_source_commit: 562fefa3cc0679cf583192c7a0e0d28a327bf4a2 --- +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; + # Pattern di setup di un Provider Ogni Provider in Crossplane segue la stessa forma in tre passi: installa il pacchetto, dagli credenziali tramite una ProviderConfig, poi referenzia la config dalle tue MR. Il percorso 101 ti ci ha guidato una volta con `provider-helm`. Questa pagina raccoglie le varianti — sorgenti delle credenziali, ProviderConfig cluster vs namespaced, pinning della versione, dove trovare i provider — così non devi ri-derivarle ogni volta. ## 5.1 La forma + + +*(Etichette del diagramma in inglese per coerenza con il codice e i nomi delle risorse.)* + Tre oggetti, in ordine: 1. **`Provider`** (`pkg.crossplane.io/v1`). Un pacchetto la cui installazione fa partire un Pod long-running in `crossplane-system`. Il Pod registra i CRD e riconcilia le MR di quei kind. diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/05-composition-functions.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/05-composition-functions.mdx index ab4a757..6eefe21 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/05-composition-functions.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/05-crossplane-2xx/05-composition-functions.mdx @@ -1,10 +1,12 @@ --- sidebar_position: 5 title: Componi con altre function -translation_source_commit: eee95cb4ab06eb8463a6d630aba140f4a34ff911 +translation_source_commit: ff10c9d02359867fbd7a3d317442b4b6b2c25484 --- import PairId from '@site/src/components/PairId'; +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; # Componi con altre function @@ -24,6 +26,19 @@ Stai per riscrivere una delle tue Composition del 101 con una function diversa e ## 5.2 Cosa puoi ottenere +Il `pipeline` di una Composition è una lista di step function. Ogni step riceve lo stato desiderato dello step precedente — così una Composition reale può mescolare function: + + + +*(Etichette del diagramma in inglese per coerenza con il codice e i nomi delle risorse.)* + - **YAML templated con condizionali e loop.** [`function-go-templating`](https://github.com/crossplane-contrib/function-go-templating) ti permette di scrivere i manifest di stato desiderato come template Go sopra lo spec dell'XR. `range` su una lista, `if` su un flag, `include` di partial — le stesse primitive che hai negli Helm chart. - **Un linguaggio di config tipato per la composizione.** [`function-kcl`](https://github.com/crossplane-contrib/function-kcl) esegue programmi [KCL](https://www.kcl-lang.io/) che leggono lo stato osservato dalla pipeline ed emettono le risorse desiderate. Schemi, type checking e lambda senza scendere in un linguaggio general-purpose. - **Python per la logica di composizione.** [`function-python`](https://github.com/crossplane-contrib/function-python) esegue Python dentro la pipeline. Utile quando la trasformazione è più facile da esprimere come qualche riga di codice che come patch — e ti lascia riusare librerie di cui ti fidi già. diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/02-configurations.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/02-configurations.mdx index 5499e1f..645cdca 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/02-configurations.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/06-crossplane-3xx/02-configurations.mdx @@ -1,10 +1,12 @@ --- sidebar_position: 2 title: Pacchettizza come Configuration -translation_source_commit: b9740d8f59a6d14db97207972119970ee1df640e +translation_source_commit: bc0de717cdf9d60a3683aff5507c4b531a81eb53 --- import PairId from '@site/src/components/PairId'; +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; # Pacchettizza come Configuration ⏱️ 20m @@ -24,6 +26,19 @@ Tre motivi per cui conta: Stai per leggere tre brevi pagine upstream, e poi decidere se costruire e pubblicare davvero la tua API `Application` come Configuration. +L'intero ciclo, da capo a fondo: + + + +*(Etichette del diagramma in inglese per coerenza con il codice e i nomi delle risorse.)* + ## 6.2 Suggerimenti ⏱️ 15m Questo è un modulo 3XX — pointer, non una ricetta. Apri la documentazione upstream e percorrila in questo ordine: diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/08-journeys/02-microservice-templates.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/08-journeys/02-microservice-templates.mdx index 67c2557..f0bcff6 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/08-journeys/02-microservice-templates.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/08-journeys/02-microservice-templates.mdx @@ -1,9 +1,12 @@ --- sidebar_position: 2 title: Template per microservizi -translation_source_commit: b3e09cd819be48c1c1e2884e690dbf2c46c653f8 +translation_source_commit: 562fefa3cc0679cf583192c7a0e0d28a327bf4a2 --- +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; + # Template per microservizi > Sei un platform engineer. I tuoi sviluppatori dovrebbero poter richiedere una nuova `Application` e ottenere indietro un golden path opinionated: un database gestito, un repo GitHub cablato per la CI, i workload di cui ha bisogno nel cluster, e la colla che li tiene insieme. Tutto ciò a cui non vogliono pensare è già deciso per loro. @@ -12,6 +15,17 @@ translation_source_commit: b3e09cd819be48c1c1e2884e690dbf2c46c653f8 Un XR — chiamiamolo `Application` — che prende una manciata di input (nome, team, flavour del database) e compone tutto ciò che serve a un nuovo microservizio. Un XR per servizio. Gli sviluppatori non scrivono mai un Deployment, una MR Bucket o una GitHub Repository direttamente; modificano un solo YAML breve e lo pushano. + + +*(Etichette del diagramma in inglese per coerenza con il codice e i nomi delle risorse.)* + ## Passi suggeriti 1. Parti dal modulo [Definisci un'Application](../crossplane-101/define-application) — l'XRD namespaced + Composition che emette i Deployment frontend/backend e una ConfigMap. Quella è la forma in cui crescerai fino a una vera platform XR. diff --git a/docs/i18n/it/docusaurus-plugin-content-docs/current/79-cheatsheet.mdx b/docs/i18n/it/docusaurus-plugin-content-docs/current/79-cheatsheet.mdx index 5dc0d80..db6e2b4 100644 --- a/docs/i18n/it/docusaurus-plugin-content-docs/current/79-cheatsheet.mdx +++ b/docs/i18n/it/docusaurus-plugin-content-docs/current/79-cheatsheet.mdx @@ -1,9 +1,12 @@ --- sidebar_position: 79 title: Cheatsheet -translation_source_commit: 84f8fa3be0091350826a2298bc12f56c2e44b7c6 +translation_source_commit: 562fefa3cc0679cf583192c7a0e0d28a327bf4a2 --- +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; + # Cheatsheet Una pagina di riferimento da tenere aperta. Ogni termine, comando e link che ti servirà durante il workshop è qui. Sfogliala una volta, poi torna ogni volta che un modulo usa una parola che non ricordi. @@ -143,6 +146,19 @@ Non ti serve nessuno di questi per finire il workshop — `kubectl` da solo bast Farai la seconda di queste cose nei moduli 4-6 di questo workshop, poi aggiungerai un Provider nel modulo 7. +**Un'immagine per tutto il ciclo:** + + + +*(Etichette del diagramma in inglese per coerenza con il codice e i nomi delle risorse.)* + ### Oggetti core {#core-objects} La colonna `Scope` ha una distinzione sottile. CRD e XRD sono essi stessi *oggetti* cluster-scoped — ma *definiscono un kind* il cui scope (Namespaced o Cluster) viene impostato nello `spec.scope` della definizione. La colonna "Definisce un kind che è" cattura proprio questo. diff --git a/docs/package-lock.json b/docs/package-lock.json index 6664de6..9fc925d 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -10,7 +10,6 @@ "dependencies": { "@docusaurus/core": "3.9.2", "@docusaurus/preset-classic": "3.9.2", - "@docusaurus/theme-mermaid": "^3.9.2", "@easyops-cn/docusaurus-search-local": "^0.55.1", "clsx": "^2.1.1", "prism-react-renderer": "^2.3.1", @@ -235,17 +234,6 @@ "node": ">= 14.0.0" } }, - "node_modules/@antfu/install-pkg": { - "version": "1.1.0", - "license": "MIT", - "dependencies": { - "package-manager-detector": "^1.3.0", - "tinyexec": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, "node_modules/@asamuzakjp/css-color": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-3.2.0.tgz", @@ -1794,16 +1782,6 @@ "node": ">=6.9.0" } }, - "node_modules/@braintree/sanitize-url": { - "version": "7.1.2", - "license": "MIT" - }, - "node_modules/@chevrotain/types": { - "version": "11.1.2", - "resolved": "https://registry.npmjs.org/@chevrotain/types/-/types-11.1.2.tgz", - "integrity": "sha512-U+HFai5+zmJCkK86QsaJtoITlboZHBqrVketcO2ROv865xfCMSFpELQoz1GkX5GzME8pTa+3kbKrZHQtI0gdbw==", - "license": "Apache-2.0" - }, "node_modules/@colors/colors": { "version": "1.5.0", "license": "MIT", @@ -3588,32 +3566,6 @@ "react-dom": "^18.0.0 || ^19.0.0" } }, - "node_modules/@docusaurus/theme-mermaid": { - "version": "3.9.2", - "license": "MIT", - "dependencies": { - "@docusaurus/core": "3.9.2", - "@docusaurus/module-type-aliases": "3.9.2", - "@docusaurus/theme-common": "3.9.2", - "@docusaurus/types": "3.9.2", - "@docusaurus/utils-validation": "3.9.2", - "mermaid": ">=11.6.0", - "tslib": "^2.6.0" - }, - "engines": { - "node": ">=20.0" - }, - "peerDependencies": { - "@mermaid-js/layout-elk": "^0.1.9", - "react": "^18.0.0 || ^19.0.0", - "react-dom": "^18.0.0 || ^19.0.0" - }, - "peerDependenciesMeta": { - "@mermaid-js/layout-elk": { - "optional": true - } - } - }, "node_modules/@docusaurus/theme-search-algolia": { "version": "3.9.2", "license": "MIT", @@ -4347,19 +4299,6 @@ "@hapi/hoek": "^9.0.0" } }, - "node_modules/@iconify/types": { - "version": "2.0.0", - "license": "MIT" - }, - "node_modules/@iconify/utils": { - "version": "3.1.1", - "license": "MIT", - "dependencies": { - "@antfu/install-pkg": "^1.1.0", - "@iconify/types": "^2.0.0", - "mlly": "^1.8.2" - } - }, "node_modules/@jest/schemas": { "version": "29.6.3", "license": "MIT", @@ -4849,15 +4788,6 @@ "react": ">=16" } }, - "node_modules/@mermaid-js/parser": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-1.1.1.tgz", - "integrity": "sha512-VuHdsYMK1bT6X2JbcAaWAhugTRvRBRyuZgd+c22swUeI9g/ntaxF7CY7dYarhZovofCbUNO0G7JesfmNtjYOCw==", - "license": "MIT", - "dependencies": { - "@chevrotain/types": "~11.1.1" - } - }, "node_modules/@napi-rs/wasm-runtime": { "version": "0.2.12", "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz", @@ -6204,197 +6134,6 @@ "@types/node": "*" } }, - "node_modules/@types/d3": { - "version": "7.4.3", - "license": "MIT", - "dependencies": { - "@types/d3-array": "*", - "@types/d3-axis": "*", - "@types/d3-brush": "*", - "@types/d3-chord": "*", - "@types/d3-color": "*", - "@types/d3-contour": "*", - "@types/d3-delaunay": "*", - "@types/d3-dispatch": "*", - "@types/d3-drag": "*", - "@types/d3-dsv": "*", - "@types/d3-ease": "*", - "@types/d3-fetch": "*", - "@types/d3-force": "*", - "@types/d3-format": "*", - "@types/d3-geo": "*", - "@types/d3-hierarchy": "*", - "@types/d3-interpolate": "*", - "@types/d3-path": "*", - "@types/d3-polygon": "*", - "@types/d3-quadtree": "*", - "@types/d3-random": "*", - "@types/d3-scale": "*", - "@types/d3-scale-chromatic": "*", - "@types/d3-selection": "*", - "@types/d3-shape": "*", - "@types/d3-time": "*", - "@types/d3-time-format": "*", - "@types/d3-timer": "*", - "@types/d3-transition": "*", - "@types/d3-zoom": "*" - } - }, - "node_modules/@types/d3-array": { - "version": "3.2.2", - "license": "MIT" - }, - "node_modules/@types/d3-axis": { - "version": "3.0.6", - "license": "MIT", - "dependencies": { - "@types/d3-selection": "*" - } - }, - "node_modules/@types/d3-brush": { - "version": "3.0.6", - "license": "MIT", - "dependencies": { - "@types/d3-selection": "*" - } - }, - "node_modules/@types/d3-chord": { - "version": "3.0.6", - "license": "MIT" - }, - "node_modules/@types/d3-color": { - "version": "3.1.3", - "license": "MIT" - }, - "node_modules/@types/d3-contour": { - "version": "3.0.6", - "license": "MIT", - "dependencies": { - "@types/d3-array": "*", - "@types/geojson": "*" - } - }, - "node_modules/@types/d3-delaunay": { - "version": "6.0.4", - "license": "MIT" - }, - "node_modules/@types/d3-dispatch": { - "version": "3.0.7", - "license": "MIT" - }, - "node_modules/@types/d3-drag": { - "version": "3.0.7", - "license": "MIT", - "dependencies": { - "@types/d3-selection": "*" - } - }, - "node_modules/@types/d3-dsv": { - "version": "3.0.7", - "license": "MIT" - }, - "node_modules/@types/d3-ease": { - "version": "3.0.2", - "license": "MIT" - }, - "node_modules/@types/d3-fetch": { - "version": "3.0.7", - "license": "MIT", - "dependencies": { - "@types/d3-dsv": "*" - } - }, - "node_modules/@types/d3-force": { - "version": "3.0.10", - "license": "MIT" - }, - "node_modules/@types/d3-format": { - "version": "3.0.4", - "license": "MIT" - }, - "node_modules/@types/d3-geo": { - "version": "3.1.0", - "license": "MIT", - "dependencies": { - "@types/geojson": "*" - } - }, - "node_modules/@types/d3-hierarchy": { - "version": "3.1.7", - "license": "MIT" - }, - "node_modules/@types/d3-interpolate": { - "version": "3.0.4", - "license": "MIT", - "dependencies": { - "@types/d3-color": "*" - } - }, - "node_modules/@types/d3-path": { - "version": "3.1.1", - "license": "MIT" - }, - "node_modules/@types/d3-polygon": { - "version": "3.0.2", - "license": "MIT" - }, - "node_modules/@types/d3-quadtree": { - "version": "3.0.6", - "license": "MIT" - }, - "node_modules/@types/d3-random": { - "version": "3.0.3", - "license": "MIT" - }, - "node_modules/@types/d3-scale": { - "version": "4.0.9", - "license": "MIT", - "dependencies": { - "@types/d3-time": "*" - } - }, - "node_modules/@types/d3-scale-chromatic": { - "version": "3.1.0", - "license": "MIT" - }, - "node_modules/@types/d3-selection": { - "version": "3.0.11", - "license": "MIT" - }, - "node_modules/@types/d3-shape": { - "version": "3.1.8", - "license": "MIT", - "dependencies": { - "@types/d3-path": "*" - } - }, - "node_modules/@types/d3-time": { - "version": "3.0.4", - "license": "MIT" - }, - "node_modules/@types/d3-time-format": { - "version": "4.0.3", - "license": "MIT" - }, - "node_modules/@types/d3-timer": { - "version": "3.0.2", - "license": "MIT" - }, - "node_modules/@types/d3-transition": { - "version": "3.0.9", - "license": "MIT", - "dependencies": { - "@types/d3-selection": "*" - } - }, - "node_modules/@types/d3-zoom": { - "version": "3.0.8", - "license": "MIT", - "dependencies": { - "@types/d3-interpolate": "*", - "@types/d3-selection": "*" - } - }, "node_modules/@types/debug": { "version": "4.1.13", "license": "MIT", @@ -6456,10 +6195,6 @@ "@types/send": "*" } }, - "node_modules/@types/geojson": { - "version": "7946.0.16", - "license": "MIT" - }, "node_modules/@types/gtag.js": { "version": "0.0.12", "license": "MIT" @@ -6636,11 +6371,6 @@ "@types/node": "*" } }, - "node_modules/@types/trusted-types": { - "version": "2.0.7", - "license": "MIT", - "optional": true - }, "node_modules/@types/unist": { "version": "3.0.3", "license": "MIT" @@ -6667,14 +6397,6 @@ "version": "1.3.0", "license": "ISC" }, - "node_modules/@upsetjs/venn.js": { - "version": "2.0.0", - "license": "MIT", - "optionalDependencies": { - "d3-selection": "^3.0.0", - "d3-transition": "^3.0.1" - } - }, "node_modules/@vitejs/plugin-react": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz", @@ -8017,10 +7739,6 @@ "version": "0.0.1", "license": "MIT" }, - "node_modules/confbox": { - "version": "0.1.8", - "license": "MIT" - }, "node_modules/config-chain": { "version": "1.1.13", "license": "MIT", @@ -8185,13 +7903,6 @@ "version": "1.0.3", "license": "MIT" }, - "node_modules/cose-base": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "layout-base": "^1.0.0" - } - }, "node_modules/cosmiconfig": { "version": "8.3.6", "license": "MIT", @@ -8477,607 +8188,175 @@ "engines": { "node": ">= 6" }, - "funding": { - "url": "https://github.com/sponsors/fb55" - } - }, - "node_modules/css.escape": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz", - "integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==", - "dev": true, - "license": "MIT" - }, - "node_modules/cssdb": { - "version": "8.8.0", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - } - ], - "license": "MIT-0" - }, - "node_modules/cssesc": { - "version": "3.0.0", - "license": "MIT", - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssnano": { - "version": "6.1.2", - "license": "MIT", - "dependencies": { - "cssnano-preset-default": "^6.1.2", - "lilconfig": "^3.1.1" - }, - "engines": { - "node": "^14 || ^16 || >=18.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/cssnano" - }, - "peerDependencies": { - "postcss": "^8.4.31" - } - }, - "node_modules/cssnano-preset-advanced": { - "version": "6.1.2", - "license": "MIT", - "dependencies": { - "autoprefixer": "^10.4.19", - "browserslist": "^4.23.0", - "cssnano-preset-default": "^6.1.2", - "postcss-discard-unused": "^6.0.5", - "postcss-merge-idents": "^6.0.3", - "postcss-reduce-idents": "^6.0.3", - "postcss-zindex": "^6.0.2" - }, - "engines": { - "node": "^14 || ^16 || >=18.0" - }, - "peerDependencies": { - "postcss": "^8.4.31" - } - }, - "node_modules/cssnano-preset-default": { - "version": "6.1.2", - "license": "MIT", - "dependencies": { - "browserslist": "^4.23.0", - "css-declaration-sorter": "^7.2.0", - "cssnano-utils": "^4.0.2", - "postcss-calc": "^9.0.1", - "postcss-colormin": "^6.1.0", - "postcss-convert-values": "^6.1.0", - "postcss-discard-comments": "^6.0.2", - "postcss-discard-duplicates": "^6.0.3", - "postcss-discard-empty": "^6.0.3", - "postcss-discard-overridden": "^6.0.2", - "postcss-merge-longhand": "^6.0.5", - "postcss-merge-rules": "^6.1.1", - "postcss-minify-font-values": "^6.1.0", - "postcss-minify-gradients": "^6.0.3", - "postcss-minify-params": "^6.1.0", - "postcss-minify-selectors": "^6.0.4", - "postcss-normalize-charset": "^6.0.2", - "postcss-normalize-display-values": "^6.0.2", - "postcss-normalize-positions": "^6.0.2", - "postcss-normalize-repeat-style": "^6.0.2", - "postcss-normalize-string": "^6.0.2", - "postcss-normalize-timing-functions": "^6.0.2", - "postcss-normalize-unicode": "^6.1.0", - "postcss-normalize-url": "^6.0.2", - "postcss-normalize-whitespace": "^6.0.2", - "postcss-ordered-values": "^6.0.2", - "postcss-reduce-initial": "^6.1.0", - "postcss-reduce-transforms": "^6.0.2", - "postcss-svgo": "^6.0.3", - "postcss-unique-selectors": "^6.0.4" - }, - "engines": { - "node": "^14 || ^16 || >=18.0" - }, - "peerDependencies": { - "postcss": "^8.4.31" - } - }, - "node_modules/cssnano-utils": { - "version": "4.0.2", - "license": "MIT", - "engines": { - "node": "^14 || ^16 || >=18.0" - }, - "peerDependencies": { - "postcss": "^8.4.31" - } - }, - "node_modules/csso": { - "version": "5.0.5", - "license": "MIT", - "dependencies": { - "css-tree": "~2.2.0" - }, - "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/csso/node_modules/css-tree": { - "version": "2.2.1", - "license": "MIT", - "dependencies": { - "mdn-data": "2.0.28", - "source-map-js": "^1.0.1" - }, - "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/csso/node_modules/mdn-data": { - "version": "2.0.28", - "license": "CC0-1.0" - }, - "node_modules/cssstyle": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-4.6.0.tgz", - "integrity": "sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@asamuzakjp/css-color": "^3.2.0", - "rrweb-cssom": "^0.8.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/csstype": { - "version": "3.2.3", - "license": "MIT" - }, - "node_modules/cytoscape": { - "version": "3.33.2", - "license": "MIT", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/cytoscape-cose-bilkent": { - "version": "4.1.0", - "license": "MIT", - "dependencies": { - "cose-base": "^1.0.0" - }, - "peerDependencies": { - "cytoscape": "^3.2.0" - } - }, - "node_modules/cytoscape-fcose": { - "version": "2.2.0", - "license": "MIT", - "dependencies": { - "cose-base": "^2.2.0" - }, - "peerDependencies": { - "cytoscape": "^3.2.0" - } - }, - "node_modules/cytoscape-fcose/node_modules/cose-base": { - "version": "2.2.0", - "license": "MIT", - "dependencies": { - "layout-base": "^2.0.0" - } - }, - "node_modules/cytoscape-fcose/node_modules/layout-base": { - "version": "2.0.1", - "license": "MIT" - }, - "node_modules/d3": { - "version": "7.9.0", - "license": "ISC", - "dependencies": { - "d3-array": "3", - "d3-axis": "3", - "d3-brush": "3", - "d3-chord": "3", - "d3-color": "3", - "d3-contour": "4", - "d3-delaunay": "6", - "d3-dispatch": "3", - "d3-drag": "3", - "d3-dsv": "3", - "d3-ease": "3", - "d3-fetch": "3", - "d3-force": "3", - "d3-format": "3", - "d3-geo": "3", - "d3-hierarchy": "3", - "d3-interpolate": "3", - "d3-path": "3", - "d3-polygon": "3", - "d3-quadtree": "3", - "d3-random": "3", - "d3-scale": "4", - "d3-scale-chromatic": "3", - "d3-selection": "3", - "d3-shape": "3", - "d3-time": "3", - "d3-time-format": "4", - "d3-timer": "3", - "d3-transition": "3", - "d3-zoom": "3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-array": { - "version": "3.2.4", - "license": "ISC", - "dependencies": { - "internmap": "1 - 2" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-axis": { - "version": "3.0.0", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-brush": { - "version": "3.0.0", - "license": "ISC", - "dependencies": { - "d3-dispatch": "1 - 3", - "d3-drag": "2 - 3", - "d3-interpolate": "1 - 3", - "d3-selection": "3", - "d3-transition": "3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-chord": { - "version": "3.0.1", - "license": "ISC", - "dependencies": { - "d3-path": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-color": { - "version": "3.1.0", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-contour": { - "version": "4.0.2", - "license": "ISC", - "dependencies": { - "d3-array": "^3.2.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-delaunay": { - "version": "6.0.4", - "license": "ISC", - "dependencies": { - "delaunator": "5" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-dispatch": { - "version": "3.0.1", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-drag": { - "version": "3.0.0", - "license": "ISC", - "dependencies": { - "d3-dispatch": "1 - 3", - "d3-selection": "3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-dsv": { - "version": "3.0.1", - "license": "ISC", - "dependencies": { - "commander": "7", - "iconv-lite": "0.6", - "rw": "1" - }, - "bin": { - "csv2json": "bin/dsv2json.js", - "csv2tsv": "bin/dsv2dsv.js", - "dsv2dsv": "bin/dsv2dsv.js", - "dsv2json": "bin/dsv2json.js", - "json2csv": "bin/json2dsv.js", - "json2dsv": "bin/json2dsv.js", - "json2tsv": "bin/json2dsv.js", - "tsv2csv": "bin/dsv2dsv.js", - "tsv2json": "bin/dsv2json.js" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-dsv/node_modules/commander": { - "version": "7.2.0", - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, - "node_modules/d3-dsv/node_modules/iconv-lite": { - "version": "0.6.3", - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/d3-ease": { - "version": "3.0.1", - "license": "BSD-3-Clause", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-fetch": { - "version": "3.0.1", - "license": "ISC", - "dependencies": { - "d3-dsv": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-force": { - "version": "3.0.0", - "license": "ISC", - "dependencies": { - "d3-dispatch": "1 - 3", - "d3-quadtree": "1 - 3", - "d3-timer": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-format": { - "version": "3.1.2", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-geo": { - "version": "3.1.1", - "license": "ISC", - "dependencies": { - "d3-array": "2.5.0 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-hierarchy": { - "version": "3.1.2", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-interpolate": { - "version": "3.0.1", - "license": "ISC", - "dependencies": { - "d3-color": "1 - 3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-path": { - "version": "3.1.0", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-polygon": { - "version": "3.0.1", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-quadtree": { - "version": "3.0.1", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-random": { - "version": "3.0.1", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-sankey": { - "version": "0.12.3", - "license": "BSD-3-Clause", - "dependencies": { - "d3-array": "1 - 2", - "d3-shape": "^1.2.0" - } - }, - "node_modules/d3-sankey/node_modules/d3-array": { - "version": "2.12.1", - "license": "BSD-3-Clause", - "dependencies": { - "internmap": "^1.0.0" - } - }, - "node_modules/d3-sankey/node_modules/d3-path": { - "version": "1.0.9", - "license": "BSD-3-Clause" - }, - "node_modules/d3-sankey/node_modules/d3-shape": { - "version": "1.3.7", - "license": "BSD-3-Clause", - "dependencies": { - "d3-path": "1" - } - }, - "node_modules/d3-sankey/node_modules/internmap": { - "version": "1.0.1", - "license": "ISC" - }, - "node_modules/d3-scale": { - "version": "4.0.2", - "license": "ISC", - "dependencies": { - "d3-array": "2.10.0 - 3", - "d3-format": "1 - 3", - "d3-interpolate": "1.2.0 - 3", - "d3-time": "2.1.1 - 3", - "d3-time-format": "2 - 4" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/d3-scale-chromatic": { - "version": "3.1.0", - "license": "ISC", - "dependencies": { - "d3-color": "1 - 3", - "d3-interpolate": "1 - 3" - }, - "engines": { - "node": ">=12" + "funding": { + "url": "https://github.com/sponsors/fb55" } }, - "node_modules/d3-selection": { + "node_modules/css.escape": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz", + "integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cssdb": { + "version": "8.8.0", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + } + ], + "license": "MIT-0" + }, + "node_modules/cssesc": { "version": "3.0.0", - "license": "ISC", + "license": "MIT", + "bin": { + "cssesc": "bin/cssesc" + }, "engines": { - "node": ">=12" + "node": ">=4" } }, - "node_modules/d3-shape": { - "version": "3.2.0", - "license": "ISC", + "node_modules/cssnano": { + "version": "6.1.2", + "license": "MIT", "dependencies": { - "d3-path": "^3.1.0" + "cssnano-preset-default": "^6.1.2", + "lilconfig": "^3.1.1" }, "engines": { - "node": ">=12" + "node": "^14 || ^16 || >=18.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/cssnano" + }, + "peerDependencies": { + "postcss": "^8.4.31" } }, - "node_modules/d3-time": { - "version": "3.1.0", - "license": "ISC", + "node_modules/cssnano-preset-advanced": { + "version": "6.1.2", + "license": "MIT", "dependencies": { - "d3-array": "2 - 3" + "autoprefixer": "^10.4.19", + "browserslist": "^4.23.0", + "cssnano-preset-default": "^6.1.2", + "postcss-discard-unused": "^6.0.5", + "postcss-merge-idents": "^6.0.3", + "postcss-reduce-idents": "^6.0.3", + "postcss-zindex": "^6.0.2" }, "engines": { - "node": ">=12" + "node": "^14 || ^16 || >=18.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" } }, - "node_modules/d3-time-format": { - "version": "4.1.0", - "license": "ISC", + "node_modules/cssnano-preset-default": { + "version": "6.1.2", + "license": "MIT", "dependencies": { - "d3-time": "1 - 3" + "browserslist": "^4.23.0", + "css-declaration-sorter": "^7.2.0", + "cssnano-utils": "^4.0.2", + "postcss-calc": "^9.0.1", + "postcss-colormin": "^6.1.0", + "postcss-convert-values": "^6.1.0", + "postcss-discard-comments": "^6.0.2", + "postcss-discard-duplicates": "^6.0.3", + "postcss-discard-empty": "^6.0.3", + "postcss-discard-overridden": "^6.0.2", + "postcss-merge-longhand": "^6.0.5", + "postcss-merge-rules": "^6.1.1", + "postcss-minify-font-values": "^6.1.0", + "postcss-minify-gradients": "^6.0.3", + "postcss-minify-params": "^6.1.0", + "postcss-minify-selectors": "^6.0.4", + "postcss-normalize-charset": "^6.0.2", + "postcss-normalize-display-values": "^6.0.2", + "postcss-normalize-positions": "^6.0.2", + "postcss-normalize-repeat-style": "^6.0.2", + "postcss-normalize-string": "^6.0.2", + "postcss-normalize-timing-functions": "^6.0.2", + "postcss-normalize-unicode": "^6.1.0", + "postcss-normalize-url": "^6.0.2", + "postcss-normalize-whitespace": "^6.0.2", + "postcss-ordered-values": "^6.0.2", + "postcss-reduce-initial": "^6.1.0", + "postcss-reduce-transforms": "^6.0.2", + "postcss-svgo": "^6.0.3", + "postcss-unique-selectors": "^6.0.4" }, "engines": { - "node": ">=12" + "node": "^14 || ^16 || >=18.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" } }, - "node_modules/d3-timer": { - "version": "3.0.1", - "license": "ISC", + "node_modules/cssnano-utils": { + "version": "4.0.2", + "license": "MIT", "engines": { - "node": ">=12" + "node": "^14 || ^16 || >=18.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" } }, - "node_modules/d3-transition": { - "version": "3.0.1", - "license": "ISC", + "node_modules/csso": { + "version": "5.0.5", + "license": "MIT", "dependencies": { - "d3-color": "1 - 3", - "d3-dispatch": "1 - 3", - "d3-ease": "1 - 3", - "d3-interpolate": "1 - 3", - "d3-timer": "1 - 3" + "css-tree": "~2.2.0" }, "engines": { - "node": ">=12" - }, - "peerDependencies": { - "d3-selection": "2 - 3" + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", + "npm": ">=7.0.0" } }, - "node_modules/d3-zoom": { - "version": "3.0.0", - "license": "ISC", + "node_modules/csso/node_modules/css-tree": { + "version": "2.2.1", + "license": "MIT", "dependencies": { - "d3-dispatch": "1 - 3", - "d3-drag": "2 - 3", - "d3-interpolate": "1 - 3", - "d3-selection": "2 - 3", - "d3-transition": "2 - 3" + "mdn-data": "2.0.28", + "source-map-js": "^1.0.1" }, "engines": { - "node": ">=12" + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", + "npm": ">=7.0.0" } }, - "node_modules/dagre-d3-es": { - "version": "7.0.14", + "node_modules/csso/node_modules/mdn-data": { + "version": "2.0.28", + "license": "CC0-1.0" + }, + "node_modules/cssstyle": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-4.6.0.tgz", + "integrity": "sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg==", + "dev": true, "license": "MIT", "dependencies": { - "d3": "^7.9.0", - "lodash-es": "^4.17.21" + "@asamuzakjp/css-color": "^3.2.0", + "rrweb-cssom": "^0.8.0" + }, + "engines": { + "node": ">=18" } }, + "node_modules/csstype": { + "version": "3.2.3", + "license": "MIT" + }, "node_modules/data-urls": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-5.0.0.tgz", @@ -9092,10 +8371,6 @@ "node": ">=18" } }, - "node_modules/dayjs": { - "version": "1.11.20", - "license": "MIT" - }, "node_modules/debounce": { "version": "1.2.1", "license": "MIT" @@ -9248,13 +8523,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/delaunator": { - "version": "5.1.0", - "license": "ISC", - "dependencies": { - "robust-predicates": "^3.0.2" - } - }, "node_modules/depd": { "version": "2.0.0", "license": "MIT", @@ -9377,13 +8645,6 @@ "url": "https://github.com/fb55/domhandler?sponsor=1" } }, - "node_modules/dompurify": { - "version": "3.4.1", - "license": "(MPL-2.0 OR Apache-2.0)", - "optionalDependencies": { - "@types/trusted-types": "^2.0.7" - } - }, "node_modules/domutils": { "version": "3.2.2", "license": "BSD-2-Clause", @@ -9563,16 +8824,6 @@ "node": ">= 0.4" } }, - "node_modules/es-toolkit": { - "version": "1.46.1", - "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.46.1.tgz", - "integrity": "sha512-5eNtXOs3tbfxXOj04tjjseeWkRWaoCjdEI+96DgwzZoe6c9juL49pXlzAFTI72aWC9Y8p7168g6XIKjh7k6pyQ==", - "license": "MIT", - "workspaces": [ - "docs", - "benchmarks" - ] - }, "node_modules/esast-util-from-estree": { "version": "2.0.0", "license": "MIT", @@ -10474,10 +9725,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/hachure-fill": { - "version": "0.5.2", - "license": "MIT" - }, "node_modules/handle-thing": { "version": "2.0.1", "license": "MIT" @@ -11100,13 +10347,6 @@ "version": "0.2.7", "license": "MIT" }, - "node_modules/internmap": { - "version": "2.0.3", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, "node_modules/invariant": { "version": "2.2.4", "license": "MIT", @@ -11579,27 +10819,6 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/katex": { - "version": "0.16.45", - "funding": [ - "https://opencollective.com/katex", - "https://github.com/sponsors/katex" - ], - "license": "MIT", - "dependencies": { - "commander": "^8.3.0" - }, - "bin": { - "katex": "cli.js" - } - }, - "node_modules/katex/node_modules/commander": { - "version": "8.3.0", - "license": "MIT", - "engines": { - "node": ">= 12" - } - }, "node_modules/keyv": { "version": "4.5.4", "license": "MIT", @@ -11607,9 +10826,6 @@ "json-buffer": "3.0.1" } }, - "node_modules/khroma": { - "version": "2.1.0" - }, "node_modules/kind-of": { "version": "6.0.3", "license": "MIT", @@ -11654,10 +10870,6 @@ "shell-quote": "^1.8.3" } }, - "node_modules/layout-base": { - "version": "1.0.2", - "license": "MIT" - }, "node_modules/leven": { "version": "3.1.0", "license": "MIT", @@ -11719,10 +10931,6 @@ "version": "4.18.1", "license": "MIT" }, - "node_modules/lodash-es": { - "version": "4.18.1", - "license": "MIT" - }, "node_modules/lodash.debounce": { "version": "4.0.8", "license": "MIT" @@ -11841,16 +11049,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/marked": { - "version": "16.4.2", - "license": "MIT", - "bin": { - "marked": "bin/marked.js" - }, - "engines": { - "node": ">= 20" - } - }, "node_modules/math-intrinsics": { "version": "1.1.0", "license": "MIT", @@ -12270,35 +11468,6 @@ "node": ">= 8" } }, - "node_modules/mermaid": { - "version": "11.15.0", - "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.15.0.tgz", - "integrity": "sha512-pTMbcf3rWdtLiYGpmoTjHEpeY8seiy6sR+9nD7LOs8KfUbHE4lOUAprTRqRAcWSQ6MQpdX+YEsxShtGsINtPtw==", - "license": "MIT", - "dependencies": { - "@braintree/sanitize-url": "^7.1.1", - "@iconify/utils": "^3.0.2", - "@mermaid-js/parser": "^1.1.1", - "@types/d3": "^7.4.3", - "@upsetjs/venn.js": "^2.0.0", - "cytoscape": "^3.33.1", - "cytoscape-cose-bilkent": "^4.1.0", - "cytoscape-fcose": "^2.2.0", - "d3": "^7.9.0", - "d3-sankey": "^0.12.3", - "dagre-d3-es": "7.0.14", - "dayjs": "^1.11.19", - "dompurify": "^3.3.1", - "es-toolkit": "^1.45.1", - "katex": "^0.16.25", - "khroma": "^2.1.0", - "marked": "^16.3.0", - "roughjs": "^4.6.6", - "stylis": "^4.3.6", - "ts-dedent": "^2.2.0", - "uuid": "^11.1.0 || ^12 || ^13 || ^14.0.0" - } - }, "node_modules/methods": { "version": "1.1.2", "license": "MIT", @@ -14006,16 +13175,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/mlly": { - "version": "1.8.2", - "license": "MIT", - "dependencies": { - "acorn": "^8.16.0", - "pathe": "^2.0.3", - "pkg-types": "^1.3.1", - "ufo": "^1.6.3" - } - }, "node_modules/mrmime": { "version": "2.0.1", "license": "MIT", @@ -14403,10 +13562,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/package-manager-detector": { - "version": "1.6.0", - "license": "MIT" - }, "node_modules/param-case": { "version": "3.0.4", "license": "MIT", @@ -14524,10 +13679,6 @@ "tslib": "^2.0.3" } }, - "node_modules/path-data-parser": { - "version": "0.1.0", - "license": "MIT" - }, "node_modules/path-exists": { "version": "5.0.0", "license": "MIT", @@ -14566,6 +13717,7 @@ }, "node_modules/pathe": { "version": "2.0.3", + "dev": true, "license": "MIT" }, "node_modules/pathval": { @@ -14605,15 +13757,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/pkg-types": { - "version": "1.3.1", - "license": "MIT", - "dependencies": { - "confbox": "^0.1.8", - "mlly": "^1.7.4", - "pathe": "^2.0.1" - } - }, "node_modules/pkijs": { "version": "3.4.0", "license": "BSD-3-Clause", @@ -14629,18 +13772,6 @@ "node": ">=16.0.0" } }, - "node_modules/points-on-curve": { - "version": "0.2.0", - "license": "MIT" - }, - "node_modules/points-on-path": { - "version": "0.2.1", - "license": "MIT", - "dependencies": { - "path-data-parser": "0.1.0", - "points-on-curve": "0.2.0" - } - }, "node_modules/postcss": { "version": "8.5.12", "funding": [ @@ -16808,10 +15939,6 @@ "node": ">=0.10.0" } }, - "node_modules/robust-predicates": { - "version": "3.0.3", - "license": "Unlicense" - }, "node_modules/rollup": { "version": "4.60.3", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.3.tgz", @@ -16857,16 +15984,6 @@ "fsevents": "~2.3.2" } }, - "node_modules/roughjs": { - "version": "4.6.6", - "license": "MIT", - "dependencies": { - "hachure-fill": "^0.5.2", - "path-data-parser": "^0.1.0", - "points-on-curve": "^0.2.0", - "points-on-path": "^0.2.1" - } - }, "node_modules/rrweb-cssom": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz", @@ -16921,10 +16038,6 @@ "queue-microtask": "^1.2.2" } }, - "node_modules/rw": { - "version": "1.3.3", - "license": "BSD-3-Clause" - }, "node_modules/safe-buffer": { "version": "5.2.1", "funding": [ @@ -17674,10 +16787,6 @@ "postcss": "^8.4.31" } }, - "node_modules/stylis": { - "version": "4.4.0", - "license": "MIT" - }, "node_modules/supports-color": { "version": "7.2.0", "license": "MIT", @@ -17859,13 +16968,6 @@ "dev": true, "license": "MIT" }, - "node_modules/tinyexec": { - "version": "1.1.1", - "license": "MIT", - "engines": { - "node": ">=18" - } - }, "node_modules/tinyglobby": { "version": "0.2.16", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz", @@ -18041,13 +17143,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/ts-dedent": { - "version": "2.2.0", - "license": "MIT", - "engines": { - "node": ">=6.10" - } - }, "node_modules/tslib": { "version": "2.8.1", "license": "0BSD" @@ -18111,10 +17206,6 @@ "is-typedarray": "^1.0.0" } }, - "node_modules/ufo": { - "version": "1.6.3", - "license": "MIT" - }, "node_modules/undici": { "version": "7.25.0", "resolved": "https://registry.npmjs.org/undici/-/undici-7.25.0.tgz", diff --git a/docs/package.json b/docs/package.json index a727741..28c6ba6 100644 --- a/docs/package.json +++ b/docs/package.json @@ -17,7 +17,6 @@ "dependencies": { "@docusaurus/core": "3.9.2", "@docusaurus/preset-classic": "3.9.2", - "@docusaurus/theme-mermaid": "^3.9.2", "@easyops-cn/docusaurus-search-local": "^0.55.1", "clsx": "^2.1.1", "prism-react-renderer": "^2.3.1", @@ -41,8 +40,7 @@ "follow-redirects": "^1.16.0", "uuid": "^14.0.0", "vite": "^6.4.2", - "esbuild": "^0.25.0", - "mermaid": "^11.15.0" + "esbuild": "^0.25.0" }, "browserslist": { "production": [ diff --git a/docs/static/diagrams/add-a-provider-install-dark.svg b/docs/static/diagrams/add-a-provider-install-dark.svg new file mode 100644 index 0000000..8aed747 --- /dev/null +++ b/docs/static/diagrams/add-a-provider-install-dark.svg @@ -0,0 +1,56 @@ + + + + + + + Platform engineer applies + + + + Provider + provider-helm + v1.2.0 + + + + + Crossplane installs + + + + Crossplane core + (package manager) + + + + + spawns + + + + Provider Pod + (long-running) + + + + a ProviderConfig that tells the Pod how to authenticate (not shown) + + diff --git a/docs/static/diagrams/add-a-provider-install-light.svg b/docs/static/diagrams/add-a-provider-install-light.svg new file mode 100644 index 0000000..2d49b59 --- /dev/null +++ b/docs/static/diagrams/add-a-provider-install-light.svg @@ -0,0 +1,94 @@ + + + + + + + + Platform engineer applies + + + + + Provider + provider-helm + v1.2.0 + + + + + + Crossplane installs + + + + + Crossplane core + (package manager) + + + + + + spawns + + + + + Provider Pod + (long-running) + + + + + a ProviderConfig that tells the Pod how to authenticate (not shown) + + diff --git a/docs/static/diagrams/add-a-provider-runtime-dark.svg b/docs/static/diagrams/add-a-provider-runtime-dark.svg new file mode 100644 index 0000000..1f08ce8 --- /dev/null +++ b/docs/static/diagrams/add-a-provider-runtime-dark.svg @@ -0,0 +1,60 @@ + + + + + + User applies + External world + + + + Release MR + podinfo + chart 6.7.1 + + + + + watched by + + + + Provider Pod + provider-helm + + + + + pulls chart + + + + applies resources + + + + OCI registry + ghcr.io/.../charts + + + + + Kubernetes apiserver + (this cluster) + + + diff --git a/docs/static/diagrams/add-a-provider-runtime-light.svg b/docs/static/diagrams/add-a-provider-runtime-light.svg new file mode 100644 index 0000000..813a31d --- /dev/null +++ b/docs/static/diagrams/add-a-provider-runtime-light.svg @@ -0,0 +1,106 @@ + + + + + + + User applies + External world + + + + + Release MR + podinfo + chart 6.7.1 + + + + + + watched by + + + + + Provider Pod + provider-helm + + + + + + pulls chart + + + + + applies resources + + + + + OCI registry + ghcr.io/.../charts + + + + + + Kubernetes apiserver + (this cluster) + + + diff --git a/docs/static/diagrams/cheatsheet-crossplane-loop-dark.svg b/docs/static/diagrams/cheatsheet-crossplane-loop-dark.svg new file mode 100644 index 0000000..052be6f --- /dev/null +++ b/docs/static/diagrams/cheatsheet-crossplane-loop-dark.svg @@ -0,0 +1,96 @@ + + + + + + What a user applies + + compose-your-own-API + talk-to-external-API + + + + XR + your custom kind + (Application, Database…) + + + + + MR + a provider's kind + (Bucket, Release, Repo…) + + + XRD defines the XR's shape + ProviderConfig auths the Pod + + + + triggers + + + + watched by + + + + Composition pipeline + + function + (patch-and-transform, …) + + + + + Provider Pod + (reconciles MRs by + calling the external API) + + + + + emits + + + + calls + + + + Native cluster resources + ConfigMap, Deployment, + Service, Job, … + + + + + External API + AWS, GCP, Azure, + GitHub, Helm, … + + + + + Compositions can also emit MRs (bridges both halves) + + diff --git a/docs/static/diagrams/cheatsheet-crossplane-loop-light.svg b/docs/static/diagrams/cheatsheet-crossplane-loop-light.svg new file mode 100644 index 0000000..76e0642 --- /dev/null +++ b/docs/static/diagrams/cheatsheet-crossplane-loop-light.svg @@ -0,0 +1,124 @@ + + + + + + + What a user applies + + + compose-your-own-API + talk-to-external-API + + + + + XR + your custom kind + (Application, Database…) + + + + + + MR + a provider's kind + (Bucket, Release, Repo…) + + + + XRD defines the XR's shape + + + ProviderConfig auths the Pod + + + + + triggers + + + + + watched by + + + + + Composition pipeline + + function + (patch-and-transform, …) + + + + + + Provider Pod + (reconciles MRs by + calling the external API) + + + + + + emits + + + + + calls + + + + + Native cluster resources + ConfigMap, Deployment, + Service, Job, … + + + + + + External API + AWS, GCP, Azure, + GitHub, Helm, … + + + + + + Compositions can also emit MRs (bridges both halves) + + diff --git a/docs/static/diagrams/composition-functions-pipeline-dark.svg b/docs/static/diagrams/composition-functions-pipeline-dark.svg new file mode 100644 index 0000000..2ee6238 --- /dev/null +++ b/docs/static/diagrams/composition-functions-pipeline-dark.svg @@ -0,0 +1,77 @@ + + + + + + User input + Composition pipeline — platform engineer's choice of functions + Desired state + + + + XR + your custom kind + + observed state of + prior composed + resources + + + + + + + + pipeline step 1 + function-go- + templating + range / if / include + over the XR spec + + + + + desired state v1 + (passed forward) + + + + pipeline step 2 + function-patch- + and-transform + applies final patches + on top of v1 + + + + + desired state v2 + (final, emitted) + + + + Composed + resources + ConfigMap, + Deployment, + MR, … + + + Pipeline steps run in order. Each step receives the previous step's desired state and may add, modify, or leave it alone. + + diff --git a/docs/static/diagrams/composition-functions-pipeline-light.svg b/docs/static/diagrams/composition-functions-pipeline-light.svg new file mode 100644 index 0000000..951ede9 --- /dev/null +++ b/docs/static/diagrams/composition-functions-pipeline-light.svg @@ -0,0 +1,99 @@ + + + + + + + User input + Composition pipeline — platform engineer's choice of functions + Desired state + + + + + XR + your custom kind + + observed state of + prior composed + resources + + + + + + + + + + pipeline step 1 + function-go- + templating + range / if / include + over the XR spec + + + + + + desired state v1 + (passed forward) + + + + + pipeline step 2 + function-patch- + and-transform + applies final patches + on top of v1 + + + + + + desired state v2 + (final, emitted) + + + + + Composed + resources + ConfigMap, + Deployment, + MR, … + + + + Pipeline steps run in order. Each step receives the previous step's desired state and may add, modify, or leave it alone. + + diff --git a/docs/static/diagrams/configurations-packaging-dark.svg b/docs/static/diagrams/configurations-packaging-dark.svg new file mode 100644 index 0000000..56a8d22 --- /dev/null +++ b/docs/static/diagrams/configurations-packaging-dark.svg @@ -0,0 +1,76 @@ + + + + + + Platform engineer authors (and builds) + + + + YAML sources + XRD + Composition + (the API + the recipe) + + + + crossplane.yaml + metadata + spec.dependsOn + (pins providers + functions) + + + + + + + + crossplane xpkg build + + + + .xpkg + OCI artifact + (versioned: vX.Y.Z) + + + + + crossplane xpkg push + + + + OCI registry + xpkg.upbound.io, + ghcr.io/<you>/<pkg>, … + + External + + + + apply Configuration MR + + + + Configuration installed on target cluster + Crossplane installs the package's XRDs + Compositions, + then resolves and pulls the Providers + Functions from dependsOn + + Target cluster + + diff --git a/docs/static/diagrams/configurations-packaging-light.svg b/docs/static/diagrams/configurations-packaging-light.svg new file mode 100644 index 0000000..6cbe002 --- /dev/null +++ b/docs/static/diagrams/configurations-packaging-light.svg @@ -0,0 +1,95 @@ + + + + + + + Platform engineer authors (and builds) + + + + + YAML sources + XRD + Composition + (the API + the recipe) + + + + crossplane.yaml + metadata + spec.dependsOn + (pins providers + functions) + + + + + + + + + + crossplane xpkg build + + + + + .xpkg + OCI artifact + (versioned: vX.Y.Z) + + + + + + crossplane xpkg push + + + + + OCI registry + xpkg.upbound.io, + ghcr.io/<you>/<pkg>, … + + External + + + + + apply Configuration MR + + + + + Configuration installed on target cluster + Crossplane installs the package's XRDs + Compositions, + then resolves and pulls the Providers + Functions from dependsOn + + Target cluster + + diff --git a/docs/static/diagrams/define-application-fanout-dark.svg b/docs/static/diagrams/define-application-fanout-dark.svg new file mode 100644 index 0000000..c462d2b --- /dev/null +++ b/docs/static/diagrams/define-application-fanout-dark.svg @@ -0,0 +1,101 @@ + + + + + + User applies one Application XR + + + + Application XR + spec.message + spec.color + + + + + + Crossplane composes six native resources + + + frontend + + + backend + + + + ConfigMap + frontend (html) + + + + Deployment + frontend (nginx) + + + + Service + frontend :80 + + + + + ConfigMap + backend (patched) + + + + Deployment + backend (nginx) + + + + Service + backend :5678 + + + diff --git a/docs/static/diagrams/define-application-fanout-light.svg b/docs/static/diagrams/define-application-fanout-light.svg new file mode 100644 index 0000000..88e3e8e --- /dev/null +++ b/docs/static/diagrams/define-application-fanout-light.svg @@ -0,0 +1,116 @@ + + + + + + + User applies one Application XR + + + + + Application XR + spec.message + spec.color + + + + + + + + Crossplane composes six native resources + + + + frontend + + + + backend + + + + + + ConfigMap + frontend (html) + + + + Deployment + frontend (nginx) + + + + Service + frontend :80 + + + + + + ConfigMap + backend (patched) + + + + Deployment + backend (nginx) + + + + Service + backend :5678 + + + diff --git a/docs/static/diagrams/first-composition-overview-dark.svg b/docs/static/diagrams/first-composition-overview-dark.svg new file mode 100644 index 0000000..a40ac92 --- /dev/null +++ b/docs/static/diagrams/first-composition-overview-dark.svg @@ -0,0 +1,132 @@ + + + + + + + + + + Platform team (you, today) + + + User (your app team) + + + + + XRD + hellos.workshop + + + + + + Composition + (recipe) + + + + + + Hello XR + hello-world + + + + + + ConfigMap + hello-world + + + + + + defines kind + + + + + matches Composition + + + + + emits + + + + + platform + + user + + output + + diff --git a/docs/static/diagrams/first-composition-overview-light.svg b/docs/static/diagrams/first-composition-overview-light.svg new file mode 100644 index 0000000..5520cfd --- /dev/null +++ b/docs/static/diagrams/first-composition-overview-light.svg @@ -0,0 +1,132 @@ + + + + + + + + + + Platform team (you, today) + + + User (your app team) + + + + + XRD + hellos.workshop + + + + + + Composition + (recipe) + + + + + + Hello XR + hello-world + + + + + + ConfigMap + hello-world + + + + + + defines kind + + + + + matches Composition + + + + + emits + + + + + platform + + user + + output + + diff --git a/docs/static/diagrams/first-composition-overview.excalidraw b/docs/static/diagrams/first-composition-overview.excalidraw new file mode 100644 index 0000000..54f4896 --- /dev/null +++ b/docs/static/diagrams/first-composition-overview.excalidraw @@ -0,0 +1,567 @@ +{ + "type": "excalidraw", + "version": 2, + "source": "https://excalidraw.com", + "elements": [ + { + "id": "platform-group-bg", + "type": "ellipse", + "x": 60, + "y": 60, + "width": 520, + "height": 380, + "angle": 0, + "strokeColor": "#b08900", + "backgroundColor": "transparent", + "fillStyle": "hachure", + "strokeWidth": 2, + "strokeStyle": "dashed", + "roughness": 2, + "opacity": 70, + "groupIds": ["platform"], + "frameId": null, + "roundness": null, + "seed": 101, + "version": 1, + "versionNonce": 101, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false + }, + { + "id": "platform-label", + "type": "text", + "x": 80, + "y": 30, + "width": 260, + "height": 28, + "angle": 0, + "strokeColor": "#b08900", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": ["platform"], + "frameId": null, + "roundness": null, + "seed": 102, + "version": 1, + "versionNonce": 102, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "fontSize": 20, + "fontFamily": 1, + "text": "Platform (you, today)", + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "Platform (you, today)", + "lineHeight": 1.25 + }, + { + "id": "xrd-box", + "type": "rectangle", + "x": 120, + "y": 140, + "width": 180, + "height": 90, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#ffec99", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 2, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { "type": 3 }, + "seed": 201, + "version": 1, + "versionNonce": 201, + "isDeleted": false, + "boundElements": [ + { "id": "arrow-xrd-xr", "type": "arrow" } + ], + "updated": 1, + "link": null, + "locked": false + }, + { + "id": "xrd-text", + "type": "text", + "x": 140, + "y": 165, + "width": 140, + "height": 50, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 202, + "version": 1, + "versionNonce": 202, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "fontSize": 18, + "fontFamily": 1, + "text": "XRD\nhellos.workshop", + "textAlign": "center", + "verticalAlign": "middle", + "containerId": null, + "originalText": "XRD\nhellos.workshop", + "lineHeight": 1.25 + }, + { + "id": "comp-box", + "type": "rectangle", + "x": 340, + "y": 280, + "width": 200, + "height": 90, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#ffec99", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 2, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { "type": 3 }, + "seed": 301, + "version": 1, + "versionNonce": 301, + "isDeleted": false, + "boundElements": [ + { "id": "arrow-comp-cm", "type": "arrow" } + ], + "updated": 1, + "link": null, + "locked": false + }, + { + "id": "comp-text", + "type": "text", + "x": 360, + "y": 305, + "width": 160, + "height": 50, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 302, + "version": 1, + "versionNonce": 302, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "fontSize": 18, + "fontFamily": 1, + "text": "Composition\n(recipe)", + "textAlign": "center", + "verticalAlign": "middle", + "containerId": null, + "originalText": "Composition\n(recipe)", + "lineHeight": 1.25 + }, + { + "id": "xr-box", + "type": "rectangle", + "x": 680, + "y": 140, + "width": 200, + "height": 90, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 2, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { "type": 3 }, + "seed": 401, + "version": 1, + "versionNonce": 401, + "isDeleted": false, + "boundElements": [ + { "id": "arrow-xr-comp", "type": "arrow" } + ], + "updated": 1, + "link": null, + "locked": false + }, + { + "id": "xr-text", + "type": "text", + "x": 700, + "y": 165, + "width": 160, + "height": 50, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 402, + "version": 1, + "versionNonce": 402, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "fontSize": 18, + "fontFamily": 1, + "text": "Hello XR\nhello-world", + "textAlign": "center", + "verticalAlign": "middle", + "containerId": null, + "originalText": "Hello XR\nhello-world", + "lineHeight": 1.25 + }, + { + "id": "user-label", + "type": "text", + "x": 700, + "y": 80, + "width": 200, + "height": 28, + "angle": 0, + "strokeColor": "#1971c2", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 403, + "version": 1, + "versionNonce": 403, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "fontSize": 20, + "fontFamily": 1, + "text": "User (your app team)", + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "User (your app team)", + "lineHeight": 1.25 + }, + { + "id": "cm-box", + "type": "rectangle", + "x": 680, + "y": 380, + "width": 220, + "height": 90, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#b2f2bb", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 2, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { "type": 3 }, + "seed": 501, + "version": 1, + "versionNonce": 501, + "isDeleted": false, + "boundElements": [], + "updated": 1, + "link": null, + "locked": false + }, + { + "id": "cm-text", + "type": "text", + "x": 700, + "y": 405, + "width": 180, + "height": 50, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 502, + "version": 1, + "versionNonce": 502, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "fontSize": 18, + "fontFamily": 1, + "text": "ConfigMap\nhello-world", + "textAlign": "center", + "verticalAlign": "middle", + "containerId": null, + "originalText": "ConfigMap\nhello-world", + "lineHeight": 1.25 + }, + { + "id": "arrow-xrd-xr", + "type": "arrow", + "x": 305, + "y": 180, + "width": 370, + "height": 5, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 2, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { "type": 2 }, + "seed": 601, + "version": 1, + "versionNonce": 601, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "points": [[0, 0], [370, 5]], + "lastCommittedPoint": null, + "startBinding": { "elementId": "xrd-box", "focus": 0, "gap": 5 }, + "endBinding": { "elementId": "xr-box", "focus": 0, "gap": 5 }, + "startArrowhead": null, + "endArrowhead": "arrow" + }, + { + "id": "arrow-xr-comp", + "type": "arrow", + "x": 720, + "y": 235, + "width": 80, + "height": 40, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 2, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { "type": 2 }, + "seed": 602, + "version": 1, + "versionNonce": 602, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "points": [[0, 0], [-260, 45]], + "lastCommittedPoint": null, + "startBinding": { "elementId": "xr-box", "focus": 0, "gap": 5 }, + "endBinding": { "elementId": "comp-box", "focus": 0, "gap": 5 }, + "startArrowhead": null, + "endArrowhead": "arrow" + }, + { + "id": "arrow-comp-cm", + "type": "arrow", + "x": 540, + "y": 350, + "width": 160, + "height": 70, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 2, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { "type": 2 }, + "seed": 603, + "version": 1, + "versionNonce": 603, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "points": [[0, 0], [150, 75]], + "lastCommittedPoint": null, + "startBinding": { "elementId": "comp-box", "focus": 0, "gap": 5 }, + "endBinding": { "elementId": "cm-box", "focus": 0, "gap": 5 }, + "startArrowhead": null, + "endArrowhead": "arrow" + }, + { + "id": "label-defines", + "type": "text", + "x": 400, + "y": 150, + "width": 180, + "height": 24, + "angle": 0, + "strokeColor": "#868e96", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 701, + "version": 1, + "versionNonce": 701, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "fontSize": 16, + "fontFamily": 1, + "text": "defines kind", + "textAlign": "center", + "verticalAlign": "top", + "containerId": null, + "originalText": "defines kind", + "lineHeight": 1.25 + }, + { + "id": "label-matches", + "type": "text", + "x": 540, + "y": 250, + "width": 180, + "height": 24, + "angle": 0, + "strokeColor": "#868e96", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 702, + "version": 1, + "versionNonce": 702, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "fontSize": 16, + "fontFamily": 1, + "text": "matches Composition", + "textAlign": "center", + "verticalAlign": "top", + "containerId": null, + "originalText": "matches Composition", + "lineHeight": 1.25 + }, + { + "id": "label-emits", + "type": "text", + "x": 560, + "y": 360, + "width": 140, + "height": 24, + "angle": 0, + "strokeColor": "#868e96", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 703, + "version": 1, + "versionNonce": 703, + "isDeleted": false, + "boundElements": null, + "updated": 1, + "link": null, + "locked": false, + "fontSize": 16, + "fontFamily": 1, + "text": "emits", + "textAlign": "center", + "verticalAlign": "top", + "containerId": null, + "originalText": "emits", + "lineHeight": 1.25 + } + ], + "appState": { + "gridSize": null, + "viewBackgroundColor": "#ffffff" + }, + "files": {} +} diff --git a/docs/static/diagrams/microservice-templates-scope-dark.svg b/docs/static/diagrams/microservice-templates-scope-dark.svg new file mode 100644 index 0000000..162ead8 --- /dev/null +++ b/docs/static/diagrams/microservice-templates-scope-dark.svg @@ -0,0 +1,76 @@ + + + + + + Developer applies one Application XR + + + + Application XR + spec.name + spec.team + spec.database + + + + + + Composition fans out into: + + + In-cluster (native) + + + External (via Providers) + + + + Deployment (frontend) + nginx serving /index.html + + + + Deployment (backend) + your service image + + + + ConfigMap (env, wired to both) + + + + + Database MR + managed RDS / Cloud SQL / + Aruba DBaaS instance + + + + Repository MR + GitHub repo, branch protection, + CI workflow seeded + + + diff --git a/docs/static/diagrams/microservice-templates-scope-light.svg b/docs/static/diagrams/microservice-templates-scope-light.svg new file mode 100644 index 0000000..2cce06f --- /dev/null +++ b/docs/static/diagrams/microservice-templates-scope-light.svg @@ -0,0 +1,94 @@ + + + + + + + Developer applies one Application XR + + + + + Application XR + spec.name + spec.team + spec.database + + + + + + + Composition fans out into: + + + + In-cluster (native) + + + + External (via Providers) + + + + + Deployment (frontend) + nginx serving /index.html + + + + Deployment (backend) + your service image + + + + ConfigMap (env, wired to both) + + + + + + Database MR + managed RDS / Cloud SQL / + Aruba DBaaS instance + + + + Repository MR + GitHub repo, branch protection, + CI workflow seeded + + + diff --git a/docs/static/diagrams/provider-setup-pattern-dark.svg b/docs/static/diagrams/provider-setup-pattern-dark.svg new file mode 100644 index 0000000..fe19246 --- /dev/null +++ b/docs/static/diagrams/provider-setup-pattern-dark.svg @@ -0,0 +1,88 @@ + + + + + + Platform engineer applies + User applies + Operator-staged or workload identity + + + + Provider + (installed package) + + + + + spawns + + + + Provider Pod + (crossplane-system) + + + + + calls + + + + External API + AWS, Helm, GitHub, … + + + + + ProviderConfig + (how to authenticate) + + + + + uses + + + + Secret + (or InjectedIdentity) + + + + + credentials + + + + MR + (Bucket, Release, Repo…) + + + + + providerConfigRef + + + + watches + + diff --git a/docs/static/diagrams/provider-setup-pattern-light.svg b/docs/static/diagrams/provider-setup-pattern-light.svg new file mode 100644 index 0000000..d53cafa --- /dev/null +++ b/docs/static/diagrams/provider-setup-pattern-light.svg @@ -0,0 +1,113 @@ + + + + + + + Platform engineer applies + User applies + Operator-staged or workload identity + + + + + Provider + (installed package) + + + + + + spawns + + + + + Provider Pod + (crossplane-system) + + + + + + calls + + + + + External API + AWS, Helm, GitHub, … + + + + + + ProviderConfig + (how to authenticate) + + + + + + uses + + + + + Secret + (or InjectedIdentity) + + + + + + credentials + + + + + MR + (Bucket, Release, Repo…) + + + + + + providerConfigRef + + + + + watches + +