{"id":50785638,"url":"https://github.com/vatesfr/cluster-api-provider-vates","last_synced_at":"2026-06-12T07:34:36.130Z","repository":{"id":361873512,"uuid":"1251161020","full_name":"vatesfr/cluster-api-provider-vates","owner":"vatesfr","description":"Cluster API provider implementation for Vates VMS (XCP-ng and Xen Orchestra)","archived":false,"fork":false,"pushed_at":"2026-06-06T07:26:31.000Z","size":175,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-12T07:34:33.003Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vatesfr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-27T09:53:40.000Z","updated_at":"2026-06-09T04:23:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vatesfr/cluster-api-provider-vates","commit_stats":null,"previous_names":["vatesfr/cluster-api-provider-vates"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vatesfr/cluster-api-provider-vates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vatesfr%2Fcluster-api-provider-vates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vatesfr%2Fcluster-api-provider-vates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vatesfr%2Fcluster-api-provider-vates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vatesfr%2Fcluster-api-provider-vates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vatesfr","download_url":"https://codeload.github.com/vatesfr/cluster-api-provider-vates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vatesfr%2Fcluster-api-provider-vates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34234557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":[],"created_at":"2026-06-12T07:34:34.885Z","updated_at":"2026-06-12T07:34:36.124Z","avatar_url":"https://github.com/vatesfr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vates-capi\n\nA [Cluster API](https://cluster-api.sigs.k8s.io/) infrastructure provider for\n[Xen Orchestra](https://xen-orchestra.com/). Manages the full lifecycle of VMs\non XenServer / XCP-ng pools as Kubernetes worker and control plane nodes.\n\n## Quick start\n\n\u003e **Prerequisites:** A management cluster (Kind, k3s, etc.), [clusterctl](https://cluster-api.sigs.k8s.io/clusterctl/overview.html), Xen Orchestra access (VM template UUID, pool UUID, network name).\n\n```bash\n# 1. Install CAPI with ClusterClass support\nCLUSTER_TOPOLOGY=true clusterctl init --bootstrap kubeadm --control-plane kubeadm\n\n# 2. Deploy the vates provider\nkubectl apply -f https://github.com/vatesfr/cluster-api-provider-vates/releases/latest/download/install.yaml\n\n# 3. Create the XO credentials secret\nkubectl create secret generic xo-credentials -n capi-system \\\n  --from-literal=url=\"https://\u003cyour-xoa\u003e\" \\\n  --from-literal=token=\"\u003cyour-xo-token\u003e\" \\\n  --from-literal=insecure=\"true\"\n```\n\n### Template requirements\n\nAll templates must have **cloud-init** support enabled and **Xen guest tools** installed and running.\n\nTwo ClusterClass variants are provided:\n\n- **`prefilled`** — for templates that already have kubelet, kubeadm, containerd, kube-vip, and Cilium images pre-installed. Edit `examples/machinetemplates/prefilled/`.\n- **`from-scratch`** — for minimal templates (just containerd + Xen guest tools). The ClusterClass handles installing everything via `preKubeadmCommands`. Edit `examples/machinetemplates/from-scratch/`.\n\nEdit the matching `VatesMachineTemplate` files to set your `templateID`, `poolID`, and network name, then apply:\n\n```bash\n# 4. Deploy ClusterClass + machine templates\nkubectl apply -k examples/clusterclass/\nkubectl apply -k examples/machinetemplates/prefilled/\n\n# 5. Create a cluster\nkubectl apply -f examples/example-cluster/capi-cluster.yaml\n```\n\n## Development\n\n```bash\nmake -f Makefile.dev build    # Build controller image\nmake -f Makefile.dev push     # Load into Kind\nmake -f Makefile.dev restart  # Restart the controller pod\n```\n\n## Project structure\n\n```\n├── api/                           # CRD types (+kubebuilder markers)\n├── cmd/                           # Manager entry point\n├── internal/\n│   ├── controller/                # Reconciliation logic\n│   └── kubevip/                   # kube-vip static pod injection\n├── config/\n│   ├── crd/                       # Generated CRDs (DO NOT EDIT)\n│   ├── manager/                   # Manager Deployment\n│   ├── rbac/                      # Generated RBAC (DO NOT EDIT)\n├── examples/                      # Example manifests\n│   ├── clusterclass/              # ClusterClass + templates\n│   ├── clusterctl/                # Template for clusterctl generate\n│   ├── machinetemplates/          # VatesMachineTemplate (edit per env)\n│   ├── example-cluster/           # Complete cluster example\n│   └── standalone/                # Standalone VatesMachine tests\n├── dist/                          # Generated release artifacts\n│   ├── install.yaml               # kubectl apply bundle\n│   ├── infrastructure-components.yaml  # clusterctl bundle\n│   ├── cluster-template.yaml      # clusterctl template\n│   └── chart/                     # Helm chart\n\n```\n\n## Release artifacts\n\n```bash\n# Generate dist/ from the current source\nmake release-manifests IMG=ghcr.io/vatesfr/cluster-api-provider-vates:latest\n```\n\n## License\n\nCopyright 2026.\n\nLicensed under the Apache License, Version 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvatesfr%2Fcluster-api-provider-vates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvatesfr%2Fcluster-api-provider-vates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvatesfr%2Fcluster-api-provider-vates/lists"}