{"id":31646178,"url":"https://github.com/codefresh-io/k8s-dind-config","last_synced_at":"2025-10-07T05:20:56.772Z","repository":{"id":28770445,"uuid":"104189217","full_name":"codefresh-io/k8s-dind-config","owner":"codefresh-io","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-14T18:04:06.000Z","size":44,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-25T14:59:42.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/codefresh-io.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}},"created_at":"2017-09-20T08:39:47.000Z","updated_at":"2019-01-23T07:21:17.000Z","dependencies_parsed_at":"2022-07-27T16:48:59.683Z","dependency_job_id":null,"html_url":"https://github.com/codefresh-io/k8s-dind-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codefresh-io/k8s-dind-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fk8s-dind-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fk8s-dind-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fk8s-dind-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fk8s-dind-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codefresh-io","download_url":"https://codeload.github.com/codefresh-io/k8s-dind-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fk8s-dind-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278722757,"owners_count":26034463,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-10-07T05:20:43.194Z","updated_at":"2025-10-07T05:20:56.763Z","avatar_url":"https://github.com/codefresh-io.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deprecated!\nPlease use [Venona](https://github.com/codefresh-io/venona)\n\n\n\n### Configure K8s for Codefresh builds\n\nThe script configures your Kubernetes cluster namespace to run codefresh.io builds \nPlease ensure:\n  - Kubernetes version is 1.6 or newer, kubectl is installed and confired to your cluster\n  - For RBAC enabled clusters service-account of the namespace should have write permisions for \"services\",\"pods\",\"configmaps\",\"secrets\" - see rbac.yaml\n  - You have Codefresh API Access Token - see https://g.codefresh.io/api/\n  - The cluster is registred in Codefresh - see https://codefresh.io/docs/docs/deploy-to-kubernetes/adding-non-gke-kubernetes-cluster/\n  - You\n  \nSimplest way to create codefresh namespace with required permissions:\n```\nkubectl create namespace codefresh\nkubectl apply -f rbac.yaml\n```\n\nUsage:\n```sh\n  ./codefresh-k8s-configure.sh [ options ] cluster_name\n\n  options:\n  --api-token \u003ccodefresh api token\u003e - default $API_TOKEN\n  --namespace \u003ckubernetes namespace\u003e - default codefresh\n  --context \u003ckubectl context\u003e\n  --image-tag \u003ccodefresh/k8s-dind-config image tag - default latest\u003e\n```\n  \nIt will submit pod with codefresh-configure-$(date '+%Y-%m-%d-%H%M%S'):\n\n```yaml\n---\napiVersion: v1\nkind: Pod\nmetadata:\n  name: ${POD_NAME}\n  annotations:\n    forceRedeployUniqId: \"N/A\"\n  labels:\n    app: codefresh-config\nspec:\n  restartPolicy: Never\n  containers:\n  - image: codefresh/k8s-dind-config:${IMAGE_TAG:-latest}\n    name: k8s-dind-config\n    imagePullPolicy: Always\n    command:\n      - \"/app/k8s-dind-config\"\n    env:\n      - name: NAMESPACE\n        valueFrom:\n          fieldRef:\n            fieldPath: metadata.namespace\n      - name: API_HOST\n        value: \"${API_HOST}\"\n      - name: API_TOKEN\n        value: \"${API_TOKEN}\"\n      - name: REGISTRY_TOKEN\n        value: \"${REGISTRY_TOKEN}\"\n      - name: CLUSTER_NAME\n        value: \"${CLUSTER_NAME}\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefresh-io%2Fk8s-dind-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodefresh-io%2Fk8s-dind-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefresh-io%2Fk8s-dind-config/lists"}