Skip to content

Commit c98b05e

Browse files
committed
release v1.6.1
1 parent f394b08 commit c98b05e

File tree

23 files changed

+81
-43
lines changed

23 files changed

+81
-43
lines changed

api/v1/polardbx/config.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ type CNStaticConfig struct {
3030
EnableJvmRemoteDebug bool `json:"EnableJvmRemoteDebug,omitempty"`
3131
ServerProperties map[string]intstr.IntOrString `json:"ServerProperties,omitempty"`
3232

33-
// +kubebuilder:default=1
3433
// +kubebuilder:validation:Enum=1;2;"1";"2";""
3534

3635
RPCProtocolVersion intstr.IntOrString `json:"RPCProtocolVersion,omitempty"`

build/images/xstore-tools/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -tags polardbx -o polardbx-
6565

6666

6767
# Build the image with scripts
68-
FROM polardbx/xstore-tools-base:ts20240417185353
68+
FROM polardbx/xstore-tools-base:ts20240430102300
6969

7070
ARG VERSION=test
7171

charts/polardbx-logcollector/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: polardbx-logcollector
33
description: Helm chart of polardbx-operator logcollector plugin
44
type: application
5-
version: 1.6.0
6-
appVersion: v1.6.0
5+
version: 1.6.1
6+
appVersion: v1.6.1
77
keywords:
88
- polardb-x
99
- operator

charts/polardbx-monitor/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: polardbx-monitor
33
description: Helm chart of polardbx-operator monitor plugin
44
type: application
5-
version: 1.6.0
6-
appVersion: v1.6.0
5+
version: 1.6.1
6+
appVersion: v1.6.1
77
keywords:
88
- polardb-x
99
- operator

charts/polardbx-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: polardbx-operator
33
description: Helm chart of polardbx-operator
44
type: application
5-
version: 1.6.0
6-
appVersion: v1.6.0
5+
version: 1.6.1
6+
appVersion: v1.6.1
77
keywords:
88
- polardb-x
99
- operator

charts/polardbx-operator/crds/polardbx.aliyun.com_polardbxbackups.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ spec:
189189
anyOf:
190190
- type: integer
191191
- type: string
192-
default: 1
193192
enum:
194193
- 1
195194
- 2

charts/polardbx-operator/crds/polardbx.aliyun.com_polardbxclusters.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ spec:
151151
anyOf:
152152
- type: integer
153153
- type: string
154-
default: 1
155154
enum:
156155
- 1
157156
- 2
@@ -2410,7 +2409,6 @@ spec:
24102409
anyOf:
24112410
- type: integer
24122411
- type: string
2413-
default: 1
24142412
enum:
24152413
- 1
24162414
- 2

charts/polardbx-operator/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ images:
1515
polardbxClinic: polardbx-clinic
1616

1717
# Default image tag. Use app version if not specified or 'latest' if useLatestImage is true.
18-
imageTag: v1.6.0
18+
imageTag: v1.6.1
1919

2020
# version will be written to pxc and xstore annotation
21-
version: v1.6.0
21+
version: v1.6.1
2222

2323
# Uses the latest images for operator components.
2424
useLatestImage: false

hack/copy_image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717

1818
SOURCE_REPO=polarximages-registry.cn-zhangjiakou.cr.aliyuncs.com/daixingpolarximages
19-
SOURCE_VERSION=v1.6.0
19+
SOURCE_VERSION=v1.6.1
2020
DEST_REPO=polardbx
21-
DEST_VERSION=v1.6.0
21+
DEST_VERSION=v1.6.1
2222
TARGETS="xstore-tools polardbx-operator probe-proxy polardbx-exporter polardbx-init polardbx-hpfs polardbx-job polardbx-clinic polardbx-logstash"
2323

2424
#pull from source image and tag it

pkg/operator/v1/polardbx/controllers/polardbxcluster_controller.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ package controllers
1919
import (
2020
"context"
2121
"errors"
22+
"github.com/alibaba/polardbx-operator/pkg/operator/hint"
2223
"github.com/alibaba/polardbx-operator/pkg/operator/v1/polardbx/steps/instance/pitr"
2324
polarxJson "github.com/alibaba/polardbx-operator/pkg/util/json"
2425
"time"
2526

26-
"github.com/alibaba/polardbx-operator/pkg/operator/hint"
27-
2827
polardbxv1 "github.com/alibaba/polardbx-operator/api/v1"
2928
polardbxv1polardbx "github.com/alibaba/polardbx-operator/api/v1/polardbx"
3029
"github.com/alibaba/polardbx-operator/pkg/debug"
@@ -311,14 +310,14 @@ func (r *PolarDBXReconciler) newReconcileTask(rc *polardbxreconcile.Context, pol
311310
control.When(readonly,
312311
instancesteps.WaitUntilPrimaryCNDeploymentsRolledOut,
313312
),
313+
// Only add or update, never remove.
314+
instancesteps.CreateOrReconcileDNs,
315+
instancesteps.WaitUntilDNsReady,
314316
instancesteps.CreateOrReconcileCNs,
315317
instancesteps.CreateOrReconcileCDCs,
316318
instancesteps.WaitUntilCNCDCPodsReady,
317319
instancesteps.CreateOrReconcileColumnars,
318-
// Only add or update, never remove.
319-
instancesteps.CreateOrReconcileDNs,
320320

321-
instancesteps.WaitUntilDNsReady,
322321
instancesteps.WaitUntilCNDeploymentsRolledOut,
323322
instancesteps.WaitUntilCDCDeploymentsRolledOut,
324323
instancesteps.WaitUntilColumnarDeploymentsRolledOut,

0 commit comments

Comments
 (0)