Skip to content

Commit 459b3d3

Browse files
committed
chart,config: modify the 3.0.0-alpha to 3.0.0
1 parent 8de8287 commit 459b3d3

File tree

15 files changed

+36
-36
lines changed

15 files changed

+36
-36
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Image URL to use all building/pushing image targets
2-
FROM_VERSION ?=v2.3.0
3-
CHART_VERSION ?=2.3.0
4-
CHART_TOVERSION ?=3.0.0-alpha
5-
TO_VERSION ?=v3.0.0-alpha
6-
TAG ?=v3.0.0-alpha
2+
FROM_VERSION ?=v3.0.0-alpha
3+
CHART_VERSION ?=3.0.0-alpha
4+
CHART_TOVERSION ?=3.0.0
5+
TO_VERSION ?=v3.0.0
6+
TAG ?=v3.0.0
77
IMGPREFIX ?=radondb/
88
IMG ?= $(IMGPREFIX)mysql-operator:$(TAG)
99
SIDECAR57_IMG ?= $(IMGPREFIX)mysql57-sidecar:$(TAG)

api/v1alpha1/backup_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type BackupSpec struct {
2929

3030
// To specify the image that will be used for sidecar container.
3131
// +optional
32-
// +kubebuilder:default:="radondb/mysql57-sidecar:v3.0.0-alpha"
32+
// +kubebuilder:default:="radondb/mysql57-sidecar:v3.0.0"
3333
Image string `json:"image"`
3434

3535
// HostName represents the host for which to take backup

api/v1alpha1/mysqlcluster_types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ type MysqlClusterSpec struct {
5050

5151
// XenonOpts is the options of xenon container.
5252
// +optional
53-
// +kubebuilder:default:={image: "radondb/xenon:v3.0.0-alpha", admitDefeatHearbeatCount: 5, electionTimeout: 10000, resources: {limits: {cpu: "100m", memory: "256Mi"}, requests: {cpu: "50m", memory: "128Mi"}}}
53+
// +kubebuilder:default:={image: "radondb/xenon:v3.0.0", admitDefeatHearbeatCount: 5, electionTimeout: 10000, resources: {limits: {cpu: "100m", memory: "256Mi"}, requests: {cpu: "50m", memory: "128Mi"}}}
5454
XenonOpts XenonOpts `json:"xenonOpts,omitempty"`
5555

5656
// MetricsOpts is the options of metrics container.
@@ -67,7 +67,7 @@ type MysqlClusterSpec struct {
6767

6868
// PodPolicy defines the policy to extra specification.
6969
// +optional
70-
// +kubebuilder:default:={imagePullPolicy: "IfNotPresent", extraResources: {requests: {cpu: "10m", memory: "32Mi"}}, sidecarImage: "radondb/mysql57-sidecar:v3.0.0-alpha", busyboxImage: "busybox:1.32"}
70+
// +kubebuilder:default:={imagePullPolicy: "IfNotPresent", extraResources: {requests: {cpu: "10m", memory: "32Mi"}}, sidecarImage: "radondb/mysql57-sidecar:v3.0.0", busyboxImage: "busybox:1.32"}
7171
PodPolicy PodPolicy `json:"podPolicy,omitempty"`
7272

7373
// PVC extra specifiaction.
@@ -206,7 +206,7 @@ type MysqlOpts struct {
206206
type XenonOpts struct {
207207
// To specify the image that will be used for xenon container.
208208
// +optional
209-
// +kubebuilder:default:="radondb/xenon:v3.0.0-alpha"
209+
// +kubebuilder:default:="radondb/xenon:v3.0.0"
210210
Image string `json:"image,omitempty"`
211211

212212
// High available component admit defeat heartbeat count.
@@ -273,7 +273,7 @@ type PodPolicy struct {
273273

274274
// To specify the image that will be used for sidecar container.
275275
// +optional
276-
// +kubebuilder:default:="radondb/mysql57-sidecar:v3.0.0-alpha"
276+
// +kubebuilder:default:="radondb/mysql57-sidecar:v3.0.0"
277277
SidecarImage string `json:"sidecarImage,omitempty"`
278278

279279
// The busybox image.

api/v1beta1/mysqlcluster_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ type MysqlClusterSpec struct {
6969

7070
// XenonOpts is the options of xenon container.
7171
// +optional
72-
// +kubebuilder:default:={image: "radondb/xenon:v3.0.0-alpha", admitDefeatHearbeatCount: 5, electionTimeout: 10000, resources: {limits: {cpu: "100m", memory: "256Mi"}, requests: {cpu: "50m", memory: "128Mi"}}}
72+
// +kubebuilder:default:={image: "radondb/xenon:v3.0.0", admitDefeatHearbeatCount: 5, electionTimeout: 10000, resources: {limits: {cpu: "100m", memory: "256Mi"}, requests: {cpu: "50m", memory: "128Mi"}}}
7373
Xenon XenonOpts `json:"xenonOpts,omitempty"`
7474

7575
// Backup is the options of backup container.
@@ -358,7 +358,7 @@ const (
358358
type XenonOpts struct {
359359
// To specify the image that will be used for xenon container.
360360
// +optional
361-
// +kubebuilder:default:="radondb/xenon:v3.0.0-alpha"
361+
// +kubebuilder:default:="radondb/xenon:v3.0.0"
362362
Image string `json:"image,omitempty"`
363363

364364
// High available component admit defeat heartbeat count.

charts/mysql-operator/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: v3.0.0-alpha
18+
version: v3.0.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "v3.0.0-alpha"
24+
appVersion: "v3.0.0"
2525
dependencies:
2626
- name: "mysqlcluster"
27-
version: "v3.0.0-alpha"
27+
version: "v3.0.0"
2828

charts/mysql-operator/charts/mysql-cluster/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ version: 3.0.0
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "v3.0.0-alpha"
24+
appVersion: "v3.0.0"

charts/mysql-operator/charts/mysql-cluster/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: "sample"
66
namespace: "default"
77

88
mysqlVersion: "8.0"
9-
version: v3.0.0-alpha
9+
version: v3.0.0
1010

1111
tls:
1212
enable: false

charts/mysql-operator/templates/mysql.radondb.com_backups.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ spec:
8585
If is empty, is use leader HostName
8686
type: string
8787
image:
88-
default: radondb/mysql57-sidecar:v3.0.0-alpha
88+
default: radondb/mysql57-sidecar:v3.0.0
8989
description: To specify the image that will be used for sidecar container.
9090
type: string
9191
nfsServerAddress:

charts/mysql-operator/templates/mysql.radondb.com_mysqlclusters.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ spec:
327327
cpu: 10m
328328
memory: 32Mi
329329
imagePullPolicy: IfNotPresent
330-
sidecarImage: radondb/mysql57-sidecar:v3.0.0-alpha
330+
sidecarImage: radondb/mysql57-sidecar:v3.0.0
331331
description: PodPolicy defines the policy to extra specification.
332332
properties:
333333
affinity:
@@ -1257,7 +1257,7 @@ spec:
12571257
schedulerName:
12581258
type: string
12591259
sidecarImage:
1260-
default: radondb/mysql57-sidecar:v3.0.0-alpha
1260+
default: radondb/mysql57-sidecar:v3.0.0
12611261
description: To specify the image that will be used for sidecar
12621262
container.
12631263
type: string
@@ -2274,7 +2274,7 @@ spec:
22742274
default:
22752275
admitDefeatHearbeatCount: 5
22762276
electionTimeout: 10000
2277-
image: radondb/xenon:v3.0.0-alpha
2277+
image: radondb/xenon:v3.0.0
22782278
resources:
22792279
limits:
22802280
cpu: 100m
@@ -2301,7 +2301,7 @@ spec:
23012301
automatically rebuild the invalid node.
23022302
type: boolean
23032303
image:
2304-
default: radondb/xenon:v3.0.0-alpha
2304+
default: radondb/xenon:v3.0.0
23052305
description: To specify the image that will be used for xenon
23062306
container.
23072307
type: string
@@ -4940,7 +4940,7 @@ spec:
49404940
default:
49414941
admitDefeatHearbeatCount: 5
49424942
electionTimeout: 10000
4943-
image: radondb/xenon:v3.0.0-alpha
4943+
image: radondb/xenon:v3.0.0
49444944
resources:
49454945
limits:
49464946
cpu: 100m
@@ -4967,7 +4967,7 @@ spec:
49674967
automatically rebuild the invalid node.
49684968
type: boolean
49694969
image:
4970-
default: radondb/xenon:v3.0.0-alpha
4970+
default: radondb/xenon:v3.0.0
49714971
description: To specify the image that will be used for xenon
49724972
container.
49734973
type: string

charts/mysql-operator/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ installCRDS: true
77

88
mysqlcluster:
99
install: false
10-
version: v3.0.0-alpha
10+
version: v3.0.0
1111
## Specify an imagePullPolicy (Required)
1212
## It's recommended to change this to 'Always' if the image tag is 'latest'
1313
## ref: http://kubernetes.io/docs/user-guide/images/#updating-images
@@ -25,7 +25,7 @@ tolerationSeconds: 30
2525

2626
manager:
2727
image: radondb/mysql-operator
28-
tag: v3.0.0-alpha
28+
tag: v3.0.0
2929
enableWebhooks: true
3030
resources: {}
3131
# We usually recommend not to specify default resources and to leave this as a conscious

0 commit comments

Comments
 (0)