{"id":17006075,"url":"https://github.com/duologic/crossplane-namespaced-libsonnet","last_synced_at":"2026-01-04T23:02:03.626Z","repository":{"id":69804183,"uuid":"589334934","full_name":"Duologic/crossplane-namespaced-libsonnet","owner":"Duologic","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-13T22:30:09.000Z","size":294,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T23:27:47.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jsonnet","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/Duologic.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}},"created_at":"2023-01-15T20:43:27.000Z","updated_at":"2025-03-13T22:30:12.000Z","dependencies_parsed_at":"2025-01-27T10:41:27.753Z","dependency_job_id":"19ff2b2c-5aa6-4eec-8031-07c6ea99e667","html_url":"https://github.com/Duologic/crossplane-namespaced-libsonnet","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"470a671d8cee14f3743d6b0cac965b0bda5e5d7e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fcrossplane-namespaced-libsonnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fcrossplane-namespaced-libsonnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fcrossplane-namespaced-libsonnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fcrossplane-namespaced-libsonnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Duologic","download_url":"https://codeload.github.com/Duologic/crossplane-namespaced-libsonnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244945591,"owners_count":20536296,"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-14T05:04:57.210Z","updated_at":"2026-01-04T23:02:03.560Z","avatar_url":"https://github.com/Duologic.png","language":"Jsonnet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crossplane-namespaced-libsonnet\n\nA POC that turns a Crossplane CRD resource into a Composition/CompositeResourceDefinition\npair. This directly maps a non-namespaced provider resource to a namespaced XRD.\n\nRationale: Often I find myself adding a bunch of parameters from a provider resource to\nthe XRD, eventually all parameters end up being synced almost entirely to make sure that\nthe namespaced object can modify them. With this library, I can avoid a lot of boilerplate\ncode and provide a consistent base Composition/XRD to build upon at different abstraction\nlayers.\n\n## Usage\n\n```jsonnet\nlocal namespaced = import 'github.com/Duologic/crossplane-namespaced-libsonnet/main.libsonnet';\n\nnamespaced.fromCRD(import 'crd.json')\n```\n\nThis returns a `Composition` and `CompositeResourceDefinition` for this CRD:\n\n```json\n{\n   \"composition\": {\n      \"apiVersion\": \"apiextensions.crossplane.io/v1\",\n      \"kind\": \"Composition\",\n      ...\n   },\n   \"definition\": {\n      \"apiVersion\": \"apiextensions.crossplane.io/v1\",\n      \"kind\": \"CompositeResourceDefinition\",\n      ...\n   }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduologic%2Fcrossplane-namespaced-libsonnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduologic%2Fcrossplane-namespaced-libsonnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduologic%2Fcrossplane-namespaced-libsonnet/lists"}