[bitnami/aspnet-core] Enable PodDisruptionBudgets (#26686)

* [bitnami/aspnet-core] 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-05 09:45:15 +02:00
committed by GitHub
parent 4e3585ebd0
commit c6f0ebfabd
5 changed files with 13 additions and 9 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 6.1.2 (2024-06-04)
## 6.2.0 (2024-06-04)
* [bitnami/aspnet-core] Bump chart version ([#26621](https://github.com/bitnami/charts/pull/26621))
* [bitnami/aspnet-core] Enable PodDisruptionBudgets ([#26686](https://github.com/bitnami/charts/pull/26686))
## <small>6.1.2 (2024-06-04)</small>
* [bitnami/aspnet-core] Bump chart version (#26621) ([2f31401](https://github.com/bitnami/charts/commit/2f31401c926f6f39e7bb4333348cd23c281a6bd9)), closes [#26621](https://github.com/bitnami/charts/issues/26621)
## <small>6.1.1 (2024-05-29)</small>

View File

@@ -31,4 +31,4 @@ maintainers:
name: aspnet-core
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/aspnet-core
version: 6.1.2
version: 6.2.0

View File

@@ -304,8 +304,8 @@ For annotations, please see [this document](https://github.com/kubernetes/ingres
| `customLivenessProbe` | Custom livenessProbe that overrides the default one | `{}` |
| `customStartupProbe` | Custom startupProbe that overrides the default one | `{}` |
| `customReadinessProbe` | Custom readinessProbe that overrides the default one | `{}` |
| `pdb.create` | Enable/disable a Pod Disruption Budget creation | `false` |
| `pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `1` |
| `pdb.create` | Enable/disable a Pod Disruption Budget creation | `true` |
| `pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `""` |
| `pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable | `""` |
| `autoscaling.enabled` | Enable autoscaling for ASP.NET Core | `false` |
| `autoscaling.minReplicas` | Minimum number of ASP.NET Core replicas | `1` |

View File

@@ -17,8 +17,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

@@ -369,8 +369,8 @@ customReadinessProbe: {}
## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""
## ASP.NET Core Autoscaling parameters.
## @param autoscaling.enabled Enable autoscaling for ASP.NET Core