Skip to content

Commit

Permalink
release v2.2.1 (radondb#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
runkecheng authored Aug 17, 2022
1 parent e274580 commit 84bdd96
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/backup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type BackupSpec struct {

// To specify the image that will be used for sidecar container.
// +optional
// +kubebuilder:default:="radondb/mysql57-sidecar:v2.2.0"
// +kubebuilder:default:="radondb/mysql57-sidecar:v2.2.1"
Image string `json:"image"`

// HostName represents the host for which to take backup
Expand Down
4 changes: 2 additions & 2 deletions api/v1alpha1/mysqlcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type MysqlClusterSpec struct {

// PodPolicy defines the policy to extra specification.
// +optional
// +kubebuilder:default:={imagePullPolicy: "IfNotPresent", extraResources: {requests: {cpu: "10m", memory: "32Mi"}}, sidecarImage: "radondb/mysql57-sidecar:v2.2.0", busyboxImage: "busybox:1.32"}
// +kubebuilder:default:={imagePullPolicy: "IfNotPresent", extraResources: {requests: {cpu: "10m", memory: "32Mi"}}, sidecarImage: "radondb/mysql57-sidecar:v2.2.1", busyboxImage: "busybox:1.32"}
PodPolicy PodPolicy `json:"podPolicy,omitempty"`

// PVC extra specifiaction.
Expand Down Expand Up @@ -226,7 +226,7 @@ type PodPolicy struct {

// To specify the image that will be used for sidecar container.
// +optional
// +kubebuilder:default:="radondb/mysql57-sidecar:v2.2.0"
// +kubebuilder:default:="radondb/mysql57-sidecar:v2.2.1"
SidecarImage string `json:"sidecarImage,omitempty"`

// The busybox image.
Expand Down
4 changes: 2 additions & 2 deletions charts/mysql-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: v2.2.0
version: v2.2.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v2.2.0"
appVersion: "v2.2.1"
2 changes: 1 addition & 1 deletion charts/mysql-operator/crds/mysql.radondb.com_backups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
If is empty, is use leader HostName
type: string
image:
default: radondb/mysql57-sidecar:v2.2.0
default: radondb/mysql57-sidecar:v2.2.1
description: To specify the image that will be used for sidecar container.
type: string
nfsServerAddress:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ spec:
cpu: 10m
memory: 32Mi
imagePullPolicy: IfNotPresent
sidecarImage: radondb/mysql57-sidecar:v2.2.0
sidecarImage: radondb/mysql57-sidecar:v2.2.1
description: PodPolicy defines the policy to extra specification.
properties:
affinity:
Expand Down Expand Up @@ -1205,7 +1205,7 @@ spec:
schedulerName:
type: string
sidecarImage:
default: radondb/mysql57-sidecar:v2.2.0
default: radondb/mysql57-sidecar:v2.2.1
description: To specify the image that will be used for sidecar
container.
type: string
Expand Down
2 changes: 1 addition & 1 deletion charts/mysql-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tolerationSeconds: 30

manager:
image: radondb/mysql-operator
tag: v2.2.0
tag: v2.2.1
enableWebhooks: true
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/mysql.radondb.com_backups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
If is empty, is use leader HostName
type: string
image:
default: radondb/mysql57-sidecar:v2.2.0
default: radondb/mysql57-sidecar:v2.2.1
description: To specify the image that will be used for sidecar container.
type: string
nfsServerAddress:
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/mysql.radondb.com_mysqlclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ spec:
cpu: 10m
memory: 32Mi
imagePullPolicy: IfNotPresent
sidecarImage: radondb/mysql57-sidecar:v2.2.0
sidecarImage: radondb/mysql57-sidecar:v2.2.1
description: PodPolicy defines the policy to extra specification.
properties:
affinity:
Expand Down Expand Up @@ -1205,7 +1205,7 @@ spec:
schedulerName:
type: string
sidecarImage:
default: radondb/mysql57-sidecar:v2.2.0
default: radondb/mysql57-sidecar:v2.2.1
description: To specify the image that will be used for sidecar
container.
type: string
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ kind: Kustomization
images:
- name: controller
newName: radondb/mysql-operator
newTag: v2.2.0
newTag: v2.2.1
2 changes: 1 addition & 1 deletion config/samples/mysql_v1alpha1_backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: backup-sample
spec:
# Add fields here
image: radondb/mysql57-sidecar:v2.2.0
image: radondb/mysql57-sidecar:v2.2.1
# hostname if empty, use the leader as hostname
hostName: sample-mysql-0
clusterName: sample
Expand Down
2 changes: 1 addition & 1 deletion config/samples/mysql_v1alpha1_mysqlcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:

podPolicy:
imagePullPolicy: IfNotPresent
sidecarImage: radondb/mysql57-sidecar:v2.2.0
sidecarImage: radondb/mysql57-sidecar:v2.2.1
busyboxImage: busybox:1.32

slowLogTail: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:

podPolicy:
imagePullPolicy: IfNotPresent
sidecarImage: radondb/mysql57-sidecar:v2.2.0
sidecarImage: radondb/mysql57-sidecar:v2.2.1
busyboxImage: busybox:1.32

slowLogTail: false
Expand Down
2 changes: 1 addition & 1 deletion config/samples/mysql_v1alpha1_mysqlcluster_mysql8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:

podPolicy:
imagePullPolicy: IfNotPresent
sidecarImage: radondb/mysql80-sidecar:v2.2.0
sidecarImage: radondb/mysql80-sidecar:v2.2.1
busyboxImage: busybox:1.32

slowLogTail: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:

podPolicy:
imagePullPolicy: IfNotPresent
sidecarImage: radondb/mysql57-sidecar:v2.2.0
sidecarImage: radondb/mysql57-sidecar:v2.2.1
busyboxImage: busybox:1.32

slowLogTail: false
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ go test test/e2e/e2e_test.go -test.v --ginkgo.focus="list namespace"
| kubernetes-context | current-context | config context to use for kuberentes. |
| log-dir-prefix | "" | Prefix of the log directory. |
| chart-path | ../../charts/mysql-operator | The chart name or path for mysql operator. |
| operator-image-path | radondb/mysql-operator:v2.2.0 | Image path of mysql operator. |
| sidecar-image-path | radondb/mysql57-sidecar:v2.2.0 | Image full path of mysql sidecar. |
| operator-image-path | radondb/mysql-operator:v2.2.1 | Image path of mysql operator. |
| sidecar-image-path | radondb/mysql57-sidecar:v2.2.1 | Image full path of mysql sidecar. |
| pod-wait-timeout | 1200 | Timeout to wait for a pod to be ready. |
| dump-logs | false | Dump logs when test case failed. |
4 changes: 2 additions & 2 deletions test/e2e/framework/test_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ const (
// Specify the directory that Helm Install will be executed.
ChartPath = "../../charts/mysql-operator"
// Image path of mysql operator.
OperatorImagePath = "radondb/mysql-operator:v2.2.0-alpha.1"
OperatorImagePath = "radondb/mysql-operator:v2.2.1"
// Image path for mysql sidecar.
SidecarImagePath = "radondb/mysql57-sidecar:v2.2.0-alpha.1"
SidecarImagePath = "radondb/mysql57-sidecar:v2.2.1"

// The namespace where the resource created by E2E.
RadondbMysqlE2eNamespace = "radondb-mysql-e2e"
Expand Down

0 comments on commit 84bdd96

Please sign in to comment.