Skip to content

Commit

Permalink
Bump TiDB version to v4.0.10 (#3757) (#3758)
Browse files Browse the repository at this point in the history
* cherry pick #3757 to release-1.1

Signed-off-by: ti-srebot <[email protected]>

* Update hack/bump-version.sh

Co-authored-by: BinChen <[email protected]>
Co-authored-by: DanielZhangQD <[email protected]>
  • Loading branch information
3 people authored Jan 27, 2021
1 parent b65b4a1 commit 1b64ac6
Show file tree
Hide file tree
Showing 53 changed files with 68 additions and 68 deletions.
14 changes: 7 additions & 7 deletions charts/tidb-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pd:
# annotations: {} "<the default name will be used>"
# portName: "client"
replicas: 3
image: pingcap/pd:v4.0.9
image: pingcap/pd:v4.0.10
# storageClassName is a StorageClass provides a way for administrators to describe the "classes" of storage they offer.
# different classes might map to quality-of-service levels, or to backup policies,
# or to arbitrary policies determined by the cluster administrators.
Expand Down Expand Up @@ -255,7 +255,7 @@ tikv:
# we can only set capacity in tikv.resources.limits.storage.

replicas: 3
image: pingcap/tikv:v4.0.9
image: pingcap/tikv:v4.0.10
# storageClassName is a StorageClass provides a way for administrators to describe the "classes" of storage they offer.
# different classes might map to quality-of-service levels, or to backup policies,
# or to arbitrary policies determined by the cluster administrators.
Expand Down Expand Up @@ -352,7 +352,7 @@ tidb:
# initSqlConfigMapName: tidb-initsql
# initSql: |-
# create database app;
image: pingcap/tidb:v4.0.9
image: pingcap/tidb:v4.0.10
# Image pull policy.
imagePullPolicy: IfNotPresent

Expand Down Expand Up @@ -506,7 +506,7 @@ monitor:
storageClassName: local-storage
storage: 10Gi
initializer:
image: pingcap/tidb-monitor-initializer:v4.0.9
image: pingcap/tidb-monitor-initializer:v4.0.10
imagePullPolicy: IfNotPresent
config:
K8S_PROMETHEUS_URL: http://prometheus-k8s.monitoring.svc:9090
Expand Down Expand Up @@ -592,7 +592,7 @@ binlog:
pump:
create: false
replicas: 1
image: pingcap/tidb-binlog:v4.0.9
image: pingcap/tidb-binlog:v4.0.10
imagePullPolicy: IfNotPresent
logLevel: info
# storageClassName is a StorageClass provides a way for administrators to describe the "classes" of storage they offer.
Expand Down Expand Up @@ -661,7 +661,7 @@ binlog:

drainer:
create: false
image: pingcap/tidb-binlog:v4.0.9
image: pingcap/tidb-binlog:v4.0.10
imagePullPolicy: IfNotPresent
logLevel: info
# storageClassName is a StorageClass provides a way for administrators to describe the "classes" of storage they offer.
Expand Down Expand Up @@ -826,7 +826,7 @@ scheduledBackup:

importer:
create: false
image: pingcap/tidb-lightning:v4.0.9
image: pingcap/tidb-lightning:v4.0.10
imagePullPolicy: IfNotPresent
storageClassName: local-storage
storage: 200Gi
Expand Down
2 changes: 1 addition & 1 deletion charts/tidb-drainer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ timezone: UTC

# clusterName is the TiDB cluster name that should backup from or restore to.
clusterName: demo
clusterVersion: v4.0.9
clusterVersion: v4.0.10

baseImage: pingcap/tidb-binlog
imagePullPolicy: IfNotPresent
Expand Down
2 changes: 1 addition & 1 deletion charts/tidb-lightning/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# timezone is the default system timzone
timezone: UTC

image: pingcap/tidb-lightning:v4.0.9
image: pingcap/tidb-lightning:v4.0.10
imagePullPolicy: IfNotPresent
# imagePullSecrets: []

Expand Down
2 changes: 1 addition & 1 deletion charts/tikv-importer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ timezone: UTC
# clusterName is the TiDB cluster name
clusterName: demo

image: pingcap/tidb-lightning:v4.0.9
image: pingcap/tidb-lightning:v4.0.10
imagePullPolicy: IfNotPresent
# imagePullSecrets: []

Expand Down
2 changes: 1 addition & 1 deletion deploy/aliyun/manifests/db-monitor.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
# requests:
# cpu: 50m
# memory: 64Mi
version: v4.0.9
version: v4.0.10
kubePrometheusURL: ""
nodeSelector: {}
persistent: true
Expand Down
2 changes: 1 addition & 1 deletion deploy/aliyun/manifests/db.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ spec:
timezone: UTC
tlsCluster:
enabled: false
version: v4.0.9
version: v4.0.10
2 changes: 1 addition & 1 deletion deploy/aliyun/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ variable "cluster_name" {

variable "tidb_version" {
description = "TiDB cluster version"
default = "v4.0.9"
default = "v4.0.10"
}
variable "tidb_cluster_chart_version" {
description = "tidb-cluster chart version"
Expand Down
2 changes: 1 addition & 1 deletion deploy/aws/manifests/db-monitor.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
# requests:
# cpu: 50m
# memory: 64Mi
version: v4.0.9
version: v4.0.10
kubePrometheusURL: ""
nodeSelector: {}
persistent: true
Expand Down
2 changes: 1 addition & 1 deletion deploy/aws/manifests/db.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ spec:
timezone: UTC
tlsCluster:
enabled: false
version: v4.0.9
version: v4.0.10
2 changes: 1 addition & 1 deletion deploy/aws/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ variable "bastion_instance_type" {

# For aws tutorials compatiablity
variable "default_cluster_version" {
default = "v4.0.9"
default = "v4.0.10"
}

variable "default_cluster_pd_count" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/gcp/manifests/db-monitor.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
# requests:
# cpu: 50m
# memory: 64Mi
version: v4.0.9
version: v4.0.10
kubePrometheusURL: ""
nodeSelector: {}
persistent: true
Expand Down
2 changes: 1 addition & 1 deletion deploy/gcp/manifests/db.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: CLUSTER_NAME
spec:
version: v4.0.9
version: v4.0.10
timezone: UTC
pvReclaimPolicy: Retain
schedulerName: tidb-scheduler
Expand Down
2 changes: 1 addition & 1 deletion deploy/gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ variable "node_locations" {

variable "tidb_version" {
description = "TiDB version"
default = "v4.0.9"
default = "v4.0.10"
}

variable "tidb_operator_version" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/aliyun/tidb-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variable "image_id" {

variable "tidb_version" {
description = "TiDB cluster version"
default = "v4.0.9"
default = "v4.0.10"
}

variable "tidb_cluster_chart_version" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/aws/tidb-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ variable "cluster_name" {

variable "cluster_version" {
type = string
default = "v4.0.9"
default = "v4.0.10"
}

variable "ssh_key_name" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/gcp/tidb-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variable "tidb_operator_id" {
variable "cluster_name" {}
variable "cluster_version" {
description = "The TiDB cluster version"
default = "v4.0.9"
default = "v4.0.10"
}
variable "tidb_cluster_chart_version" {
description = "The TiDB cluster chart version"
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/share/tidb-cluster-release/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ variable "cluster_name" {

variable "cluster_version" {
type = string
default = "v4.0.9"
default = "v4.0.10"
}

variable "pd_count" {
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced-statefulset/tidb-cluster-scaled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
tikv.tidb.pingcap.com/delete-slots: '[1]'
name: asts
spec:
version: v4.0.9
version: v4.0.10
timezone: UTC
pvReclaimPolicy: Retain
enableDynamicConfiguration: true
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced-statefulset/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: asts
spec:
version: v4.0.9
version: v4.0.10
timezone: UTC
pvReclaimPolicy: Retain
enableDynamicConfiguration: true
Expand Down
16 changes: 8 additions & 8 deletions examples/advanced/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
#######################

## TiDB cluster version
version: "v4.0.9"
version: "v4.0.10"

## Time zone of TiDB cluster Pods
timezone: UTC
Expand Down Expand Up @@ -183,7 +183,7 @@ spec:
#############################

## The following block overwrites TiDB cluster-level configurations in `spec`
# version: "v4.0.9"
# version: "v4.0.10"
# imagePullPolicy: IfNotPresent
# imagePullSecrets: secretName
# hostNetwork: false
Expand Down Expand Up @@ -364,7 +364,7 @@ spec:
###############################

## The following block overwrites TiDB cluster-level configurations in `spec`
# version: "v4.0.9"
# version: "v4.0.10"
# imagePullPolicy: IfNotPresent
# imagePullSecrets: secretName
# hostNetwork: false
Expand Down Expand Up @@ -446,7 +446,7 @@ spec:
## - `command`, which uses curl to access the /status path on port 10080 of the pod
## This is supported from TiDB Operator v1.1.7
# readinessProbe:
# # The `command` type is only supported after tidb v4.0.9, ref: https://github.com/pingcap/tidb/pull/20694
# # The `command` type is only supported after tidb v4.0.10, ref: https://github.com/pingcap/tidb/pull/20694
# type: command

## when enabled, TiDB will accept TLS encrypted connections from MySQL client
Expand Down Expand Up @@ -563,7 +563,7 @@ spec:
###############################

## The following block overwrites TiDB cluster-level configurations in `spec`
# version: "v4.0.9"
# version: "v4.0.10"
# imagePullPolicy: IfNotPresent
# imagePullSecrets: secretName
# hostNetwork: false
Expand Down Expand Up @@ -709,7 +709,7 @@ spec:
## Ref: https://pingcap.com/docs/tidb-in-kubernetes/stable/deploy-tidb-binlog/#deploy-pump
# pump:
# baseImage: pingcap/tidb-binlog
# version: "v4.0.9"
# version: "v4.0.10"
# replicas: 1
# storageClassName: local-storage
# requests:
Expand Down Expand Up @@ -746,7 +746,7 @@ spec:
## Ref: https://pingcap.com/docs/tidb-in-kubernetes/stable/deploy-ticdc/
# ticdc:
# baseImage: pingcap/ticdc
# version: "v4.0.9"
# version: "v4.0.10"
# replicas: 3
# storageClassName: local-storage
# requests:
Expand Down Expand Up @@ -788,7 +788,7 @@ spec:
# # Basic TiFlash Configuration #
# ###############################
# baseImage: pingcap/tiflash
# version: "v4.0.9"
# version: "v4.0.10"
# replicas: 1
# # limits:
# # cpu: 2000m
Expand Down
2 changes: 1 addition & 1 deletion examples/auto-scale/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: auto-scaling-demo
spec:
version: v4.0.9
version: v4.0.10
timezone: UTC
pvReclaimPolicy: Retain
enableDynamicConfiguration: true
Expand Down
2 changes: 1 addition & 1 deletion examples/auto-scale/tidb-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
version: 6.1.6
initializer:
baseImage: pingcap/tidb-monitor-initializer
version: v4.0.9
version: v4.0.10
reloader:
baseImage: pingcap/tidb-monitor-reloader
version: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion examples/aws/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v4.0.9
version: v4.0.10
timezone: UTC
configUpdateStrategy: RollingUpdate
pvReclaimPolicy: Retain
Expand Down
2 changes: 1 addition & 1 deletion examples/aws/tidb-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
initializer:
baseImage: pingcap/tidb-monitor-initializer
imagePullPolicy: IfNotPresent
version: v4.0.9
version: v4.0.10
kubePrometheusURL: ""
persistent: true
prometheus:
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-cn/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v4.0.9
version: v4.0.10
timezone: UTC
pvReclaimPolicy: Retain
enableDynamicConfiguration: true
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-cn/tidb-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
version: 6.1.6
initializer:
baseImage: registry.cn-beijing.aliyuncs.com/tidb/tidb-monitor-initializer
version: v4.0.9
version: v4.0.10
reloader:
baseImage: registry.cn-beijing.aliyuncs.com/tidb/tidb-monitor-reloader
version: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-tls/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
tlsCluster:
enabled: true
version: v4.0.9
version: v4.0.10
timezone: UTC
pvReclaimPolicy: Delete
enableDynamicConfiguration: true
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-tls/tidb-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
version: 6.1.6
initializer:
baseImage: pingcap/tidb-monitor-initializer
version: v4.0.9
version: v4.0.10
reloader:
baseImage: pingcap/tidb-monitor-reloader
version: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v4.0.9
version: v4.0.10
timezone: UTC
pvReclaimPolicy: Retain
enableDynamicConfiguration: true
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/tidb-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
version: 6.1.6
initializer:
baseImage: pingcap/tidb-monitor-initializer
version: v4.0.9
version: v4.0.10
reloader:
baseImage: pingcap/tidb-monitor-reloader
version: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion examples/dm/dm-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
version: 6.1.6
initializer:
baseImage: pingcap/tidb-monitor-initializer
version: v4.0.9
version: v4.0.10
reloader:
baseImage: pingcap/tidb-monitor-reloader
version: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion examples/gcp/tidb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: TidbCluster
metadata:
name: basic
spec:
version: v4.0.9
version: v4.0.10
timezone: UTC
configUpdateStrategy: RollingUpdate
pvReclaimPolicy: Retain
Expand Down
Loading

0 comments on commit 1b64ac6

Please sign in to comment.