Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8SPXC-1446 - Update PXC charts for 1.16.0 release #437

Merged
merged 15 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions charts/pxc-db/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: v2
appVersion: 1.15.1
appVersion: 1.16.0
description: A Helm chart for installing Percona XtraDB Cluster Databases using the PXC Operator.
name: pxc-db
home: https://www.percona.com/doc/kubernetes-operator-for-pxc/kubernetes.html
version: 1.15.1
version: 1.16.0
maintainers:
- name: tplavcic
email: [email protected]
- name: spron-in
email: [email protected]
- name: nmarukovich
email: [email protected]
- name: jvpasinatto
email: [email protected]
icon: https://artifacthub.io/image/0b8875cd-6661-4269-9cf6-0fd92d59017b@1x
28 changes: 19 additions & 9 deletions charts/pxc-db/README.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion charts/pxc-db/templates/cluster-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ data:
root: {{ .Values.secrets.passwords.root | b64enc }}
xtrabackup: {{ .Values.secrets.passwords.xtrabackup | b64enc }}
monitor: {{ .Values.secrets.passwords.monitor | b64enc }}
clustercheck: {{ .Values.secrets.passwords.clustercheck | b64enc }}
proxyadmin: {{ .Values.secrets.passwords.proxyadmin | b64enc }}
{{- if hasKey .Values.secrets.passwords "pmmserverkey" }}
pmmserverkey: {{ .Values.secrets.passwords.pmmserverkey | b64enc }}
Expand Down
13 changes: 12 additions & 1 deletion charts/pxc-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ spec:
image: {{ .Values.initContainer.image }}
{{- else }}
image: {{ include "pxc-db.operator-image" . }}
{{- end }}
{{- if .Values.initContainer.containerSecurityContext }}
containerSecurityContext:
{{ tpl (.Values.initContainer.containerSecurityContext | toYaml) $ | indent 6 }}
{{- end }}
{{- if .Values.initContainer.resources }}
resources:
Expand Down Expand Up @@ -471,6 +475,10 @@ spec:
{{ tpl ($logcollector.containerSecurityContext | toYaml) $ | indent 6 }}
{{- end }}
{{- end }}
{{- if .Values.users }}
users:
{{ .Values.users | toYaml | indent 2 }}
{{- end }}
pmm:
{{- if not .Values.pmm.enabled }}
enabled: false
Expand Down Expand Up @@ -506,13 +514,16 @@ spec:
{{- $backup := .Values.backup }}
{{- if $backup.enabled }}
backup:
{{- if $backup.allowParallel }}
{{- if hasKey $backup "allowParallel" }}
allowParallel: {{ $backup.allowParallel }}
{{- end }}
image: {{ $backup.image.repository }}:{{ $backup.image.tag }}
{{- if $backup.backoffLimit }}
backoffLimit: {{ $backup.backoffLimit }}
{{- end }}
{{- if $backup.activeDeadlineSeconds }}
activeDeadlineSeconds: {{ $backup.activeDeadlineSeconds }}
{{- end }}
{{- if $backup.serviceAccountName }}
serviceAccountName: {{ $backup.serviceAccountName }}
{{- end }}
Expand Down
39 changes: 30 additions & 9 deletions charts/pxc-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ annotations: {}

operatorImageRepository: percona/percona-xtradb-cluster-operator

crVersion: 1.15.1
crVersion: 1.16.0

enableVolumeExpansion: false

Expand All @@ -29,7 +29,11 @@ ignoreLabels: []
# - rack
pause: false
# initContainer:
# image: "percona/percona-xtradb-cluster-operator:1.15.1"
# image: "percona/percona-xtradb-cluster-operator:1.16.0"
# containerSecurityContext:
# privileged: false
# runAsUser: 1001
# runAsGroup: 1001
# resources:
# requests:
# memory: 100M
Expand Down Expand Up @@ -63,7 +67,7 @@ pxc:
size: 3
image:
repository: percona/percona-xtradb-cluster
tag: 8.0.36-28.1
tag: 8.0.39-30.1
# imagePullPolicy: Always
autoRecovery: true
# expose:
Expand Down Expand Up @@ -210,7 +214,7 @@ pxc:
haproxy:
enabled: true
size: 3
image: percona/haproxy:2.8.5
image: percona/haproxy:2.8.11
# imagePullPolicy: Always
imagePullSecrets: []
# - name: private-registry-credentials
Expand Down Expand Up @@ -377,7 +381,7 @@ haproxy:
proxysql:
enabled: false
size: 3
image: "percona/proxysql2:2.5.5"
image: "percona/proxysql2:2.7.1"
# imagePullPolicy: Always
imagePullSecrets: []
# configuration: |
Expand Down Expand Up @@ -529,7 +533,7 @@ proxysql:

