payload: {"action":"created","comment":{"url":"https://api.github.com/repos/pingcap/tidb-operator/pulls/comments/316946373","pull_request_review_id":278761382,"id":316946373,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMxNjk0NjM3Mw==","diff_hunk":"@@ -0,0 +1,98 @@\n+apiVersion: batch/v1\n+kind: Job\n+metadata:\n+  name: {{ include \"tidb-lightning.name\" . }}\n+  labels:\n+    app.kubernetes.io/name: {{ include \"tidb-lightning.name\" . }}\n+    app.kubernetes.io/managed-by: {{ .Release.Service }}\n+    app.kubernetes.io/instance: {{ .Release.Name }}\n+    app.kubernetes.io/component: tidb-lightning\n+    helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace \"+\"  \"_\" }}\n+spec:\n+  template:\n+    metadata:\n+      labels:\n+        app.kubernetes.io/name: {{ include \"tidb-lightning.name\" . }}\n+        app.kubernetes.io/instance:  {{ .Release.Name }}\n+        app.kubernetes.io/component: tidb-lightning\n+      annotations:\n+        prometheus.io/scrape: \"true\"\n+        prometheus.io/path: \"/metrics\"\n+        prometheus.io/port: \"8289\"\n+    spec:\n+      {{ if .Values.dataSource.local.nodeName -}}\n+      nodeName: {{ .Values.dataSource.local.nodeName }}\n+      {{ else -}}\n+      initContainers:\n+      - name: data-retriever\n+        image: {{ .Values.dataSource.remote.rcloneImage }}\n+        command:\n+        - /bin/sh\n+        - -c\n+        - |\n+          set -euo pipefail\n+          filename=$(basename {{ .Values.dataSource.remote.path }})\n+          rclone --config /etc/rclone/rclone.conf copy -P {{ .Values.dataSource.remote.path }} /data\n+          cd /data && tar xzvf ${filename}\n+        volumeMounts:\n+        - name: credentials\n+          mountPath: /etc/rclone\n+        - name: data\n+          mountPath: /data\n+      {{ end -}}\n+      restartPolicy: Never      # if lightning fails, manual intervention is required so no restart\n+      containers:\n+      - name: tidb-lightning\n+        image: {{ .Values.image }}\n+        imagePullPolicy: {{ .Values.imagePullPolicy | default \"IfNotPresent\" }}\n+        command:\n+        - /bin/sh\n+        - -c\n+        - |\n+          data_dir=$(dirname $(find /var/lib/tidb-lightning -name metadata 2>/dev/null) 2>/dev/null)\n+          /tidb-lightning \\\n+          --pd-urls={{ .Values.targetTidbCluster.name }}-pd.{{ .Values.targetTidbCluster.namespace}}:2379 \\\n+          --status-addr=0.0.0.0:8289 \\\n+          --importer={{ .Values.targetTidbCluster.name }}-importer.{{ .Values.targetTidbCluster.namespace }}:20170 \\\n+          --server-mode=false \\\n+          --tidb-user=root \\\n+          --tidb-host={{ .Values.targetTidbCluster.name }}-tidb.{{ .Values.targetTidbCluster.namespace }} \\\n+          {{ if and .Values.dataSource.local.hostPath .Values.dataSource.local.nodeName -}}\n+          --d={{ .Values.dataSource.local.hostPath }} \\\n+          {{ else -}}\n+          --d=${data_dir} \\\n+          {{ end -}}\n+          --config=/etc/tidb-lightning/tidb-lightning.toml\n+          if [ $? != 0 ]; then","path":"charts/tidb-lightning/templates/job.yaml","position":66,"original_position":66,"commit_id":"6e3a3bb88b317b8023ab429671aec20b9f76201d","original_commit_id":"6e3a3bb88b317b8023ab429671aec20b9f76201d","user":{"login":"tennix","id":7932127,"node_id":"MDQ6VXNlcjc5MzIxMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7932127?v=4","gravatar_id":"","url":"https://api.github.com/users/tennix","html_url":"https://github.com/tennix","followers_url":"https://api.github.com/users/tennix/followers","following_url":"https://api.github.com/users/tennix/following{/other_user}","gists_url":"https://api.github.com/users/tennix/gists{/gist_id}","starred_url":"https://api.github.com/users/tennix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tennix/subscriptions","organizations_url":"https://api.github.com/users/tennix/orgs","repos_url":"https://api.github.com/users/tennix/repos","events_url":"https://api.github.com/users/tennix/events{/privacy}","received_events_url":"https://api.github.com/users/tennix/received_events","type":"User","site_admin":false},"body":"Currently, there is an error even if the restore succeeds.\r\n```\r\n[2019/08/22 17:58:51.675 +00:00] [INFO] [restore.go:921] [\"skip full compaction\"]                                                                             \r\n[2019/08/22 17:58:51.675 +00:00] [INFO] [restore.go:435] [\"everything imported, stopping periodic actions\"]                                                   \r\n[2019/08/22 17:58:51.754 +00:00] [INFO] [restore.go:1073] [\"skip clean checkpoints\"]                                                                          \r\n[2019/08/22 17:58:51.754 +00:00] [INFO] [restore.go:259] [\"the whole procedure completed\"] [takeTime=18m48.515158344s] []                                     \r\n[2019/08/22 17:58:51.754 +00:00] [INFO] [main.go:61] [\"tidb lightning exit\"]\r\nsync log failed sync /dev/stdout: invalid argument\r\n[2019/08/22 17:58:51. tidb-lightning exits abnormally, please exec into my container to do manual intervention\r\n```\r\nSo the restore job will not be completed, users have to check the log to verify the status of the restore job.","created_at":"2019-08-23T01:36:17Z","updated_at":"2019-08-23T01:36:17Z","html_url":"https://github.com/pingcap/tidb-operator/pull/817#discussion_r316946373","pull_request_url":"https://api.github.com/repos/pingcap/tidb-operator/pulls/817","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/pingcap/tidb-operator/pulls/comments/316946373"},"html":{"href":"https://github.com/pingcap/tidb-operator/pull/817#discussion_r316946373"},"pull_request":{"href":"https://api.github.com/repos/pingcap/tidb-operator/pulls/817"}}},"pull_request":{"url":"https://api.github.com/repos/pingcap/tidb-operator/pulls/817","id":310196779,"node_id":"MDExOlB1bGxSZXF1ZXN0MzEwMTk2Nzc5","html_url":"https://github.com/pingcap/tidb-operator/pull/817","diff_url":"https://github.com/pingcap/tidb-operator/pull/817.diff","patch_url":"https://github.com/pingcap/tidb-operator/pull/817.patch","issue_url":"https://api.github.com/repos/pingcap/tidb-operator/issues/817","number":817,"state":"open","locked":false,"title":"charts: Add tidb-lightning support","user":{"login":"tennix","id":7932127,"node_id":"MDQ6VXNlcjc5MzIxMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7932127?v=4","gravatar_id":"","url":"https://api.github.com/users/tennix","html_url":"https://github.com/tennix","followers_url":"https://api.github.com/users/tennix/followers","following_url":"https://api.github.com/users/tennix/following{/other_user}","gists_url":"https://api.github.com/users/tennix/gists{/gist_id}","starred_url":"https://api.github.com/users/tennix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tennix/subscriptions","organizations_url":"https://api.github.com/users/tennix/orgs","repos_url":"https://api.github.com/users/tennix/repos","events_url":"https://api.github.com/users/tennix/events{/privacy}","received_events_url":"https://api.github.com/users/tennix/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for contributing to TiDB Operator! Please read TiDB Operator's [CONTRIBUTING](https://github.com/pingcap/tidb-operator/blob/master/CONTRIBUTING.md) document **BEFORE** filing this PR.\r\n-->\r\n\r\n### What problem does this PR solve? <!--add and issue link with summary if exists-->\r\n\r\nIntegrate tidb-lightning on k8s.\r\n\r\n### What is changed and how does it work?\r\n\r\nAdd tidb-lightning chart. The tikv-importer is inside the tidb-cluster chart and tidb-lightning is in a separate chart.\r\n\r\n### Check List <!--REMOVE the items that are not applicable-->\r\n\r\nTests <!-- At least one of them must be included. -->\r\n\r\nManual test (add detailed scripts or steps below)\r\nBoth the local and remote (S3) data sources are tested.\r\n\r\nCode changes\r\n\r\n - Has Helm charts change\r\n\r\nSide effects\r\n\r\n No\r\n\r\nRelated changes\r\n\r\n - Need to update the documentation\r\n\r\n### Does this PR introduce a user-facing change?:\r\n <!--\r\n If no, just write \"NONE\" in the release-note block below.\r\n If yes, a release note is required:\r\n Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string \"action required\".\r\n -->\r\n ```release-note\r\nAdd tidb-lightning support\r\n ```\r\n","created_at":"2019-08-23T01:15:57Z","updated_at":"2019-08-23T01:36:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"472d3377f20e76cb737960b7dc294c1e2b39bce9","assignee":null,"assignees":[],"requested_reviewers":[{"login":"weekface","id":9758,"node_id":"MDQ6VXNlcjk3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/9758?v=4","gravatar_id":"","url":"https://api.github.com/users/weekface","html_url":"https://github.com/weekface","followers_url":"https://api.github.com/users/weekface/followers","following_url":"https://api.github.com/users/weekface/following{/other_user}","gists_url":"https://api.github.com/users/weekface/gists{/gist_id}","starred_url":"https://api.github.com/users/weekface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weekface/subscriptions","organizations_url":"https://api.github.com/users/weekface/orgs","repos_url":"https://api.github.com/users/weekface/repos","events_url":"https://api.github.com/users/weekface/events{/privacy}","received_events_url":"https://api.github.com/users/weekface/received_events","type":"User","site_admin":false},{"login":"kennytm","id":103023,"node_id":"MDQ6VXNlcjEwMzAyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/103023?v=4","gravatar_id":"","url":"https://api.github.com/users/kennytm","html_url":"https://github.com/kennytm","followers_url":"https://api.github.com/users/kennytm/followers","following_url":"https://api.github.com/users/kennytm/following{/other_user}","gists_url":"https://api.github.com/users/kennytm/gists{/gist_id}","starred_url":"https://api.github.com/users/kennytm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennytm/subscriptions","organizations_url":"https://api.github.com/users/kennytm/orgs","repos_url":"https://api.github.com/users/kennytm/repos","events_url":"https://api.github.com/users/kennytm/events{/privacy}","received_events_url":"https://api.github.com/users/kennytm/received_events","type":"User","site_admin":false},{"login":"zyguan","id":6850317,"node_id":"MDQ6VXNlcjY4NTAzMTc=","avatar_url":"https://avatars3.githubusercontent.com/u/6850317?v=4","gravatar_id":"","url":"https://api.github.com/users/zyguan","html_url":"https://github.com/zyguan","followers_url":"https://api.github.com/users/zyguan/followers","following_url":"https://api.github.com/users/zyguan/following{/other_user}","gists_url":"https://api.github.com/users/zyguan/gists{/gist_id}","starred_url":"https://api.github.com/users/zyguan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyguan/subscriptions","organizations_url":"https://api.github.com/users/zyguan/orgs","repos_url":"https://api.github.com/users/zyguan/repos","events_url":"https://api.github.com/users/zyguan/events{/privacy}","received_events_url":"https://api.github.com/users/zyguan/received_events","type":"User","site_admin":false},{"login":"onlymellb","id":8480893,"node_id":"MDQ6VXNlcjg0ODA4OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/8480893?v=4","gravatar_id":"","url":"https://api.github.com/users/onlymellb","html_url":"https://github.com/onlymellb","followers_url":"https://api.github.com/users/onlymellb/followers","following_url":"https://api.github.com/users/onlymellb/following{/other_user}","gists_url":"https://api.github.com/users/onlymellb/gists{/gist_id}","starred_url":"https://api.github.com/users/onlymellb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onlymellb/subscriptions","organizations_url":"https://api.github.com/users/onlymellb/orgs","repos_url":"https://api.github.com/users/onlymellb/repos","events_url":"https://api.github.com/users/onlymellb/events{/privacy}","received_events_url":"https://api.github.com/users/onlymellb/received_events","type":"User","site_admin":false},{"login":"aylei","id":18556593,"node_id":"MDQ6VXNlcjE4NTU2NTkz","avatar_url":"https://avatars1.githubusercontent.com/u/18556593?v=4","gravatar_id":"","url":"https://api.github.com/users/aylei","html_url":"https://github.com/aylei","followers_url":"https://api.github.com/users/aylei/followers","following_url":"https://api.github.com/users/aylei/following{/other_user}","gists_url":"https://api.github.com/users/aylei/gists{/gist_id}","starred_url":"https://api.github.com/users/aylei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aylei/subscriptions","organizations_url":"https://api.github.com/users/aylei/orgs","repos_url":"https://api.github.com/users/aylei/repos","events_url":"https://api.github.com/users/aylei/events{/privacy}","received_events_url":"https://api.github.com/users/aylei/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pingcap/tidb-operator/pulls/817/commits","review_comments_url":"https://api.github.com/repos/pingcap/tidb-operator/pulls/817/comments","review_comment_url":"https://api.github.com/repos/pingcap/tidb-operator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pingcap/tidb-operator/issues/817/comments","statuses_url":"https://api.github.com/repos/pingcap/tidb-operator/statuses/6e3a3bb88b317b8023ab429671aec20b9f76201d","head":{"label":"tennix:tidb-lightning","ref":"tidb-lightning","sha":"6e3a3bb88b317b8023ab429671aec20b9f76201d","user":{"login":"tennix","id":7932127,"node_id":"MDQ6VXNlcjc5MzIxMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7932127?v=4","gravatar_id":"","url":"https://api.github.com/users/tennix","html_url":"https://github.com/tennix","followers_url":"https://api.github.com/users/tennix/followers","following_url":"https://api.github.com/users/tennix/following{/other_user}","gists_url":"https://api.github.com/users/tennix/gists{/gist_id}","starred_url":"https://api.github.com/users/tennix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tennix/subscriptions","organizations_url":"https://api.github.com/users/tennix/orgs","repos_url":"https://api.github.com/users/tennix/repos","events_url":"https://api.github.com/users/tennix/events{/privacy}","received_events_url":"https://api.github.com/users/tennix/received_events","type":"User","site_admin":false},"repo":{"id":144854477,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ4NTQ0Nzc=","name":"tidb-operator","full_name":"tennix/tidb-operator","private":false,"owner":{"login":"tennix","id":7932127,"node_id":"MDQ6VXNlcjc5MzIxMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7932127?v=4","gravatar_id":"","url":"https://api.github.com/users/tennix","html_url":"https://github.com/tennix","followers_url":"https://api.github.com/users/tennix/followers","following_url":"https://api.github.com/users/tennix/following{/other_user}","gists_url":"https://api.github.com/users/tennix/gists{/gist_id}","starred_url":"https://api.github.com/users/tennix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tennix/subscriptions","organizations_url":"https://api.github.com/users/tennix/orgs","repos_url":"https://api.github.com/users/tennix/repos","events_url":"https://api.github.com/users/tennix/events{/privacy}","received_events_url":"https://api.github.com/users/tennix/received_events","type":"User","site_admin":false},"html_url":"https://github.com/tennix/tidb-operator","description":"TiDB operator creates and manages TiDB clusters running in Kubernetes","fork":true,"url":"https://api.github.com/repos/tennix/tidb-operator","forks_url":"https://api.github.com/repos/tennix/tidb-operator/forks","keys_url":"https://api.github.com/repos/tennix/tidb-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tennix/tidb-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tennix/tidb-operator/teams","hooks_url":"https://api.github.com/repos/tennix/tidb-operator/hooks","issue_events_url":"https://api.github.com/repos/tennix/tidb-operator/issues/events{/number}","events_url":"https://api.github.com/repos/tennix/tidb-operator/events","assignees_url":"https://api.github.com/repos/tennix/tidb-operator/assignees{/user}","branches_url":"https://api.github.com/repos/tennix/tidb-operator/branches{/branch}","tags_url":"https://api.github.com/repos/tennix/tidb-operator/tags","blobs_url":"https://api.github.com/repos/tennix/tidb-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tennix/tidb-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tennix/tidb-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/tennix/tidb-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tennix/tidb-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/tennix/tidb-operator/languages","stargazers_url":"https://api.github.com/repos/tennix/tidb-operator/stargazers","contributors_url":"https://api.github.com/repos/tennix/tidb-operator/contributors","subscribers_url":"https://api.github.com/repos/tennix/tidb-operator/subscribers","subscription_url":"https://api.github.com/repos/tennix/tidb-operator/subscription","commits_url":"https://api.github.com/repos/tennix/tidb-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/tennix/tidb-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/tennix/tidb-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/tennix/tidb-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/tennix/tidb-operator/contents/{+path}","compare_url":"https://api.github.com/repos/tennix/tidb-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tennix/tidb-operator/merges","archive_url":"https://api.github.com/repos/tennix/tidb-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tennix/tidb-operator/downloads","issues_url":"https://api.github.com/repos/tennix/tidb-operator/issues{/number}","pulls_url":"https://api.github.com/repos/tennix/tidb-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/tennix/tidb-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/tennix/tidb-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tennix/tidb-operator/labels{/name}","releases_url":"https://api.github.com/repos/tennix/tidb-operator/releases{/id}","deployments_url":"https://api.github.com/repos/tennix/tidb-operator/deployments","created_at":"2018-08-15T13:09:27Z","updated_at":"2019-08-22T00:13:51Z","pushed_at":"2019-08-23T01:14:45Z","git_url":"git://github.com/tennix/tidb-operator.git","ssh_url":"git@github.com:tennix/tidb-operator.git","clone_url":"https://github.com/tennix/tidb-operator.git","svn_url":"https://github.com/tennix/tidb-operator","homepage":"","size":50424,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pingcap:master","ref":"master","sha":"77f040c18202a6ba25b3819dfa53f8ba4d78e5c1","user":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"repo":{"id":143867478,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM4Njc0Nzg=","name":"tidb-operator","full_name":"pingcap/tidb-operator","private":false,"owner":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pingcap/tidb-operator","description":"TiDB operator creates and manages TiDB clusters running in Kubernetes","fork":false,"url":"https://api.github.com/repos/pingcap/tidb-operator","forks_url":"https://api.github.com/repos/pingcap/tidb-operator/forks","keys_url":"https://api.github.com/repos/pingcap/tidb-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pingcap/tidb-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pingcap/tidb-operator/teams","hooks_url":"https://api.github.com/repos/pingcap/tidb-operator/hooks","issue_events_url":"https://api.github.com/repos/pingcap/tidb-operator/issues/events{/number}","events_url":"https://api.github.com/repos/pingcap/tidb-operator/events","assignees_url":"https://api.github.com/repos/pingcap/tidb-operator/assignees{/user}","branches_url":"https://api.github.com/repos/pingcap/tidb-operator/branches{/branch}","tags_url":"https://api.github.com/repos/pingcap/tidb-operator/tags","blobs_url":"https://api.github.com/repos/pingcap/tidb-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pingcap/tidb-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pingcap/tidb-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/pingcap/tidb-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pingcap/tidb-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/pingcap/tidb-operator/languages","stargazers_url":"https://api.github.com/repos/pingcap/tidb-operator/stargazers","contributors_url":"https://api.github.com/repos/pingcap/tidb-operator/contributors","subscribers_url":"https://api.github.com/repos/pingcap/tidb-operator/subscribers","subscription_url":"https://api.github.com/repos/pingcap/tidb-operator/subscription","commits_url":"https://api.github.com/repos/pingcap/tidb-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/pingcap/tidb-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/pingcap/tidb-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/pingcap/tidb-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/pingcap/tidb-operator/contents/{+path}","compare_url":"https://api.github.com/repos/pingcap/tidb-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pingcap/tidb-operator/merges","archive_url":"https://api.github.com/repos/pingcap/tidb-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pingcap/tidb-operator/downloads","issues_url":"https://api.github.com/repos/pingcap/tidb-operator/issues{/number}","pulls_url":"https://api.github.com/repos/pingcap/tidb-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/pingcap/tidb-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/pingcap/tidb-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pingcap/tidb-operator/labels{/name}","releases_url":"https://api.github.com/repos/pingcap/tidb-operator/releases{/id}","deployments_url":"https://api.github.com/repos/pingcap/tidb-operator/deployments","created_at":"2018-08-07T12:04:33Z","updated_at":"2019-08-22T08:36:30Z","pushed_at":"2019-08-23T01:26:44Z","git_url":"git://github.com/pingcap/tidb-operator.git","ssh_url":"git@github.com:pingcap/tidb-operator.git","clone_url":"https://github.com/pingcap/tidb-operator.git","svn_url":"https://github.com/pingcap/tidb-operator","homepage":"","size":50441,"stargazers_count":428,"watchers_count":428,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":118,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":88,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":118,"open_issues":88,"watchers":428,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pingcap/tidb-operator/pulls/817"},"html":{"href":"https://github.com/pingcap/tidb-operator/pull/817"},"issue":{"href":"https://api.github.com/repos/pingcap/tidb-operator/issues/817"},"comments":{"href":"https://api.github.com/repos/pingcap/tidb-operator/issues/817/comments"},"review_comments":{"href":"https://api.github.com/repos/pingcap/tidb-operator/pulls/817/comments"},"review_comment":{"href":"https://api.github.com/repos/pingcap/tidb-operator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pingcap/tidb-operator/pulls/817/commits"},"statuses":{"href":"https://api.github.com/repos/pingcap/tidb-operator/statuses/6e3a3bb88b317b8023ab429671aec20b9f76201d"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"tennix"}}