[bitnami/redmine] Enable PodDisruptionBudgets (#26376)

* [bitnami/redmine] 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-05-24 07:49:51 +02:00
committed by GitHub
parent 26f761041f
commit 4ffd3fd91c
5 changed files with 311 additions and 306 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -43,4 +43,4 @@ maintainers:
name: redmine
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/redmine
version: 28.1.0
version: 28.2.0

View File

@@ -416,16 +416,16 @@ helm install test --set persistence.existingClaim=PVC_REDMINE,mariadb.persistenc
### Other Parameters
| Name | Description | Value |
| -------------------------- | -------------------------------------------------------------- | ------- |
| `pdb.create` | Enable a Pod Disruption Budget creation | `false` |
| `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 Horizontal POD autoscaling for Redmine | `false` |
| `autoscaling.minReplicas` | Minimum number of Redmine replicas | `1` |
| `autoscaling.maxReplicas` | Maximum number of Redmine replicas | `11` |
| `autoscaling.targetCPU` | Target CPU utilization percentage | `50` |
| `autoscaling.targetMemory` | Target Memory utilization percentage | `50` |
| Name | Description | Value |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- |
| `pdb.create` | Enable 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. Defaults to `1` if both `server.pdb.minAvailable` and `server.pdb.maxUnavailable` are empty. | `""` |
| `autoscaling.enabled` | Enable Horizontal POD autoscaling for Redmine | `false` |
| `autoscaling.minReplicas` | Minimum number of Redmine replicas | `1` |
| `autoscaling.maxReplicas` | Maximum number of Redmine replicas | `11` |
| `autoscaling.targetCPU` | Target CPU utilization percentage | `50` |
| `autoscaling.targetMemory` | Target Memory utilization percentage | `50` |
### Database Parameters

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

@@ -655,10 +655,10 @@ serviceAccount:
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
## @param pdb.create Enable a Pod Disruption Budget creation
## @param pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `server.pdb.minAvailable` and `server.pdb.maxUnavailable` are empty.
##
pdb:
create: false
create: true
minAvailable: ""
maxUnavailable: ""
## Redmine Autoscaling configuration