From 84837c34ae571c61c22956b7a77ebb1829bd6950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ege=20G=C3=BCne=C5=9F?= Date: Mon, 14 Oct 2024 20:10:35 +0300 Subject: [PATCH 1/4] K8SPXC-1477: Add enableVolumeExpansion --- charts/pxc-db/Chart.yaml | 4 ++-- charts/pxc-db/README.md | 3 ++- charts/pxc-db/values.yaml | 3 +++ charts/pxc-operator/Chart.yaml | 4 ++-- charts/pxc-operator/README.md | 4 ++-- charts/pxc-operator/crds/crd.yaml | 2 ++ 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/charts/pxc-db/Chart.yaml b/charts/pxc-db/Chart.yaml index 7bd54db8..d1277325 100644 --- a/charts/pxc-db/Chart.yaml +++ b/charts/pxc-db/Chart.yaml @@ -1,9 +1,9 @@ apiVersion: v2 -appVersion: 1.14.0 +appVersion: 1.14.1 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.14.3 +version: 1.14.4 maintainers: - name: tplavcic email: tomislav.plavcic@percona.com diff --git a/charts/pxc-db/README.md b/charts/pxc-db/README.md index b02c1f94..777abbb5 100644 --- a/charts/pxc-db/README.md +++ b/charts/pxc-db/README.md @@ -20,7 +20,7 @@ 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-db percona/pxc-db --version 1.14.0 --namespace my-namespace +helm install my-db percona/pxc-db --version 1.14.4 --namespace my-namespace ``` The chart can be customized using the following configurable parameters: @@ -31,6 +31,7 @@ The chart can be customized using the following configurable parameters: | `ignoreAnnotations` | Operator will not remove following annotations | `[]` | | `ignoreLabels` | Operator will not remove following labels | `[]` | | `pause` | Stop PXC Database safely | `false` | +| `enableVolumeExpansion` | Enable volume resizing | `false` | | `allowUnsafeConfigurations` | Allows forbidden configurations like even number of PXC cluster pods | `false` | | `enableCRValidationWebhook` | Enables or disables schema validation before applying custom resource | `false` | | `initContainer.image` | An alternative image for the initial Operator installation | `""` | diff --git a/charts/pxc-db/values.yaml b/charts/pxc-db/values.yaml index 430be291..8b0bfe7e 100644 --- a/charts/pxc-db/values.yaml +++ b/charts/pxc-db/values.yaml @@ -20,6 +20,9 @@ annotations: {} operatorImageRepository: percona/percona-xtradb-cluster-operator crVersion: 1.14.0 + +enableVolumeExpansion: false + ignoreAnnotations: [] # - iam.amazonaws.com/role ignoreLabels: [] diff --git a/charts/pxc-operator/Chart.yaml b/charts/pxc-operator/Chart.yaml index e94272a7..ea6198d0 100644 --- a/charts/pxc-operator/Chart.yaml +++ b/charts/pxc-operator/Chart.yaml @@ -1,9 +1,9 @@ apiVersion: v2 -appVersion: 1.14.0 +appVersion: 1.14.1 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.14.2 +version: 1.14.3 maintainers: - name: tplavcic email: tomislav.plavcic@percona.com diff --git a/charts/pxc-operator/README.md b/charts/pxc-operator/README.md index 671ec3be..96c2df75 100644 --- a/charts/pxc-operator/README.md +++ b/charts/pxc-operator/README.md @@ -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.14.0 --namespace my-namespace +helm install my-operator percona/pxc-operator --version 1.14.3 --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.14.0` | +| `image` | PXC Operator Container image full path | `percona/percona-xtradb-cluster-operator:1.14.1` | | `imagePullPolicy` | PXC Operator Container pull policy | `Always` | | `containerSecurityContext` | PXC Operator Container securityContext | `{}` | | `imagePullSecrets` | PXC Operator Pod pull secret | `[]` | diff --git a/charts/pxc-operator/crds/crd.yaml b/charts/pxc-operator/crds/crd.yaml index 8cb8b233..d2c0f263 100644 --- a/charts/pxc-operator/crds/crd.yaml +++ b/charts/pxc-operator/crds/crd.yaml @@ -1894,6 +1894,8 @@ spec: type: string enableCRValidationWebhook: type: boolean + enableVolumeExpansion: + type: boolean haproxy: properties: affinity: From bf48ce4cce806a39d16a038e4bdb8cdeb6b88b37 Mon Sep 17 00:00:00 2001 From: Julio Pasinatto Date: Wed, 16 Oct 2024 04:41:39 -0300 Subject: [PATCH 2/4] Update cr and image tags --- charts/pxc-db/README.md | 10 +++++----- charts/pxc-db/templates/cluster.yaml | 1 + charts/pxc-db/values.yaml | 6 +++--- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/charts/pxc-db/README.md b/charts/pxc-db/README.md index 777abbb5..52892dba 100644 --- a/charts/pxc-db/README.md +++ b/charts/pxc-db/README.md @@ -27,7 +27,7 @@ The chart can be customized using the following configurable parameters: | Parameter | Description | Default | | ------------------------------- | ------------------------------------------------------------------------------|--------------------------------------------------------------------------| -| `crVersion` | Version of the Operator the Custom Resource belongs to | `1.14.0` | +| `crVersion` | Version of the Operator the Custom Resource belongs to | `1.14.1` | | `ignoreAnnotations` | Operator will not remove following annotations | `[]` | | `ignoreLabels` | Operator will not remove following labels | `[]` | | `pause` | Stop PXC Database safely | `false` | @@ -117,7 +117,7 @@ The chart can be customized using the following configurable parameters: | | | `haproxy.enabled` | Use HAProxy as TCP proxy for PXC cluster | `true` | | `haproxy.size` | HAProxy target pod quantity. Can't even if `allowUnsafeConfigurations` is `true` | `3` | -| `haproxy.image` | HAProxy Container image repository | `percona/percona-xtradb-cluster-operator:1.14.0-haproxy` | +| `haproxy.image` | HAProxy Container image repository | `percona/percona-xtradb-cluster-operator:1.14.1-haproxy` | | `haproxy.imagePullPolicy` | The policy used to update images | `` | | `haproxy.imagePullSecrets` | HAProxy Container pull secret | `[]` | | `haproxy.configuration` | User defined HAProxy options according to HAProxy configuration file syntax | `` | @@ -176,7 +176,7 @@ The chart can be customized using the following configurable parameters: | | | `proxysql.enabled` | Use ProxySQL as TCP proxy for PXC cluster | `false` | | `proxysql.size` | ProxySQL target pod quantity. Can't even if `allowUnsafeConfigurations` is `true` | `3` | -| `proxysql.image` | ProxySQL Container image | `percona/percona-xtradb-cluster-operator:1.14.0-proxysql2.5.5-1.2` | +| `proxysql.image` | ProxySQL Container image | `percona/percona-xtradb-cluster-operator:1.14.1-proxysql2.5.5-1.2` | | `proxysql.imagePullPolicy` | The policy used to update images | `` | | `proxysql.imagePullSecrets` | ProxySQL Container pull secret | `[]` | | `proxysql.configuration` | User defined ProxySQL options according to ProxySQL configuration file syntax | `` | @@ -221,7 +221,7 @@ The chart can be customized using the following configurable parameters: | `proxysql.podSecurityContext` | A custom Kubernetes Security Context for a Pod to be used instead of the default one | `{}` | | | | `logcollector.enabled` | Enable log collector container | `true` | -| `logcollector.image` | Log collector image repository | `percona/percona-xtradb-cluster-operator:1.14.0-logcollector` | +| `logcollector.image` | Log collector image repository | `percona/percona-xtradb-cluster-operator:1.14.1-logcollector` | | `logcollector.imagePullSecrets` | Log collector pull secret | `[]` | | `logcollector.imagePullPolicy` | The policy used to update images | `` | | `logcollector.configuration` | User defined configuration for logcollector | `` | @@ -244,7 +244,7 @@ The chart can be customized using the following configurable parameters: | | | `backup.enabled` | Enables backups for PXC cluster | `true` | | `backup.allowParallel` | Allow taking multiple backups in parallel | `true` | -| `backup.image` | Backup Container image | `percona/percona-xtradb-cluster-operator:1.14.0-pxc8.0-backup-pxb8.0.35` | +| `backup.image` | Backup Container image | `percona/percona-xtradb-cluster-operator:1.14.1-pxc8.0-backup-pxb8.0.35` | | `backup.backoffLimit` | The number of retries to make a backup | `10` | | `backup.imagePullSecrets` | Backup Container pull secret | `[]` | | `backup.imagePullPolicy` | The policy used to update images | `` | diff --git a/charts/pxc-db/templates/cluster.yaml b/charts/pxc-db/templates/cluster.yaml index 628c0410..82f7b011 100644 --- a/charts/pxc-db/templates/cluster.yaml +++ b/charts/pxc-db/templates/cluster.yaml @@ -13,6 +13,7 @@ metadata: {{- end }} spec: crVersion: {{ .Chart.AppVersion }} + enableVolumeExpansion: {{ .Values.enableVolumeExpansion }} {{- if .Values.ignoreAnnotations }} ignoreAnnotations: {{ .Values.ignoreAnnotations | toYaml | indent 4 }} diff --git a/charts/pxc-db/values.yaml b/charts/pxc-db/values.yaml index 8b0bfe7e..9005c42b 100644 --- a/charts/pxc-db/values.yaml +++ b/charts/pxc-db/values.yaml @@ -19,7 +19,7 @@ annotations: {} operatorImageRepository: percona/percona-xtradb-cluster-operator -crVersion: 1.14.0 +crVersion: 1.14.1 enableVolumeExpansion: false @@ -370,7 +370,7 @@ haproxy: proxysql: enabled: false size: 3 - image: "percona/percona-xtradb-cluster-operator:1.14.0-proxysql2.5.5-1.2" + image: "percona/percona-xtradb-cluster-operator:1.14.1-proxysql2.5.5-1.2" # imagePullPolicy: Always imagePullSecrets: [] # configuration: | @@ -566,7 +566,7 @@ backup: # allowParallel: true image: repository: percona/percona-xtradb-cluster-operator - tag: 1.14.0-pxc8.0-backup-pxb8.0.35 + tag: 1.14.1-pxc8.0-backup-pxb8.0.35 # backoffLimit: 6 # serviceAccountName: percona-xtradb-cluster-operator # imagePullPolicy: Always From 38f5f19691148e0f3f1a2d6f235479d8b677c5a8 Mon Sep 17 00:00:00 2001 From: Julio Pasinatto Date: Wed, 16 Oct 2024 11:19:08 -0300 Subject: [PATCH 3/4] change branch of releaser github action --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ea41e878..cfe53fac 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,7 +5,7 @@ on: path-ignore: - 'charts/gcp-marketplace/**' branches: - - main + - release-1.14.1-merged jobs: release: From 3311c135932475a8521e8eb76061c6ccabcff549 Mon Sep 17 00:00:00 2001 From: Julio Pasinatto Date: Wed, 16 Oct 2024 16:11:28 -0300 Subject: [PATCH 4/4] Update release action --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cfe53fac..d65d4479 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,6 +15,7 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + ref: 'release-1.14.1-merged' - name: Configure Git run: |