Skip to content

Commit

Permalink
add pdb (#134)
Browse files Browse the repository at this point in the history
Signed-off-by: André Bauer <[email protected]>

Signed-off-by: André Bauer <[email protected]>
  • Loading branch information
monotek authored Nov 30, 2022
1 parent e393b01 commit d1d811f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/visual-regression-tracker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sources:
- https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker
- https://github.com/kokuwaio/helm-charts/tree/main/charts/visual-regression-tracker
type: application
version: 0.4.2
version: 0.5.0
appVersion: "4.20.5"
maintainers:
- name: monotek
Expand Down
13 changes: 13 additions & 0 deletions charts/visual-regression-tracker/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{{- if .Values.podDisruptionBudget -}}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "visual-regression-tracker.fullname" . }}
labels:
{{- include "visual-regression-tracker.labels" . | nindent 4 }}
spec:
{{- toYaml .Values.podDisruptionBudget | nindent 2}}
selector:
matchLabels:
{{- include "visual-regression-tracker.selectorLabels" . | nindent 6 }}
{{- end -}}
3 changes: 3 additions & 0 deletions charts/visual-regression-tracker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ topologySpreadConstraints: []

podAnnotations: {}

podDisruptionBudget: {}
# maxUnavailable: 1

podSecurityContext: {}
# fsGroup: 2000

Expand Down

0 comments on commit d1d811f

Please sign in to comment.