Add podDistruptionBudget resource for controller pods (#805)

* Add podDistruptionBudget resource for controller pods

* Add PDB to GithubWebhookServer

* Fix truncation on pdb naming

Co-authored-by: Roee Landesman <roee.landesman@gmail.com>
This commit is contained in:
Roee Landesman
2021-11-15 11:07:23 -08:00
committed by GitHub
parent b87e6e3966
commit 7ee1d6bcdb
6 changed files with 65 additions and 1 deletions

View File

@@ -109,6 +109,12 @@ tolerations: []
affinity: {}
# Only one of minAvailable or maxUnavailable can be set
podDisruptionBudget:
enabled: false
# minAvailable: 1
# maxUnavailable: 3
# Leverage a PriorityClass to ensure your pods survive resource shortages
# ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
# PriorityClass: system-cluster-critical
@@ -179,3 +185,9 @@ githubWebhookServer:
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# Only one of minAvailable or maxUnavailable can be set
podDisruptionBudget:
enabled: false
# minAvailable: 1
# maxUnavailable: 3