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-1477: Add enableVolumeExpansion #390

Merged
merged 4 commits into from
Oct 16, 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
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
path-ignore:
- 'charts/gcp-marketplace/**'
branches:
- main
- release-1.14.1-merged

jobs:
release:
Expand All @@ -15,6 +15,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: 'release-1.14.1-merged'

- name: Configure Git
run: |
Expand Down
4 changes: 2 additions & 2 deletions charts/pxc-db/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
13 changes: 7 additions & 6 deletions charts/pxc-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ 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:

| 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` |
| `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 | `""` |
Expand Down Expand Up @@ -116,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 | `` |
Expand Down Expand Up @@ -175,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 | `` |
Expand Down Expand Up @@ -220,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 | `` |
Expand All @@ -243,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 | `` |
Expand Down
1 change: 1 addition & 0 deletions charts/pxc-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
{{- end }}
spec:
crVersion: {{ .Chart.AppVersion }}
enableVolumeExpansion: {{ .Values.enableVolumeExpansion }}
{{- if .Values.ignoreAnnotations }}
ignoreAnnotations:
{{ .Values.ignoreAnnotations | toYaml | indent 4 }}
Expand Down
9 changes: 6 additions & 3 deletions charts/pxc-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ annotations: {}

operatorImageRepository: percona/percona-xtradb-cluster-operator

crVersion: 1.14.0
crVersion: 1.14.1

enableVolumeExpansion: false

ignoreAnnotations: []
# - iam.amazonaws.com/role
ignoreLabels: []
Expand Down Expand Up @@ -367,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: |
Expand Down Expand Up @@ -563,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
Expand Down
4 changes: 2 additions & 2 deletions charts/pxc-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
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.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 | `[]` |
Expand Down
2 changes: 2 additions & 0 deletions charts/pxc-operator/crds/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1894,6 +1894,8 @@ spec:
type: string
enableCRValidationWebhook:
type: boolean
enableVolumeExpansion:
type: boolean
haproxy:
properties:
affinity:
Expand Down
Loading