Skip to content

Commit e579761

Browse files
Merge pull request #839 from percona/ps-vault-secret
Add Vault support
2 parents 09a16a9 + 38eddac commit e579761

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

charts/ps-db/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: "1.0.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: 1.0.0
6+
version: 1.0.1
77
maintainers:
88
- name: jvpasinatto
99
email: julio.pasinatto@percona.com

charts/ps-db/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ 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-db percona/ps-db --version 1.0.0 --namespace my-namespace
22+
helm install my-db percona/ps-db --version 1.0.1 --namespace my-namespace
2323
```
2424

2525
The chart can be customized using the following configurable parameters:
@@ -55,6 +55,7 @@ The chart can be customized using the following configurable parameters:
5555
||
5656
| `mysql.clusterType` | MySQL Cluster type (`async` or `group-replication`) | `group-replication` |
5757
| `mysql.autoRecovery` | Enable/Disable auto recovery from full cluster crash | `true` |
58+
| `mysql.vaultSecretName` | The Kubernetes Secret containing vault configuration for table encryption | `` |
5859
| `mysql.podDisruptionBudget.maxUnavailable` | MySQL failed Pods maximum quantity | `1` |
5960
| `mysql.podDisruptionBudget.minAvailable` | MySQL available Pods minimum quantity | `` |
6061
| `mysql.image.repository` | MySQL Container image repository | `percona/percona-server` |

charts/ps-db/templates/cluster.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ spec:
105105
{{- if $mysql.autoRecovery }}
106106
autoRecovery: {{ $mysql.autoRecovery }}
107107
{{- end }}
108+
{{- if $mysql.vaultSecretName }}
109+
vaultSecretName: {{ $mysql.vaultSecretName }}
110+
{{- end }}
108111
{{- if $mysql.image }}
109112
image: "{{ $mysql.image.repository }}:{{ $mysql.image.tag }}"
110113
{{- end }}

charts/ps-db/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ upgradeOptions:
6666
mysql:
6767
clusterType: group-replication
6868
autoRecovery: true
69+
# vaultSecretName: ps-cluster1-vault
6970
podDisruptionBudget:
7071
maxUnavailable: 1
7172
# minAvailable: 0

0 commit comments

Comments
 (0)