{"id":43172852,"url":"https://github.com/pmady/crossplane","last_synced_at":"2026-02-01T02:37:14.486Z","repository":{"id":327441025,"uuid":"1109312958","full_name":"pmady/crossplane","owner":"pmady","description":"Crossplane 2.0 AWS EKS Composition with VPC, subnets, and CI/CD pipeline","archived":false,"fork":false,"pushed_at":"2026-01-10T22:26:18.000Z","size":89,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T06:50:46.111Z","etag":null,"topics":["aws","crossplane","eks","infrastructure-as-code","kubernetes"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/pmady.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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":"2025-12-03T16:21:27.000Z","updated_at":"2026-01-10T22:26:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pmady/crossplane","commit_stats":null,"previous_names":["pmady/crossplane"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pmady/crossplane","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmady%2Fcrossplane","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmady%2Fcrossplane/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmady%2Fcrossplane/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmady%2Fcrossplane/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmady","download_url":"https://codeload.github.com/pmady/crossplane/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmady%2Fcrossplane/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28965430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T02:14:24.993Z","status":"ssl_error","status_checked_at":"2026-02-01T02:13:55.706Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aws","crossplane","eks","infrastructure-as-code","kubernetes"],"created_at":"2026-02-01T02:37:12.768Z","updated_at":"2026-02-01T02:37:14.474Z","avatar_url":"https://github.com/pmady.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crossplane Compositions\n\nA collection of **Crossplane 2.0** compositions for provisioning cloud infrastructure using Kubernetes-native APIs.\n\n[![Crossplane CI](https://github.com/pmady/crossplane/actions/workflows/crossplane-ci.yaml/badge.svg)](https://github.com/pmady/crossplane/actions/workflows/crossplane-ci.yaml)\n\n## Available Compositions\n\n| Composition | Description | Cloud Provider |\n|-------------|-------------|----------------|\n| [crossplane-eks](./crossplane-eks/) | Complete EKS cluster with VPC, subnets, and networking | AWS |\n| [crossplane-s3](./crossplane-s3/) | S3 bucket with versioning, encryption, and lifecycle policies | AWS |\n| [crossplane-unified](./crossplane-unified/) | Provider-agnostic cluster management for AWS, Azure, GCP | Multi-Cloud |\n\n## Features\n\n- **Crossplane 2.0** - Uses Pipeline mode with `function-patch-and-transform`\n- **Production-ready** - Includes VPC, public/private subnets, NAT Gateway, and proper IAM roles\n- **Configurable** - Parameterized for easy customization\n- **EKS Add-ons Management** - Supports VPC CNI, CoreDNS, kube-proxy, and EBS CSI driver\n- **CI/CD Ready** - GitHub Actions workflow for testing and package publishing\n\n## Quick Start\n\n### Prerequisites\n\n- Kubernetes cluster with Crossplane 2.0+ installed\n- AWS credentials configured\n\n### Installation\n\n```bash\n# Install the function\nkubectl apply -f crossplane-eks/functions.yaml\n\n# Apply XRD and Composition\nkubectl apply -f crossplane-eks/definition.yaml\nkubectl apply -f crossplane-eks/composition.yaml\n\n# Create an EKS cluster\nkubectl apply -f crossplane-eks/claim.yaml\n```\n\n### EKS Add-ons Configuration\n\nThe EKS composition supports managing the following add-ons:\n\n| Add-on | Description | Default Version |\n|--------|-------------|-----------------|\n| **VPC CNI** | Container networking interface for pod networking | `v1.12.6-eksbuild.1` |\n| **CoreDNS** | DNS discovery service for Kubernetes | `v1.10.1-eksbuild.6` |\n| **kube-proxy** | Network proxy for maintaining network rules | `v1.28.1-eksbuild.1` |\n| **EBS CSI Driver** | Container Storage Interface for EBS volumes | `v1.26.1-eksbuild.1` |\n\n#### Add-on Configuration Example\n\n```yaml\napiVersion: aws.example.com/v1alpha1\nkind: EKSCluster\nmetadata:\n  name: my-eks-cluster\nspec:\n  parameters:\n    region: us-west-2\n    # ... other cluster parameters\n    addons:\n      vpcCni:\n        enabled: true\n        version: \"v1.12.6-eksbuild.1\"\n        configuration:\n          warmPodTarget: 2\n          warmIpTarget: 2\n      coreDns:\n        enabled: true\n        version: \"v1.10.1-eksbuild.6\"\n        configuration:\n          computeType: \"EC2\"\n      kubeProxy:\n        enabled: true\n        version: \"v1.28.1-eksbuild.1\"\n        configuration:\n          mode: \"iptables\"\n          iptables:\n            masqueradeAll: false\n      ebsCsiDriver:\n        enabled: true\n        version: \"v1.26.1-eksbuild.1\"\n        configuration:\n          mountOptions: \"nfsvers=4.1\"\n```\n\n#### Add-on Features\n\n- **Configurable Versions** - Specify exact add-on versions\n- **Custom Configuration** - Pass configuration values to add-ons\n- **IAM Integration** - Automatic IAM role creation for add-ons that need it\n- **Service Account IRSA** - IAM roles for service accounts (VPC CNI, EBS CSI)\n- **Conflict Resolution** - Automatic conflict resolution for add-on updates\n\n### Multi-Cloud Provider Support\n\nThe unified composition allows you to create clusters across different cloud providers using the same API:\n\n| Provider | Service | Default Instance Type |\n|----------|---------|----------------------|\n| **AWS** | EKS | `t3.medium` |\n| **Azure** | AKS | `Standard_D2s_v3` |\n| **GCP** | GKE | `e2-standard-2` |\n\n#### Multi-Cloud Configuration Example\n\n```yaml\napiVersion: compute.example.com/v1alpha1\nkind: Cluster\nmetadata:\n  name: my-unified-cluster\nspec:\n  parameters:\n    provider: aws  # Change to azure or gcp\n    region: us-west-2\n    nodeCount: 3\n    networking:\n      vpcCidr: \"10.0.0.0/16\"\n      subnetCidrs: [\"10.0.1.0/24\", \"10.0.2.0/24\"]\n    tags:\n      Environment: production\n```\n\n#### Provider Selection\n\nSimply change the `provider` parameter to switch between cloud providers:\n\n- `aws` - Creates EKS cluster with VPC, subnets, and node groups\n- `azure` - Creates AKS cluster with resource group, VNet, and node pools  \n- `gcp` - Creates GKE cluster with VPC network and node pools\n\nAll other parameters remain the same, providing a consistent API across clouds.\n\n## Project Structure\n\n```text\n.\n├── .github/workflows/       # CI/CD pipelines\n│   └── crossplane-ci.yaml   # Build, test, and publish workflow\n├── crossplane-eks/          # EKS composition\n│   ├── definition.yaml      # XRD (CompositeResourceDefinition)\n│   ├── composition.yaml     # Composition with all resources\n│   ├── claim.yaml           # Example claim\n│   ├── functions.yaml       # Required Crossplane functions\n│   ├── crossplane.yaml      # Package configuration\n│   └── tests/               # Render tests\n└── README.md\n```\n\n## Testing\n\n### Local Testing\n\n```bash\n# Validate YAML schema\n./crossplane-eks/tests/validate-schema.sh\n\n# Run render tests\n./crossplane-eks/tests/validate-render.sh\n```\n\n### CI/CD Pipeline\n\nThe GitHub Actions workflow automatically:\n\n1. Validates YAML syntax and schema\n2. Runs `crossplane beta render` tests\n3. Builds the Crossplane package (`.xpkg`)\n4. Pushes to GitHub Container Registry (on main branch)\n5. Runs integration tests on Kind cluster (on PRs)\n\n## Contributing\n\nContributions are welcome! Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.\n\n## Troubleshooting\n\nHaving issues? Check our [Troubleshooting Guide](./TROUBLESHOOTING.md) for common problems and solutions.\n\n### Pre-commit Hooks\n\nThis repository uses pre-commit hooks for code quality:\n\n```bash\n# Install pre-commit\npip install pre-commit\n\n# Set up hooks\npre-commit install\n\n# Run manually\npre-commit run --all-files\n```\n\n## Roadmap\n\n- [x] Add S3 bucket composition\n- [ ] Add Azure AKS composition\n- [ ] Add GCP GKE composition\n- [ ] Add multi-region support\n- [ ] Add Helm chart deployment composition\n\n## License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmady%2Fcrossplane","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmady%2Fcrossplane","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmady%2Fcrossplane/lists"}