logcollector:
enabled: true
image: percona/percona-xtradb-cluster-operator:1.15.1-logcollector-fluentbit3.1.4
image: percona/percona-xtradb-cluster-operator:1.16.0-logcollector-fluentbit3.2.2
# imagePullPolicy: Always
imagePullSecrets: []
# configuration: |
Expand All @@ -549,11 +553,28 @@ logcollector:
# containerSecurityContext:
# privileged: false

# users:
# - name: my-user
# dbs:
# - db1
# - db2
# hosts:
# - localhost
# grants:
# - SELECT
# - DELETE
# - INSERT
# withGrantOption: true
# passwordSecretRef:
# name: my-user-pwd
# key: my-user-pwd-key
# - name: my-user-two

pmm:
enabled: false
image:
repository: percona/pmm-client
tag: 2.42.0
tag: 2.44.0
# imagePullPolicy: Always
imagePullSecrets: []
serverHost: monitoring-service
Expand All @@ -573,8 +594,9 @@ backup:
# allowParallel: true
image:
repository: percona/percona-xtradb-cluster-operator
tag: 1.15.1-pxc8.0-backup-pxb8.0.35
tag: 1.16.0-pxc8.0-backup-pxb8.0.35
# backoffLimit: 6
# activeDeadlineSeconds: 3600
# serviceAccountName: percona-xtradb-cluster-operator
# imagePullPolicy: Always
imagePullSecrets: []
Expand Down Expand Up @@ -689,7 +711,6 @@ secrets:
# root: insecure-root-password
# xtrabackup: insecure-xtrabackup-password
# monitor: insecure-monitor-password
# clustercheck: insecure-clustercheck-password
# proxyadmin: insecure-proxyadmin-password
# pmmserver: insecure-pmmserver-password
# # If pmmserverkey is set in that case pmmserver pass will not be included
Expand Down
8 changes: 4 additions & 4 deletions charts/pxc-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: v2
appVersion: 1.15.1
appVersion: 1.16.0
description: A Helm chart for deploying the Percona Operator for MySQL (based on Percona XtraDB Cluster)
name: pxc-operator
home: https://docs.percona.com/percona-operator-for-mysql/pxc/
version: 1.15.1
version: 1.16.0
maintainers:
- name: tplavcic
email: [email protected]
- name: nmarukovich
email: [email protected]
- name: spron-in
email: [email protected]
- name: jvpasinatto
email: [email protected]
icon: https://artifacthub.io/image/0b8875cd-6661-4269-9cf6-0fd92d59017b@1x
4 changes: 2 additions & 2 deletions charts/pxc-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ To install the chart with the `pxc` release name using a dedicated namespace (re

```sh
helm repo add percona https://percona.github.io/percona-helm-charts/
helm install my-operator percona/pxc-operator --version 1.15.1 --namespace my-namespace
helm install my-operator percona/pxc-operator --version 1.16.0 --namespace my-namespace
```

The chart can be customized using the following configurable parameters:

| Parameter | Description | Default |
| ------------------------------- | -----------------------------------------------------------------------------------------------| -------------------------------------------------|
| `image` | PXC Operator Container image full path | `percona/percona-xtradb-cluster-operator:1.15.1` |
| `image` | PXC Operator Container image full path | `percona/percona-xtradb-cluster-operator:1.16.0` |
| `imagePullPolicy` | PXC Operator Container pull policy | `Always` |
| `containerSecurityContext` | PXC Operator Container securityContext | `{}` |
| `imagePullSecrets` | PXC Operator Pod pull secret | `[]` |
Expand Down
Loading
Loading