{"id":30189714,"url":"https://github.com/hutstep/crossplane-kind-azure-bootstrap","last_synced_at":"2026-04-27T16:31:35.685Z","repository":{"id":309026605,"uuid":"1034927791","full_name":"hutstep/crossplane-kind-azure-bootstrap","owner":"hutstep","description":"Crossplane + kind + Azure provider family bootstrap. One-command local setup with reliable waits, cleanup, and Makefile targets.","archived":false,"fork":false,"pushed_at":"2025-08-09T10:58:49.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-09T11:36:46.623Z","etag":null,"topics":["azure","bootstrap","crossplane","kind","kubernetes","local-development"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hutstep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-09T09:26:45.000Z","updated_at":"2025-08-09T10:58:51.000Z","dependencies_parsed_at":"2025-08-09T11:54:42.447Z","dependency_job_id":null,"html_url":"https://github.com/hutstep/crossplane-kind-azure-bootstrap","commit_stats":null,"previous_names":["hutstep/crossplane-kind-azure-bootstrap"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/hutstep/crossplane-kind-azure-bootstrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutstep%2Fcrossplane-kind-azure-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutstep%2Fcrossplane-kind-azure-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutstep%2Fcrossplane-kind-azure-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutstep%2Fcrossplane-kind-azure-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hutstep","download_url":"https://codeload.github.com/hutstep/crossplane-kind-azure-bootstrap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutstep%2Fcrossplane-kind-azure-bootstrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32345802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","bootstrap","crossplane","kind","kubernetes","local-development"],"created_at":"2025-08-12T18:25:00.220Z","updated_at":"2026-04-27T16:31:35.679Z","avatar_url":"https://github.com/hutstep.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crossplane-kind-azure-bootstrap\n\n\u003c!-- markdownlint-disable MD013 --\u003e\n\n[![lint](https://github.com/hutstep/crossplane-kind-azure-bootstrap/actions/workflows/lint.yml/badge.svg)](https://github.com/hutstep/crossplane-kind-azure-bootstrap/actions/workflows/lint.yml) [![e2e-kind](https://github.com/hutstep/crossplane-kind-azure-bootstrap/actions/workflows/e2e.yml/badge.svg)](https://github.com/hutstep/crossplane-kind-azure-bootstrap/actions/workflows/e2e.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\n🚀 Bootstrap a local [kind](https://kind.sigs.k8s.io/) cluster with [Crossplane](https://crossplane.io/), the Crossplane provider family for Azure, and selected Composition Functions. Designed to be robust, idempotent, and non-interactive friendly for both local use and CI.\n\n## ✨ Features\n\n- 🧰 Creates or reuses a kind cluster (or targets current kubectl context)\n- 📦 Installs Crossplane via Helm chart (chart version controllable)\n- ☁️ Installs provider family for Azure (provider-family-azure)\n- 🧩 Installs Crossplane Composition Functions:\n  - function-patch-and-transform\n  - function-environment-configs\n- ✅ Reliable health waits with JSONPath fallback\n- 🧹 Cleanup modes (keep cluster, delete cluster, and force-clean leftovers)\n- 🧰 Makefile with common targets\n\n## ✅ Prerequisites\n\n- 🐳 Docker (required by kind)\n- 🧱 kind ≥ 0.20.0\n- ⎈ kubectl ≥ 1.25\n- ⛵ Helm ≥ 3.11\n- 🌐 Network access to:\n  - \u003chttps://charts.crossplane.io/stable/index.yaml\u003e\n  - \u003chttps://xpkg.crossplane.io/\u003e\n\nTip: Ensure all scripts in scripts/ are executable so you can run them directly (chmod +x scripts/\\*).\n\n## 🚦 Quick start\n\n- Non-interactive default install (creates kind cluster if missing):\n\n  ```bash\n  scripts/bootstrap-crossplane-kind.sh --yes\n  ```\n\n- Use existing context (no cluster creation):\n\n  ```bash\n  scripts/bootstrap-crossplane-kind.sh --yes --skip-cluster\n  ```\n\n- Recreate cluster and override versions:\n\n  ```bash\n  scripts/bootstrap-crossplane-kind.sh --yes --recreate \\\n    --cluster-name xp-dev --kind-node-image kindest/node:v1.33.1 \\\n    --crossplane-version v1.20.1 \\\n    --provider-azure-version v1.13.0 \\\n    --func-pat-version v0.9.0 \\\n    --func-envcfg-version v0.4.0\n  ```\n\n## 🧰 Makefile targets\n\n- Bootstrap (idempotent):\n\n  ```bash\n  make bootstrap\n  ```\n\n- Dry-run (print planned actions):\n\n  ```bash\n  make dry-run\n  ```\n\n- Recreate cluster then bootstrap:\n\n  ```bash\n  make recreate\n  ```\n\n- Use current context (no cluster creation):\n\n  ```bash\n  make skip-cluster\n  ```\n\n- Tools check (versions, network reachability):\n\n  ```bash\n  make tools-check\n  ```\n\n- Cleanup providers/functions/Helm release (keep cluster):\n\n  ```bash\n  make clean\n  ```\n\n- Cleanup plus remove Function package CRDs (keeps cluster):\n\n  ```bash\n  make clean-force\n  ```\n\n- Cleanup and delete kind cluster:\n\n  ```bash\n  make clean-delete-cluster\n  ```\n\n## ⚙️ Script flags (most-used)\n\n| Flag | Description | Default |\n| --- | --- | --- |\n| `--yes` | Non-interactive assume-yes | `false` |\n| `--cluster-name NAME` | Kind cluster name | `crossplane-kind` |\n| `--kind-node-image IMAGE` | Node image | `kindest/node:v1.33.1` |\n| `--crossplane-version VER` | Crossplane Helm chart version | `v1.20.1` |\n| `--provider-azure-version V` | provider-family-azure version | `v1.13.0` |\n| `--func-pat-version V` | function-patch-and-transform version | `v0.9.0` |\n| `--func-envcfg-version V` | function-environment-configs version | `v0.4.0` |\n| `--skip-cluster` | Target current kubectl context; do not create kind | `false` |\n| `--recreate` | Delete existing kind cluster with the same name first | `false` |\n| `--wait-timeout DURATION` | Timeout for waits (e.g., `10m`) | `10m` |\n| `--cleanup` | Remove providers/functions and Crossplane Helm release | `false` |\n| `--delete-cluster` | With `--cleanup`, delete the kind cluster too | `false` |\n| `--force-clean` | With `--cleanup`, also remove Function package CRDs | `false` |\n| `--dry-run` | Print planned actions only | `false` |\n| `--verbose` | Shell tracing (`set -x`) | `false` |\n\n## 📦 What gets installed\n\n- Crossplane Helm chart from charts.crossplane.io (chart version you choose)\n- Provider family Azure package:\n  - xpkg.crossplane.io/crossplane-contrib/provider-family-azure:v1.13.0\n- Composition Functions:\n  - xpkg.crossplane.io/crossplane-contrib/function-patch-and-transform:v0.9.0\n  - xpkg.crossplane.io/crossplane-contrib/function-environment-configs:v0.4.0\n\n## 🔍 Verify installation\n\n```bash\nhelm list -n crossplane-system\nkubectl get providers.pkg.crossplane.io -o wide\nkubectl get functions.pkg.crossplane.io -o wide\nkubectl get pods -A\n```\n\n## 🧹 Cleanup\n\n- Keep cluster, remove providers/functions and Crossplane Helm release:\n\n  ```bash\n  scripts/bootstrap-crossplane-kind.sh --cleanup\n  ```\n\n- If function pods linger or are recreated by FunctionRevisions, use force-clean:\n\n  ```bash\n  scripts/bootstrap-crossplane-kind.sh --cleanup --force-clean\n  ```\n\n- Delete cluster too:\n\n  ```bash\n  scripts/bootstrap-crossplane-kind.sh --cleanup --delete-cluster --yes\n  ```\n\n## 🧪 CI notes\n\n- Ensure Docker-in-Docker or Docker is available on the runner (kind requires Docker).\n- Cache Helm repository data to speed up runs:\n  - $HOME/.cache/helm\n  - optionally $HOME/.config/helm/repositories.yaml\n\n## 📜 License\n\nThis project is licensed under the MIT License - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhutstep%2Fcrossplane-kind-azure-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhutstep%2Fcrossplane-kind-azure-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhutstep%2Fcrossplane-kind-azure-bootstrap/lists"}