Skip to content

Commit 969feff

Browse files
committed
feat(helm): disable pdb by default
1 parent 92d0976 commit 969feff

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

helm/ggbridge/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ A Helm chart for installing ggbridge
6565
| networkPolicy.ingressNSMatchLabels | object | `{}` | Labels to match to allow traffic to the proxy server from other namespaces |
6666
| networkPolicy.ingressNSPodMatchLabels | object | `{}` | Pod labels to match to allow traffic to the proxy server from other namespaces |
6767
| nodeSelector | object | `{}` | Node labels for pod assignment |
68-
| pdb.create | bool | `true` | Enable/disable a Pod Disruption Budget creation |
68+
| pdb.create | bool | `false` | Enable/disable a Pod Disruption Budget creation |
6969
| pdb.maxUnavailable | string | `""` | Max number of pods that can be unavailable after the eviction |
7070
| pdb.minAvailable | int | `1` | Minimum number of pods that must still be available after the eviction |
7171
| podAnnotations | object | `{}` | This is for setting Kubernetes Annotations to a Pod |

helm/ggbridge/templates/server/pdb.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (eq .Values.mode "server") }}
1+
{{- if and (eq .Values.mode "server") .Values.pdb.create }}
22
{{- range $index := until (int .Values.deploymentCount) }}
33
{{- $fullname := include "ggbridge.fullname" $ }}
44
{{- $serverFullname := include "ggbridge.server.fullname" $ }}

helm/ggbridge/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ labels: {}
226226

227227
pdb:
228228
# -- Enable/disable a Pod Disruption Budget creation
229-
create: true
229+
create: false
230230
# -- Minimum number of pods that must still be available after the eviction
231231
minAvailable: 1
232232
# -- Max number of pods that can be unavailable after the eviction

0 commit comments

Comments
 (0)