mirror of
https://github.com/bitnami/charts.git
synced 2026-02-25 15:57:33 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -76,20 +76,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pdb": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"create": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"minAvailable": {
|
||||
"type": "integer"
|
||||
},
|
||||
"maxUnavailable": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user