{"id":19785725,"url":"https://github.com/cartyc/cloud-dns","last_synced_at":"2026-03-19T11:42:28.475Z","repository":{"id":186333798,"uuid":"618105907","full_name":"cartyc/cloud-dns","owner":"cartyc","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-28T13:40:54.000Z","size":26,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-28T22:07:12.824Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/cartyc.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}},"created_at":"2023-03-23T19:06:45.000Z","updated_at":"2023-03-23T19:06:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"d01d929e-24ae-4b43-a0c4-3356a4ee17b2","html_url":"https://github.com/cartyc/cloud-dns","commit_stats":null,"previous_names":["cartyc/cloud-dns"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cartyc/cloud-dns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartyc%2Fcloud-dns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartyc%2Fcloud-dns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartyc%2Fcloud-dns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartyc%2Fcloud-dns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cartyc","download_url":"https://codeload.github.com/cartyc/cloud-dns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartyc%2Fcloud-dns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28854437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-12T06:15:34.864Z","updated_at":"2026-01-28T23:02:09.317Z","avatar_url":"https://github.com/cartyc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# KCC Cloud DNS Example\n\n## Description\n\nThis repository is an example of how to implement a kubernetes [Config Connector](https://cloud.google.com/config-connector/docs/overview) based version of the [CDS DNS repository](https://github.com/cds-snc/dns) for managing DNS.\n\nThe goal of this is to demonstrate the ability to make a PR against this repository and have [KCC](https://cloud.google.com/config-connector/docs/overview) provision the DNS in a GCP org. Added goals are to validate the configuration of the DNS objects on a PR to ensure that they are compliant. \n\nhe Config Connector resources are managed in a [Config Controller](https://cloud.google.com/anthos-config-management/docs/concepts/config-controller-overview) instance and deployed into a namespace and using Workload Identity the SA can only provision DNS records in a target Project.\n\n### Policy\n\nPolicy is implemented using the [kpt](https://kpt.dev/) [Gatekeeper function](https://catalog.kpt.dev/gatekeeper/v0.2/) to run [Gatekeeper](https://open-policy-agent.github.io/gatekeeper/website/docs/) policies outside of the cluster and [Policy Controller](https://cloud.google.com/anthos-config-management/docs/concepts/policy-controller) in the Config Controller Instance.\n\n### Implementation\n\nIn order to use this example you will need to fork this repo and spin up a config controller instance and configure it to watch the forked repo.\n\nThe `root-sync` object should look similar to this example.\n\n```\napiVersion: configsync.gke.io/v1beta1\nkind: RootSync\nmetadata:\n  name: dns-root-sync\n  namespace: config-management-system\nspec:\n  sourceType: git\n  sourceFormat: unstructured\n  git:\n    repo: https://github.com/yourusername/cloud-dns\n    auth: None # Keep as none if public\n```\n\n## Usage\n\n### Fetch the package\n`kpt pkg get REPO_URI[.git]/PKG_PATH[@VERSION] cloud-dns`\nDetails: https://kpt.dev/reference/cli/pkg/get/\n\n### View package content\n`kpt pkg tree cloud-dns`\nDetails: https://kpt.dev/reference/cli/pkg/tree/\n\n### Apply the package\n```\nkpt live init cloud-dns\nkpt live apply cloud-dns --reconcile-timeout=2m --output=table\n```\nDetails: https://kpt.dev/reference/cli/live/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcartyc%2Fcloud-dns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcartyc%2Fcloud-dns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcartyc%2Fcloud-dns/lists"}