Skip to content

Commit

Permalink
Merge pull request #389 from percona/release-1.15.1
Browse files Browse the repository at this point in the history
K8SPXC-1477: Add enableVolumeExpansion
  • Loading branch information
jvpasinatto authored Oct 24, 2024
2 parents f4a8dd8 + 150162a commit 640673d
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 14 deletions.
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.15.0
appVersion: 1.15.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.15.0
version: 1.15.1
maintainers:
- name: tplavcic
email: [email protected]
Expand Down
9 changes: 5 additions & 4 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.15.0 --namespace my-namespace
helm install my-db percona/pxc-db --version 1.15.1 --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.15.0` |
| `crVersion` | Version of the Operator the Custom Resource belongs to | `1.15.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` |
| `unsafeFlags.tls` | Allows users to configure a cluster without TLS/SSL certificates | `false` |
| `unsafeFlags.pxcSize` | Allows users to configure a cluster with less than 3 Percona XtraDB Cluster instances | `false` |
| `unsafeFlags.proxySize` | Allows users to configure a cluster with less than 2 ProxySQL or HAProxy Pods | `false` |
Expand Down Expand Up @@ -229,7 +230,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.15.0-logcollector-fluentbit3.1.4` |
| `logcollector.image` | Log collector image repository | `percona/percona-xtradb-cluster-operator:1.15.1-logcollector-fluentbit3.1.4` |
| `logcollector.imagePullSecrets` | Log collector pull secret | `[]` |
| `logcollector.imagePullPolicy` | The policy used to update images | `` |
| `logcollector.configuration` | User defined configuration for logcollector | `` |
Expand All @@ -253,7 +254,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.repository` | Backup Container image | `percona/percona-xtradb-cluster-operator` |
| `backup.image.tag` | Backup Container tag | `1.15.0-pxc8.0-backup-pxb8.0.35` |
| `backup.image.tag` | Backup Container tag | `1.15.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
11 changes: 7 additions & 4 deletions charts/pxc-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@ annotations: {}

operatorImageRepository: percona/percona-xtradb-cluster-operator

crVersion: 1.15.0
crVersion: 1.15.1

enableVolumeExpansion: false

ignoreAnnotations: []
# - iam.amazonaws.com/role
ignoreLabels: []
# - rack
pause: false
# initContainer:
# image: "percona/percona-xtradb-cluster-operator:1.15.0"
# image: "percona/percona-xtradb-cluster-operator:1.15.1"
# resources:
# requests:
# memory: 100M
Expand Down Expand Up @@ -526,7 +529,7 @@ proxysql:

logcollector:
enabled: true
image: percona/percona-xtradb-cluster-operator:1.15.0-logcollector-fluentbit3.1.4
image: percona/percona-xtradb-cluster-operator:1.15.1-logcollector-fluentbit3.1.4
# imagePullPolicy: Always
imagePullSecrets: []
# configuration: |
Expand Down Expand Up @@ -570,7 +573,7 @@ backup:
# allowParallel: true
image:
repository: percona/percona-xtradb-cluster-operator
tag: 1.15.0-pxc8.0-backup-pxb8.0.35
tag: 1.15.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.15.0
appVersion: 1.15.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.15.0
version: 1.15.1
maintainers:
- name: tplavcic
email: [email protected]
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.15.0 --namespace my-namespace
helm install my-operator percona/pxc-operator --version 1.15.1 --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.0` |
| `image` | PXC Operator Container image full path | `percona/percona-xtradb-cluster-operator:1.15.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 @@ -1974,6 +1974,8 @@ spec:
type: string
enableCRValidationWebhook:
type: boolean
enableVolumeExpansion:
type: boolean
haproxy:
properties:
affinity:
Expand Down

0 comments on commit 640673d

Please sign in to comment.