Skip to content

Commit b8ed763

Browse files
K8SPS-398: Update PS operator chart for 0.10.0 release (#550)
* K8SPS-398: Update PS operator chart for 0.10.0 release * Update crd and images * Align values with cr * [K8SPS-382 remove loadBalancerIP (#498) Co-authored-by: Julio Pasinatto <julio.pasinatto@percona.com> * Delete blank lines in values file * Add newline in chart file --------- Co-authored-by: Natalia Marukovich <nmarukovich@gmail.com>
1 parent b948da6 commit b8ed763

File tree

8 files changed

+84
-70
lines changed

8 files changed

+84
-70
lines changed

charts/ps-db/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apiVersion: v2
2-
appVersion: "0.9.0"
2+
appVersion: "0.10.0"
33
description: A Helm chart for installing Percona Server Databases using the PS Operator.
44
name: ps-db
55
home: https://www.percona.com/doc/kubernetes-operator-for-mysql/ps
6-
version: 0.9.0
6+
version: 0.10.0
77
maintainers:
88
- name: jvpasinatto
99
email: julio.pasinatto@percona.com
1010
- name: nmarukovich
1111
email: natalia.marukovich@percona.com
12-
- name: ptankov
13-
email: pavel.tankov@percona.com
12+
- name: eleo007
13+
email: eleonora.zinchenko@percona.com

charts/ps-db/README.md

Lines changed: 9 additions & 13 deletions
Large diffs are not rendered by default.

charts/ps-db/templates/cluster.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ spec:
272272

273273
{{- $router := .Values.proxy.router }}
274274
router:
275+
size: {{ $router.size }}
275276
{{- if or (not $router.enabled) (ne .Values.mysql.clusterType "group-replication") }}
276277
enabled: false
277278
image: {{ $router.image.repository }}:{{ $router.image.tag }}
@@ -288,9 +289,6 @@ spec:
288289
{{- if $router.initImage }}
289290
initImage: "{{ $router.initImage }}"
290291
{{- end }}
291-
{{- if $router.size }}
292-
size: {{ $router.size }}
293-
{{- end }}
294292
affinity:
295293
{{ $router.affinity | toYaml | indent 8 }}
296294
{{- if $router.topologySpreadConstraints }}
@@ -354,6 +352,7 @@ spec:
354352
{{- end }}
355353

356354
orchestrator:
355+
size: {{ .Values.orchestrator.size }}
357356
{{- $orc := .Values.orchestrator }}
358357
{{- if or (not $orc.enabled) (ne .Values.mysql.clusterType "async") }}
359358
enabled: false

charts/ps-db/values.yaml

Lines changed: 23 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,20 @@ finalizers:
1616
# orchestratorSize: false
1717
# proxy: false
1818
# proxySize: false
19-
crVersion: 0.9.0
19+
crVersion: 0.10.0
2020
pause: false
21-
# initImage: percona/percona-server-mysql-operator:0.9.0
2221

2322
updateStrategy: SmartUpdate
2423
upgradeOptions:
2524
versionServiceEndpoint: https://check.percona.com
2625
apply: disabled
2726

27+
# initImage: percona/percona-server-mysql-operator:0.10.0
28+
# ignoreAnnotations:
29+
# - service.beta.kubernetes.io/aws-load-balancer-backend-protocol
30+
# ignoreLabels:
31+
# - rack
32+
2833
# Default secret name will be <cluster_name>-secrets unless different name specified below.
2934
# secretsName: cluster1-secrets
3035
# sslSecretName: cluster1-ssl
@@ -38,32 +43,29 @@ upgradeOptions:
3843
# kind: ClusterIssuer
3944
# group: cert-manager.io
4045

41-
# ignoreAnnotations:
42-
# - service.beta.kubernetes.io/aws-load-balancer-backend-protocol
43-
# ignoreLabels:
44-
# - rack
45-
4646
mysql:
4747
clusterType: group-replication
4848
autoRecovery: true
4949
image:
5050
repository: percona/percona-server
51-
tag: 8.0.40-31
51+
tag: 8.0.42-33
5252
imagePullPolicy: Always
5353
imagePullSecrets: []
54-
# - name: private-registry-credentials
55-
# initImage: percona/percona-server-mysql-operator:0.9.0
54+
# initImage: percona/percona-server-mysql-operator:0.10.0
5655

5756
size: 3
5857

5958
# configuration: |
6059
# max_connections=250
6160

61+
# env:
62+
# - name: BOOTSTRAP_READ_TIMEOUT
63+
# value: "600"
6264
resources:
6365
requests:
64-
memory: 512M
65-
limits:
6666
memory: 1G
67+
limits:
68+
memory: 2G
6769

6870
# readinessProbe:
6971
# initialDelaySeconds: 30
@@ -110,7 +112,6 @@ mysql:
110112
# internalTrafficPolicy: Cluster
111113
# labels:
112114
# rack: rack-22
113-
# loadBalancerIP: 127.0.0.1
114115
# loadBalancerSourceRanges:
115116
# - 10.0.0.0/8
116117

@@ -175,10 +176,10 @@ proxy:
175176
enabled: true
176177
image:
177178
repository: percona/haproxy
178-
tag: 2.8.11
179+
tag: 2.8.14
179180
imagePullPolicy: Always
180181
imagePullSecrets: []
181-
# initImage: percona/percona-server-mysql-operator:0.9.0
182+
# initImage: percona/percona-server-mysql-operator:0.10.0
182183

183184
size: 3
184185

@@ -211,13 +212,11 @@ proxy:
211212
# configuration: |
212213
#
213214
# the actual default configuration file can be found here https://github.com/percona/percona-server-mysql-operator/blob/main/build/haproxy-global.cfg
214-
#
215215
# global
216216
# maxconn 2048
217217
# external-check
218218
# insecure-fork-wanted
219219
# stats socket /etc/haproxy/mysql/haproxy.sock mode 600 expose-fd listeners level admin
220-
#
221220
# defaults
222221
# default-server init-addr last,libc,none
223222
# log global
@@ -226,20 +225,17 @@ proxy:
226225
# timeout client 28800s
227226
# timeout connect 100500
228227
# timeout server 28800s
229-
#
230228
# frontend mysql-primary-in
231229
# bind *:3309 accept-proxy
232230
# bind *:3306
233231
# mode tcp
234232
# option clitcpka
235233
# default_backend mysql-primary
236-
#
237234
# frontend mysql-replicas-in
238235
# bind *:3307
239236
# mode tcp
240237
# option clitcpka
241238
# default_backend mysql-replicas
242-
#
243239
# frontend stats
244240
# bind *:8404
245241
# mode http
@@ -257,7 +253,6 @@ proxy:
257253
# values:
258254
# - e2e-az1
259255
# - e2e-az2
260-
261256
# topologySpreadConstraints:
262257
# - labelSelector:
263258
# matchLabels:
@@ -298,18 +293,17 @@ proxy:
298293
# internalTrafficPolicy: Cluster
299294
# labels:
300295
# rack: rack-22
301-
# loadBalancerIP: 127.0.0.1
302296
# loadBalancerSourceRanges:
303297
# - 10.0.0.0/8
304298

305299
router:
306300
enabled: false
307301
image:
308302
repository: percona/percona-mysql-router
309-
tag: 8.0.40
303+
tag: 8.0.42
310304
imagePullPolicy: Always
311305
imagePullSecrets: []
312-
# initImage: percona/percona-server-mysql-operator:0.9.0
306+
# initImage: percona/percona-server-mysql-operator:0.10.0
313307

314308
size: 3
315309

@@ -331,7 +325,6 @@ proxy:
331325
# values:
332326
# - e2e-az1
333327
# - e2e-az2
334-
335328
# topologySpreadConstraints:
336329
# - labelSelector:
337330
# matchLabels:
@@ -378,20 +371,18 @@ proxy:
378371
# internalTrafficPolicy: Cluster
379372
# labels:
380373
# rack: rack-22
381-
# loadBalancerIP: 127.0.0.1
382374
# loadBalancerSourceRanges:
383375
# - 10.0.0.0/8
384376

385377
orchestrator:
386-
enabled: true
378+
enabled: false
387379
image:
388380
repository: percona/percona-orchestrator
389-
tag: 3.2.6-15
381+
tag: 3.2.6-17
390382
imagePullPolicy: Always
391383
imagePullSecrets: []
392-
# - name: private-registry-credentials
393384
# serviceAccountName: percona-server-mysql-operator-orchestrator
394-
# initImage: percona/percona-server-mysql-operator:0.9.0
385+
# initImage: percona/percona-server-mysql-operator:0.10.0
395386

396387
size: 3
397388

@@ -450,15 +441,14 @@ orchestrator:
450441
# internalTrafficPolicy: Cluster
451442
# labels:
452443
# rack: rack-22
453-
# loadBalancerIP: 127.0.0.1
454444
# loadBalancerSourceRanges:
455445
# - 10.0.0.0/8
456446

457447
pmm:
458448
enabled: false
459449
image:
460450
repository: percona/pmm-client
461-
tag: 2.44.0
451+
tag: 3.2.0
462452
imagePullPolicy: Always
463453
serverHost: monitoring-service
464454
serverUser: admin
@@ -472,7 +462,7 @@ backup:
472462
enabled: true
473463
image:
474464
repository: percona/percona-xtrabackup
475-
tag: 8.0.35-31
465+
tag: 8.0.35-33
476466
# schedule:
477467
# - name: "sat-night-backup"
478468
# schedule: "0 0 * * 6"

charts/ps-operator/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apiVersion: v2
2-
appVersion: "0.9.0"
2+
appVersion: "0.10.0"
33
description: A Helm chart for Deploying the Percona Operator for MySQL (based on Percona Server for MySQL)
44
name: ps-operator
55
home: https://docs.percona.com/percona-operator-for-mysql/ps/
6-
version: 0.9.1
6+
version: 0.10.0
77
maintainers:
88
- name: jvpasinatto
99
email: julio.pasinatto@percona.com
1010
- name: nmarukovich
1111
email: natalia.marukovich@percona.com
12-
- name: ptankov
13-
email: pavel.tankov@percona.com
12+
- name: eleo007
13+
email: eleonora.zinchenko@percona.com

charts/ps-operator/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Useful links:
66
- [Operator Documentation](https://www.percona.com/doc/kubernetes-operator-for-mysql/ps/index.html)
77

88
## Pre-requisites
9-
* Kubernetes 1.29+
9+
* Kubernetes 1.30+
1010
* Helm v3
1111

1212
# Installation
@@ -19,15 +19,15 @@ To install the chart with the `ps` release name using a dedicated namespace (rec
1919

2020
```sh
2121
helm repo add percona https://percona.github.io/percona-helm-charts/
22-
helm install my-operator percona/ps-operator --version 0.9.0 --namespace my-namespace
22+
helm install my-operator percona/ps-operator --version 0.10.0 --namespace my-namespace
2323
```
2424

2525
The chart can be customized using the following configurable parameters:
2626

2727
| Parameter | Description | Default |
2828
| ----------------------- | ---------------------------------------------------------------------------------------------- | --------------------------------------- |
2929
| `image.repository` | PS Operator Container image name | `percona/percona-server-mysql-operator` |
30-
| `image.tag` | PS Operator Container image tag | `0.9.0` |
30+
| `image.tag` | PS Operator Container image tag | `0.10.0` |
3131
| `image.pullPolicy` | PS Operator Container pull policy | `Always` |
3232
| `imagePullSecrets` | PS Operator Pod pull secret | `[]` |
3333
| `replicaCount` | PS Operator Pod quantity | `1` |

0 commit comments

Comments
 (0)