File tree Expand file tree Collapse file tree 11 files changed +33
-14
lines changed
Expand file tree Collapse file tree 11 files changed +33
-14
lines changed Original file line number Diff line number Diff line change @@ -369,16 +369,15 @@ type BinlogServerSpec struct {
369369 Storage BinlogServerStorageSpec `json:"storage"`
370370
371371 // The number of seconds the MySQL client library will wait to establish a connection with a remote host
372- ConnectTimeout int32 `json:"connectTimeout,omitempty "`
372+ ConnectTimeout int32 `json:"connectTimeout"`
373373 // The number of seconds the MySQL client library will wait to read data from a remote server.
374- ReadTimeout int32 `json:"readTimeout,omitempty "`
374+ ReadTimeout int32 `json:"readTimeout"`
375375 // The number of seconds the MySQL client library will wait to write data to a remote server.
376- WriteTimeout int32 `json:"writeTimeout,omitempty"`
377-
376+ WriteTimeout int32 `json:"writeTimeout"`
378377 // Specifies the server ID that the utility will be using when connecting to a remote MySQL server
379- ServerID int32 `json:"serverId,omitempty "`
378+ ServerID int32 `json:"serverId"`
380379 // The number of seconds the utility will spend in disconnected mode between reconnection attempts.
381- IdleTime int32 `json:"idleTime,omitempty "`
380+ IdleTime int32 `json:"idleTime"`
382381
383382 PodSpec `json:",inline"`
384383}
Original file line number Diff line number Diff line change @@ -1374,8 +1374,13 @@ spec:
13741374 format : int32
13751375 type : integer
13761376 required :
1377+ - connectTimeout
1378+ - idleTime
13771379 - image
1380+ - readTimeout
1381+ - serverId
13781382 - storage
1383+ - writeTimeout
13791384 type : object
13801385 enabled :
13811386 type : boolean
Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ kind: Kustomization
1313images :
1414- name : perconalab/percona-server-mysql-operator
1515 newName : perconalab/percona-server-mysql-operator
16- newTag : main
16+ newTag : k8sps-353-required-fields-pitr
Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ kind: Kustomization
1313images :
1414- name : perconalab/percona-server-mysql-operator
1515 newName : perconalab/percona-server-mysql-operator
16- newTag : main
16+ newTag : k8sps-353-required-fields-pitr
Original file line number Diff line number Diff line change @@ -3282,8 +3282,13 @@ spec:
32823282 format: int32
32833283 type: integer
32843284 required:
3285+ - connectTimeout
3286+ - idleTime
32853287 - image
3288+ - readTimeout
3289+ - serverId
32863290 - storage
3291+ - writeTimeout
32873292 type: object
32883293 enabled:
32893294 type: boolean
@@ -11643,7 +11648,7 @@ spec:
1164311648 fieldPath: metadata.namespace
1164411649 - name: DISABLE_TELEMETRY
1164511650 value: "false"
11646- image: perconalab/percona-server-mysql-operator:main
11651+ image: perconalab/percona-server-mysql-operator:k8sps-353-required-fields-pitr
1164711652 imagePullPolicy: Always
1164811653 livenessProbe:
1164911654 httpGet:
Original file line number Diff line number Diff line change @@ -3282,8 +3282,13 @@ spec:
32823282 format: int32
32833283 type: integer
32843284 required:
3285+ - connectTimeout
3286+ - idleTime
32853287 - image
3288+ - readTimeout
3289+ - serverId
32863290 - storage
3291+ - writeTimeout
32873292 type: object
32883293 enabled:
32893294 type: boolean
Original file line number Diff line number Diff line change @@ -3282,8 +3282,13 @@ spec:
32823282 format: int32
32833283 type: integer
32843284 required:
3285+ - connectTimeout
3286+ - idleTime
32853287 - image
3288+ - readTimeout
3289+ - serverId
32863290 - storage
3291+ - writeTimeout
32873292 type: object
32883293 enabled:
32893294 type: boolean
@@ -11686,7 +11691,7 @@ spec:
1168611691 value: ""
1168711692 - name: DISABLE_TELEMETRY
1168811693 value: "false"
11689- image: perconalab/percona-server-mysql-operator:main
11694+ image: perconalab/percona-server-mysql-operator:k8sps-353-required-fields-pitr
1169011695 imagePullPolicy: Always
1169111696 livenessProbe:
1169211697 httpGet:
Original file line number Diff line number Diff line change 4848 value : " "
4949 - name : DISABLE_TELEMETRY
5050 value : " false"
51- image : perconalab/percona-server-mysql-operator:main
51+ image : perconalab/percona-server-mysql-operator:k8sps-353-required-fields-pitr
5252 imagePullPolicy : Always
5353 livenessProbe :
5454 httpGet :
Original file line number Diff line number Diff line change 5151 fieldPath : metadata.namespace
5252 - name : DISABLE_TELEMETRY
5353 value : " false"
54- image : perconalab/percona-server-mysql-operator:main
54+ image : perconalab/percona-server-mysql-operator:k8sps-353-required-fields-pitr
5555 imagePullPolicy : Always
5656 livenessProbe :
5757 httpGet :
Original file line number Diff line number Diff line change @@ -1160,7 +1160,7 @@ func (r *PerconaServerMySQLReconciler) reconcileBinlogServer(ctx context.Context
11601160 s3 := cr .Spec .Backup .PiTR .BinlogServer .Storage .S3
11611161
11621162 if s3 != nil && len (s3 .CredentialsSecret ) == 0 {
1163- logger .Info ("You need to set spec.backup.pitr.binlogServer.s3.credentialsSecret to upload binlogs to s3" )
1163+ logger .Info ("setting spec.backup.pitr.binlogServer.s3.credentialsSecret is required to upload binlogs to s3" )
11641164 return nil
11651165 }
11661166
You can’t perform that action at this time.
0 commit comments