{"id":16926643,"url":"https://github.com/hasheddan/crisscross","last_synced_at":"2025-04-11T17:41:52.371Z","repository":{"id":57555238,"uuid":"310862330","full_name":"hasheddan/crisscross","owner":"hasheddan","description":"@crossplane Providers as a Function (PaaF)","archived":false,"fork":false,"pushed_at":"2020-11-08T21:11:43.000Z","size":72,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T13:45:28.214Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hasheddan.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}},"created_at":"2020-11-07T14:28:35.000Z","updated_at":"2022-07-17T20:21:37.000Z","dependencies_parsed_at":"2022-09-26T18:51:39.246Z","dependency_job_id":null,"html_url":"https://github.com/hasheddan/crisscross","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasheddan%2Fcrisscross","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasheddan%2Fcrisscross/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasheddan%2Fcrisscross/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasheddan%2Fcrisscross/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasheddan","download_url":"https://codeload.github.com/hasheddan/crisscross/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248451522,"owners_count":21105886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-10-13T20:30:45.016Z","updated_at":"2025-04-11T17:41:52.345Z","avatar_url":"https://github.com/hasheddan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crisscross\n\nCrisscross is a special [Crossplane](https://crossplane.io/) provider that\nallows you to write \"Providers as a Function\" (PaaF).\n\n## How It Works\n\nTraditional Crossplane providers utilize\n[crossplane-runtime](https://github.com/crossplane/crossplane-runtime) to defer\nmuch of the logic for interacting with Kubernetes objects to the generic managed\nresource reconciler it implements. You can find more documentation on this model\n[here](https://crossplane.io/docs/v0.14/contributing/provider_development_guide.html),\nor check out one of the many providers in the Crossplane community. This is a\npowerful model that has allowed many community members to create new providers\nin a few hours. However, though much of the code is boilerplate from a template\nsuch as [provider-template](https://github.com/crossplane/provider-template),\nthere is still quite a lot of machinery required to add support for a simple\nAPI. This can be especially challenging if you are not familiar with Kubernetes\ncontrollers.\n\nCrisscross shifts more of the burden that currently resides on provider authors\nto a single system. Instead of provider authors implementing many managed\nreconcilers for their different API types, they deploy a single service and a\ncorresponding `Registration` object in their cluster for each API type. When the\n`Registration` is created, Crisscross spins up a new controller watching for the\nreferenced API type that will call out to the service at the supplied endpoint.\n\nFor example, a `Registration` for a `Bucket` on GCP could look as follows:\n\n```yaml\napiVersion: crisscross.crossplane.io/v1alpha1\nkind: Registration\nmetadata:\n  name: bucket-paaf\nspec:\n  typeRef:\n    apiVersion: storage.gcp.crossplane.io/v1alpha3\n    kind: Bucket\n  endpoint: http://172.18.0.2:32062\n```\n\nThe `spec.endpoint` field can point to any service, whether it is a traditional\n`Pod`, a [Knative](https://knative.dev/) `Service`, or a public API on the\ninternet. The only requirement for this service is that it serves the following\nmethods:\n\n- `/observe`\n- `/create`\n- `/update`\n- `/delete`\n\nCrisscross will send the managed resource to these endpoints, and will take\nappropriate action in the cluster based on the response. For an example of how\nsimple a \"PaaF\" can be, take a look at [nop-paaf](/examples/nop-paaf), which\njust reports that a resource exists and all other operations are no-ops.\n\n## License\n\nCrisscross is under the Apache 2.0 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasheddan%2Fcrisscross","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasheddan%2Fcrisscross","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasheddan%2Fcrisscross/lists"}