File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ charts-dir: squadcast-helm
55sign : false
66charts_repo_url : https://squadcasthub.github.io/helm-infra
77index-path : .
8- version : 0.2.6
8+ version : 0.2.7
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ name: squadcast-helm
33description : A Helm chart for Kubernetes
44type : application
55
6- version : 0.2.6
6+ version : 0.2.7
77
88appVersion : " 1.16.0"
Original file line number Diff line number Diff line change 1+ ---
2+ # PodDisruptionBudget for squadcast-helm
3+ {{- if .Values.pdb.enabled }}
4+ apiVersion : policy/v1
5+ kind : PodDisruptionBudget
6+ metadata :
7+ name : {{ include "squadcast-helm.fullname" . }}
8+ labels :
9+ {{- include "squadcast-helm.labels" . | nindent 4 }}
10+ namespace : {{ .Values.namespace }}
11+ spec :
12+ minAvailable : {{ .Values.pdb.minAvailable | default 1 }}
13+ selector :
14+ matchLabels :
15+ {{- include "squadcast-helm.selectorLabels" . | nindent 6 }}
16+ {{- end }}
Original file line number Diff line number Diff line change @@ -94,3 +94,8 @@ serviceMonitor:
9494# schedule: "*/1 * * * *"
9595# command: ["/bin/sh"]
9696# args: ["-c", "echo 'hello world'"]
97+
98+ # to enable pdb
99+ pdb :
100+ enabled : true
101+ minAvailable : 1
You can’t perform that action at this time.
0 commit comments