[bitnami/nginx] Allow using percentages when configuring the pdb (#16055)

* [bitnami/nginx] Allow using percentages when configuring the pdb

Signed-off-by: jotamartos <jotamartos@vmware.com>

* Bump version

Signed-off-by: jotamartos <jotamartos@vmware.com>

* Add more information about how to configure pdb

Signed-off-by: jotamartos <jotamartos@vmware.com>

* Update README.md with readme-generator-for-helm

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

---------

Signed-off-by: jotamartos <jotamartos@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:
Juan José Martos
2023-04-19 09:46:02 +02:00
committed by GitHub
parent a099e6475c
commit b112b44b9b
4 changed files with 7 additions and 19 deletions

View File

@@ -25,4 +25,4 @@ name: nginx
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/nginx
- https://www.nginx.org
version: 13.2.33
version: 13.2.34

View File

@@ -165,8 +165,8 @@ The command removes all the Kubernetes components associated with the chart and
| `sidecarSingleProcessNamespace` | Enable sharing the process namespace with sidecars | `false` |
| `initContainers` | Extra init containers | `[]` |
| `pdb.create` | Created a PodDisruptionBudget | `false` |
| `pdb.minAvailable` | Min number of pods that must still be available after the eviction | `1` |
| `pdb.maxUnavailable` | Max number of pods that can be unavailable after the eviction | `0` |
| `pdb.minAvailable` | Min number of pods that must still be available after the eviction. | `1` |
| `pdb.maxUnavailable` | Max number of pods that can be unavailable after the eviction. | `0` |
### Custom NGINX application parameters

View File

@@ -76,20 +76,6 @@
}
}
}
},
"pdb": {
"type": "object",
"properties": {
"create": {
"type": "boolean"
},
"minAvailable": {
"type": "integer"
},
"maxUnavailable": {
"type": "integer"
}
}
}
}
}

View File

@@ -393,10 +393,12 @@ pdb:
## @param pdb.create Created a PodDisruptionBudget
##
create: false
## @param pdb.minAvailable Min number of pods that must still be available after the eviction
## @param pdb.minAvailable Min number of pods that must still be available after the eviction.
## You can specify an integer or a percentage by setting the value to a string representation of a percentage (eg. "50%"). It will be disabled if set to 0
##
minAvailable: 1
## @param pdb.maxUnavailable Max number of pods that can be unavailable after the eviction
## @param pdb.maxUnavailable Max number of pods that can be unavailable after the eviction.
## You can specify an integer or a percentage by setting the value to a string representation of a percentage (eg. "50%"). It will be disabled if set to 0
##
maxUnavailable: 0