[bitnami/fluent-bit] Enable PodDisruptionBudgets (#26693)

* [bitnami/fluent-bit] Enable PodDisruptionBudgets

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Fran Mulero <fmulero@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Fran Mulero
2024-06-06 08:56:20 +02:00
committed by GitHub
parent 3f55468208
commit a746ed1b65
5 changed files with 11 additions and 7 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 2.2.3 (2024-06-04)
## 2.3.0 (2024-06-04)
* [bitnami/fluent-bit] Bump chart version ([#26631](https://github.com/bitnami/charts/pull/26631))
* [bitnami/fluent-bit] Enable PodDisruptionBudgets ([#26693](https://github.com/bitnami/charts/pull/26693))
## <small>2.2.3 (2024-06-04)</small>
* [bitnami/fluent-bit] Bump chart version (#26631) ([3119749](https://github.com/bitnami/charts/commit/311974914d758451d8ed6a7754b3bff61e1633f0)), closes [#26631](https://github.com/bitnami/charts/issues/26631)
## <small>2.2.2 (2024-05-27)</small>

View File

@@ -28,4 +28,4 @@ maintainers:
name: fluent-bit
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/fluent-bit
version: 2.2.3
version: 2.3.0

View File

@@ -306,7 +306,7 @@ As an alternative, use one of the preset configurations for pod affinity, pod an
| `ingress.extraTls` | The tls configuration for additional hostnames to be covered with this ingress record. | `[]` |
| `ingress.secrets` | If you're providing your own certificates, please use this to add the certificates as secrets | `[]` |
| `ingress.extraRules` | Additional rules to be covered with this ingress record | `[]` |
| `pdb.create` | Deploy a PodDisruptionBudget object for Fluent Bit deployment | `false` |
| `pdb.create` | Deploy a PodDisruptionBudget object for Fluent Bit deployment | `true` |
| `pdb.minAvailable` | Minimum available Fluent Bit replicas (expressed in percentage) | `""` |
| `pdb.maxUnavailable` | Maximum unavailable Fluent Bit replicas (expressed in percentage) | `50%` |
| `metrics.enabled` | Enable the export of Prometheus metrics | `false` |

View File

@@ -18,8 +18,8 @@ spec:
{{- if .Values.pdb.minAvailable }}
minAvailable: {{ .Values.pdb.minAvailable }}
{{- end }}
{{- if .Values.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.pdb.maxUnavailable }}
{{- if or .Values.pdb.maxUnavailable ( not .Values.pdb.minAvailable ) }}
maxUnavailable: {{ .Values.pdb.maxUnavailable | default 1 }}
{{- end }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
selector:

View File

@@ -747,7 +747,7 @@ ingress:
## @param pdb.maxUnavailable Maximum unavailable Fluent Bit replicas (expressed in percentage)
##
pdb:
create: false
create: true
minAvailable: ""
maxUnavailable: "50%"
## Prometheus metrics