Skip to content

Commit 3cfc7c2

Browse files
authored
Merge pull request #19 from vshn/mariadb/probes_support
Add probes support and adjust default startupProbe failureThreshold
2 parents 101444c + e9e830a commit 3cfc7c2

File tree

6 files changed

+24
-6
lines changed

6 files changed

+24
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ helm repo add appcat https://charts.appcat.ch
1515

1616
| Downloads & Changelog | Chart |
1717
| --- | --- |
18-
| [![chart downloads](https://img.shields.io/github/downloads/vshn/appcat-charts/vshnmariadb-0.0.11/total)](https://github.com/vshn/appcat-charts/releases/tag/vshnmariadb-0.0.11) | [vshnmariadb](charts/vshnmariadb/README.md) |
18+
| [![chart downloads](https://img.shields.io/github/downloads/vshn/appcat-charts/vshnmariadb-0.0.12/total)](https://github.com/vshn/appcat-charts/releases/tag/vshnmariadb-0.0.12) | [vshnmariadb](charts/vshnmariadb/README.md) |
1919
| [![chart downloads](https://img.shields.io/github/downloads/vshn/appcat-charts/vshnpostgresql-0.5.0/total)](https://github.com/vshn/appcat-charts/releases/tag/vshnpostgresql-0.5.0) | [vshnpostgresql](charts/vshnpostgresql/README.md) |
2020

2121
## Add / Update Charts

charts/vshnmariadb/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
2-
appVersion: 0.0.11
2+
appVersion: 0.0.12
33
description: A Helm chart for MariaDB instances using the mariadb-operator
44
name: vshnmariadb
5-
version: 0.0.11
5+
version: 0.0.12
66
maintainers:
77
- name: Schedar Team
88
email: info@vshn.ch

charts/vshnmariadb/README.gotmpl.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ Only MariaDB official images are supported. |
2323
| `resources` | Resources describes the compute resource requirements. |
2424
| `rootPasswordSecretKeyRef` | Reference to the secret containing the root password |
2525
| `affinity` | Definites the affinity for the pods |
26+
| `startupProbe` | Startup probe configuration for MariaDB containers | `{failureThreshold: 30}`
27+
| `livenessProbe` | Liveness probe configuration for MariaDB containers |
28+
| `readinessProbe` | Readiness probe configuration for MariaDB containers |
2629

2730
### Galera
2831

charts/vshnmariadb/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vshnmariadb
22

3-
![Version: 0.0.11](https://img.shields.io/badge/Version-0.0.11-informational?style=flat-square) ![AppVersion: 0.0.11](https://img.shields.io/badge/AppVersion-0.0.11-informational?style=flat-square)
3+
![Version: 0.0.12](https://img.shields.io/badge/Version-0.0.12-informational?style=flat-square) ![AppVersion: 0.0.12](https://img.shields.io/badge/AppVersion-0.0.12-informational?style=flat-square)
44

55
A Helm chart for MariaDB instances using the mariadb-operator
66

@@ -35,6 +35,9 @@ Only MariaDB official images are supported. |
3535
| `resources` | Resources describes the compute resource requirements. |
3636
| `rootPasswordSecretKeyRef` | Reference to the secret containing the root password |
3737
| `affinity` | Definites the affinity for the pods |
38+
| `startupProbe` | Startup probe configuration for MariaDB containers | `{failureThreshold: 30}`
39+
| `livenessProbe` | Liveness probe configuration for MariaDB containers |
40+
| `readinessProbe` | Readiness probe configuration for MariaDB containers |
3841

3942
### Galera
4043

charts/vshnmariadb/templates/mariadb.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ spec:
2121
{{- with .Values.resources }}
2222
resources: {{ . | toYaml | nindent 4 }}
2323
{{- end }}
24+
{{- with .Values.startupProbe }}
25+
startupProbe: {{ . | toYaml | nindent 4 }}
26+
{{- end }}
27+
{{- with .Values.livenessProbe }}
28+
livenessProbe: {{ . | toYaml | nindent 4 }}
29+
{{- end }}
30+
{{- with .Values.readinessProbe }}
31+
readinessProbe: {{ . | toYaml | nindent 4 }}
32+
{{- end }}
2433
metrics:
2534
enabled: {{ .Values.metrics.enabled }}
2635
exporter:

charts/vshnmariadb/values.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ galera:
1313
config:
1414
reuseStorageVolume: true
1515
providerOptions:
16-
'gcs.fc_single_primary': 'yes'
17-
'cert.log_conflicts': 'yes'
16+
"gcs.fc_single_primary": "yes"
17+
"cert.log_conflicts": "yes"
18+
19+
startupProbe:
20+
failureThreshold: 30
1821

1922
metrics:
2023
enabled: true

0 commit comments

Comments
 (0)