{"id":19785690,"url":"https://github.com/cartyc/kcc-private-cluster","last_synced_at":"2026-02-25T08:34:09.807Z","repository":{"id":74693165,"uuid":"391070836","full_name":"cartyc/kcc-private-cluster","owner":"cartyc","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-27T12:53:19.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T13:30:43.219Z","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-30T13:16:21.000Z","updated_at":"2021-08-27T12:53:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"5bb4deab-ebf3-4b2a-aa30-fa43ed89b757","html_url":"https://github.com/cartyc/kcc-private-cluster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cartyc/kcc-private-cluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartyc%2Fkcc-private-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartyc%2Fkcc-private-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartyc%2Fkcc-private-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartyc%2Fkcc-private-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cartyc","download_url":"https://codeload.github.com/cartyc/kcc-private-cluster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartyc%2Fkcc-private-cluster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29815022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"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":[],"created_at":"2024-11-12T06:15:27.893Z","updated_at":"2026-02-25T08:34:09.802Z","avatar_url":"https://github.com/cartyc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# KCC SetUp\n\n## Requirements\n- [kpt](https://kpt.dev/installation/)\n- [Docker](https://docs.docker.com/desktop/)\n- [gcloud](https://cloud.google.com/sdk/docs/install)\n\n0. Set some helpful vars.\n\n```\nCONFIG_CONTROLLER_NAME=kcc-control\n```\n\n1. SetUp Config Controller. Full setup can be found [here](https://cloud.google.com/anthos-config-management/docs/how-to/config-controller-setup)\n\n```\ngcloud services enable krmapihosting.googleapis.com \\\n    container.googleapis.com \\\n    cloudresourcemanager.googleapis.com\n    \ngcloud alpha anthos config controller create $CONFIG_CONTROLLER_NAME \\\n    --location=us-central1    \n```\n\n2. Switch to the config controller context\n\n```\ngcloud alpha anthos config controller get-credentials $CONFIG_CONTROLLER_NAME \\\n    --location us-central1\n```\n3. Give Config Controller Access to create resources.\n```\nexport PROJECT_ID=$(gcloud config get-value project)\nexport SA_EMAIL=\"$(kubectl get ConfigConnectorContext -n config-control \\\n    -o jsonpath='{.items[0].spec.googleServiceAccount}' 2\u003e /dev/null)\"\ngcloud projects add-iam-policy-binding \"${PROJECT_ID}\" \\\n    --member \"serviceAccount:${SA_EMAIL}\" \\\n    --role \"roles/owner\" \\\n    --project \"${PROJECT_ID}\"\n```    \n\n4. Pull the `kpt` package\n\n```\nkpt pkg get https://github.com/cartyc/kcc-private-cluster.git\n```\n\n5. Edit the `setters.yaml` file to set the required variables. Following that to apply the variables to the files run the below `kpt` function.\n\n```\ncd kcc-private-cluster\nkpt fn render .\n```\n\nFinally apply the configs\n\n```\nkubectl apply -f infra/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcartyc%2Fkcc-private-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcartyc%2Fkcc-private-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcartyc%2Fkcc-private-cluster/lists"}