{"id":13598249,"url":"https://github.com/pingcap/tidb-operator","last_synced_at":"2026-04-02T14:01:21.782Z","repository":{"id":37359263,"uuid":"143867478","full_name":"pingcap/tidb-operator","owner":"pingcap","description":"TiDB operator creates and manages TiDB clusters running in Kubernetes.","archived":false,"fork":false,"pushed_at":"2026-03-26T07:12:18.000Z","size":101442,"stargazers_count":1324,"open_issues_count":370,"forks_count":530,"subscribers_count":92,"default_branch":"main","last_synced_at":"2026-03-27T00:36:46.909Z","etag":null,"topics":["cloud-native","golang","hacktoberfest","kubernetes","operator","tidb"],"latest_commit_sha":null,"homepage":"https://docs.pingcap.com/tidb-in-kubernetes/","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/pingcap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-08-07T12:04:33.000Z","updated_at":"2026-03-23T09:28:05.000Z","dependencies_parsed_at":"2023-10-20T09:18:37.205Z","dependency_job_id":"302d991a-5276-4e04-832e-c001ce91e7f3","html_url":"https://github.com/pingcap/tidb-operator","commit_stats":{"total_commits":2262,"total_committers":187,"mean_commits":"12.096256684491978","dds":0.9213085764809903,"last_synced_commit":"f47ab9c58a65678a36dc986a3608ee92c5cdf55a"},"previous_names":[],"tags_count":331,"template":false,"template_full_name":null,"purl":"pkg:github/pingcap/tidb-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Ftidb-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Ftidb-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Ftidb-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Ftidb-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pingcap","download_url":"https://codeload.github.com/pingcap/tidb-operator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Ftidb-operator/sbom","scorecard":{"id":646674,"data":{"date":"2025-08-11","repo":{"name":"github.com/pingcap/tidb-operator","commit":"485ade0d3234bab61d3616e644f9641c62ab7096"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.1,"checks":[{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Code-Review","score":9,"reason":"Found 28/30 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"22 commit(s) and 21 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/chaos.yaml:1","Warn: no topLevel permission defined: .github/workflows/ci.yaml:1","Warn: no topLevel permission defined: .github/workflows/stale.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.0.0-beta.4 not signed: https://api.github.com/repos/pingcap/tidb-operator/releases/238188259","Warn: release artifact v2.0.0-beta.3 not signed: https://api.github.com/repos/pingcap/tidb-operator/releases/236750372","Warn: release artifact v2.0.0-beta.2 not signed: https://api.github.com/repos/pingcap/tidb-operator/releases/235513186","Warn: release artifact v2.0.0-beta.4 does not have provenance: https://api.github.com/repos/pingcap/tidb-operator/releases/238188259","Warn: release artifact v2.0.0-beta.3 does not have provenance: https://api.github.com/repos/pingcap/tidb-operator/releases/236750372","Warn: release artifact v2.0.0-beta.2 does not have provenance: https://api.github.com/repos/pingcap/tidb-operator/releases/235513186"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/chaos.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/pingcap/tidb-operator/chaos.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/chaos.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/pingcap/tidb-operator/chaos.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/chaos.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/pingcap/tidb-operator/chaos.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/chaos.yaml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/pingcap/tidb-operator/chaos.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/chaos.yaml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/pingcap/tidb-operator/chaos.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/pingcap/tidb-operator/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/pingcap/tidb-operator/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/pingcap/tidb-operator/ci.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/pingcap/tidb-operator/ci.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/pingcap/tidb-operator/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yaml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/pingcap/tidb-operator/stale.yaml/master?enable=pin","Warn: containerImage not pinned by hash: cmd/http-service/Dockerfile:1: pin your Docker image by updating ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2 to ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2@sha256:bad61921146f7ab59c777add4b37121b1405557605f9d43baebecb7e48f79779","Warn: containerImage not pinned by hash: images/br-federation-manager/Dockerfile:1: pin your Docker image by updating ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2 to ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2@sha256:bad61921146f7ab59c777add4b37121b1405557605f9d43baebecb7e48f79779","Warn: containerImage not pinned by hash: images/br-federation-manager/Dockerfile.e2e:1: pin your Docker image by updating ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2 to ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2@sha256:bad61921146f7ab59c777add4b37121b1405557605f9d43baebecb7e48f79779","Warn: containerImage not pinned by hash: images/ebs-warmup/Dockerfile:1: pin your Docker image by updating pingcap/tikv:v6.5.7 to pingcap/tikv:v6.5.7@sha256:9d44d411368162264b0728978b5bc6474a27855984e69623dce7211d952bb584","Warn: containerImage not pinned by hash: images/ebs-warmup/Dockerfile.e2e:1: pin your Docker image by updating alpine:latest to alpine:latest@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Warn: containerImage not pinned by hash: images/tidb-backup-manager/Dockerfile:1: pin your Docker image by updating ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2 to ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2@sha256:bad61921146f7ab59c777add4b37121b1405557605f9d43baebecb7e48f79779","Warn: containerImage not pinned by hash: images/tidb-backup-manager/Dockerfile.e2e:1: pin your Docker image by updating ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2 to ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2@sha256:bad61921146f7ab59c777add4b37121b1405557605f9d43baebecb7e48f79779","Warn: containerImage not pinned by hash: images/tidb-operator/Dockerfile:1: pin your Docker image by updating ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2 to ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2@sha256:bad61921146f7ab59c777add4b37121b1405557605f9d43baebecb7e48f79779","Warn: containerImage not pinned by hash: images/tidb-operator/Dockerfile.e2e:1: pin your Docker image by updating ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2 to ghcr.io/pingcap-qe/bases/pingcap-base:v1.9.2@sha256:bad61921146f7ab59c777add4b37121b1405557605f9d43baebecb7e48f79779","Warn: containerImage not pinned by hash: images/tidb-operator/Dockerfile.new:1","Warn: containerImage not pinned by hash: images/tidb-operator/Dockerfile.new:11: pin your Docker image by updating alpine:latest to alpine:latest@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Warn: containerImage not pinned by hash: marketplace/gcp/tidb-operator/Dockerfile:1","Warn: containerImage not pinned by hash: misc/images/tidb-control/Dockerfile:1: pin your Docker image by updating bash:5.2.37 to bash:5.2.37@sha256:0bae72cd8a13963631d0dd89c2df48042275a951f41133a0c238ef9cf41434eb","Warn: containerImage not pinned by hash: tests/images/e2e/Dockerfile:1: pin your Docker image by updating debian:bookworm-slim to debian:bookworm-slim@sha256:b1a741487078b369e78119849663d7f1a5341ef2768798f7b7406c4240f86aef","Warn: containerImage not pinned by hash: tests/images/kubekins-e2e/Dockerfile:1: pin your Docker image by updating debian:bookworm-slim to debian:bookworm-slim@sha256:b1a741487078b369e78119849663d7f1a5341ef2768798f7b7406c4240f86aef","Warn: containerImage not pinned by hash: tests/images/stability-test/Dockerfile:1: pin your Docker image by updating alpine:3.10 to alpine:3.10@sha256:451eee8bedcb2f029756dc3e9d73bab0e7943c1ac55cff3a4861c52a0fdd3e98","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of  16 containerImage dependencies pinned","Info:   5 out of   5 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9","Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646","Warn: Project is vulnerable to: GO-2025-3553 / GHSA-mh63-6h87-95cp","Warn: Project is vulnerable to: GO-2025-3605 / GHSA-7vpp-9cxj-q8gv","Warn: Project is vulnerable to: GO-2024-2698 / GHSA-rhh4-rh7c-7r5v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T12:19:26.263Z","repository_id":37359263,"created_at":"2025-08-21T12:19:26.263Z","updated_at":"2025-08-21T12:19:26.263Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31307459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["cloud-native","golang","hacktoberfest","kubernetes","operator","tidb"],"created_at":"2024-08-01T17:00:50.831Z","updated_at":"2026-04-02T14:01:21.713Z","avatar_url":"https://github.com/pingcap.png","language":"Go","readme":"# TiDB Operator\n\n**NOTE: The `main` branch is now the default branch and hosts the **v2** version of TiDB Operator. The `release-1.x` branch hosts the **v1** version.**\n\n- [**Stack Overflow**](https://stackoverflow.com/questions/tagged/tidb)\n- [**Community Slack Channel**](https://slack.tidb.io/invite?team=tidb-community\u0026channel=sig-k8s\u0026ref=pingcap-tidb-operator)\n- [**Reddit**](https://www.reddit.com/r/TiDB/)\n- **Mailing list**: [Google Group](https://groups.google.com/forum/#!forum/tidb-user)\n- [**For support, please contact PingCAP**](http://bit.ly/contact_us_via_github)\n\n[![codecov](https://codecov.io/gh/pingcap/tidb-operator/branch/master/graph/badge.svg)](https://codecov.io/gh/pingcap/tidb-operator)\n[![LICENSE](https://img.shields.io/github/license/pingcap/tidb-operator.svg)](https://github.com/pingcap/tidb-operator/blob/master/LICENSE)\n[![Language](https://img.shields.io/badge/Language-Go-blue.svg)](https://golang.org/)\n[![Go Report Card](https://goreportcard.com/badge/github.com/pingcap/tidb-operator)](https://goreportcard.com/report/github.com/pingcap/tidb-operator)\n[![GitHub release](https://img.shields.io/github/tag/pingcap/tidb-operator.svg?label=release)](https://github.com/pingcap/tidb-operator/releases)\n[![GoDoc](https://img.shields.io/badge/Godoc-reference-blue.svg)](https://godoc.org/github.com/pingcap/tidb-operator)\n\nTiDB Operator manages [TiDB](https://github.com/pingcap/tidb) clusters on [Kubernetes](https://kubernetes.io) and automates tasks related to operating a TiDB cluster. It makes TiDB a truly cloud-native database.\n\n## Why a new TiDB Operator\n\nSee [Why we need a new TiDB Operator](./docs/why.md)\n\n## Arch\n\nSee [arch.md](./docs/arch/README.md)\n\n## Roadmap\n\nSee [rfcs](./docs/rfcs)\n\n## Documentation\n\nYou can see our documentation at PingCAP website for more in-depth installation and instructions for production:\n\n- [English](https://docs.pingcap.com/tidb-in-kubernetes/v2.0)\n- [简体中文](https://docs.pingcap.com/zh/tidb-in-kubernetes/v2.0)\n\nAll the TiDB Operator documentation is maintained in the [docs-tidb-operator repository](https://github.com/pingcap/docs-tidb-operator).\n\n## Contributing\n\nContributions are welcome and greatly appreciated. See [CONTRIBUTING.md](./docs/CONTRIBUTING.md) for details on submitting patches and the contribution workflow.\n\n## License\n\nTiDB Operator is under the Apache 2.0 license. See the [LICENSE](./LICENSE) file for details.\n","funding_links":[],"categories":["Go","Repository is obsolete","Kubernetes Operators"],"sub_categories":["Awesome Operators in the Wild"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingcap%2Ftidb-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpingcap%2Ftidb-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingcap%2Ftidb-operator/lists"}