File tree Expand file tree Collapse file tree 5 files changed +37
-1
lines changed
Expand file tree Collapse file tree 5 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 1+ ## 0.5.27
2+
3+ [ FEATURE] Add support for ` PodDisruptionBudget ` [ #727 ] ( https://github.com/WeblateOrg/helm/pull/727 )
4+
15## 0.5.26
26
37[ FEATURE] Configurable service.publishNotReadyAddresses [ #674 ] ( https://github.com/WeblateOrg/helm/pull/674 )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ appVersion: 5.15.1.3
44description : Weblate is a free web-based translation management system.
55name : weblate
66type : application
7- version : 0.5.26
7+ version : 0.5.27
88home : https://weblate.org/
99icon : https://s.weblate.org/cdn/weblate.svg
1010maintainers :
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ $ helm install my-release weblate/weblate
7575| livenessProbe.timeoutSeconds | int | ` 5 ` | |
7676| nameOverride | string | ` "" ` | |
7777| nodeSelector | object | ` {} ` | |
78+ | pdb.create | bool | ` false ` | |
7879| persistence.accessMode | string | ` "ReadWriteOnce" ` | |
7980| persistence.enabled | bool | ` true ` | |
8081| persistence.existingClaim | string | ` "" ` | Use an existing volume claim |
Original file line number Diff line number Diff line change 1+ {{- if .Values.pdb.create }}
2+ apiVersion : policy/v1
3+ kind : PodDisruptionBudget
4+ metadata :
5+ name : {{ include "weblate.fullname" . }}-pdb
6+ namespace : {{ .Release.Namespace }}
7+ labels :
8+ {{ include "weblate.labels" . | indent 4 }}
9+ spec :
10+ selector :
11+ matchLabels :
12+ app.kubernetes.io/name : {{ include "weblate.name" . }}
13+ app.kubernetes.io/instance : {{ .Release.Name }}
14+ {{- with .Values.podLabels }}
15+ {{- toYaml . | nindent 8 }}
16+ {{- end }}
17+ {{- if .Values.pdb.minAvailable }}
18+ minAvailable : {{ .Values.pdb.minAvailable }}
19+ {{- end }}
20+ {{- if or .Values.pdb.maxUnavailable ( not .Values.pdb.minAvailable ) }}
21+ maxUnavailable : {{ .Values.pdb.maxUnavailable | default 1 }}
22+ {{- end }}
23+ {{- end }}
Original file line number Diff line number Diff line change @@ -196,6 +196,14 @@ readinessProbe:
196196 failureThreshold : 2
197197 successThreshold : 1
198198
199+ # # Create Pod disruption budget
200+ pdb :
201+ create : false
202+ # # Minimum available instances
203+ # minAvailable: ""
204+ # # Maximum unavailable instances
205+ # maxUnavailable: ""
206+
199207postgresql :
200208 global :
201209 security :
You can’t perform that action at this time.
0 commit comments