Skip to content

Commit

Permalink
fix(deployment): Liveness and Readiness probes configure options (#467)
Browse files Browse the repository at this point in the history
* fix(deployment): Liveness and Readiness probes configure options

Co-authored-by: martin.kucin <[email protected]>
  • Loading branch information
Mart-Kuc and martin.kucin authored Sep 18, 2024
1 parent f4ac690 commit dea8a0b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/weblate/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ appVersion: 5.7.2.1
description: Weblate is a free web-based translation management system.
name: weblate
type: application
version: 0.5.12
version: 0.5.13
home: https://weblate.org/
icon: https://s.weblate.org/cdn/weblate.svg
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/weblate/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# weblate

![Version: 0.5.12](https://img.shields.io/badge/Version-0.5.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.7.2.1](https://img.shields.io/badge/AppVersion-5.7.2.1-informational?style=flat-square)
![Version: 0.5.13](https://img.shields.io/badge/Version-0.5.13-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.7.2.1](https://img.shields.io/badge/AppVersion-5.7.2.1-informational?style=flat-square)

Weblate is a free web-based translation management system.

Expand Down
12 changes: 6 additions & 6 deletions charts/weblate/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,18 +184,18 @@ spec:
httpGet:
path: {{ $.Values.sitePrefix }}/healthz/
port: http
failureThreshold: {{ .failureThreshold }}
initialDelaySeconds: {{ .initialDelaySeconds }}
periodSeconds: {{ .periodSeconds }}
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
{{- end }}
{{- if .Values.readinessProbe }}
readinessProbe:
httpGet:
path: {{ $.Values.sitePrefix }}/healthz/
port: http
failureThreshold: {{ .failureThreshold }}
initialDelaySeconds: {{ .initialDelaySeconds }}
periodSeconds: {{ .periodSeconds }}
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
{{- end }}
volumeMounts:
- mountPath: {{ .Values.persistence.filestore_dir }}
Expand Down

0 comments on commit dea8a0b

Please sign in to comment.