mirror of
https://github.com/bitnami/charts.git
synced 2026-03-08 17:27:20 +08:00
[bitnami/apache] Allow setting deployment's revisionHistoryLimit (#16016)
Signed-off-by: Patrick Hobusch <patrick@hobusch.net>
This commit is contained in:
@@ -26,4 +26,4 @@ name: apache
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/apache
|
||||
- https://httpd.apache.org
|
||||
version: 9.2.23
|
||||
version: 9.3.0
|
||||
|
||||
@@ -92,6 +92,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `git.pullPolicy` | Git image pull policy | `IfNotPresent` |
|
||||
| `git.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `replicaCount` | Number of replicas of the Apache deployment | `1` |
|
||||
| `revisionHistoryLimit` | The number of old history to retain to allow rollback | `10` |
|
||||
| `podAffinityPreset` | Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
| `podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `soft` |
|
||||
| `nodeAffinityPreset.type` | Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
|
||||
@@ -14,6 +14,7 @@ spec:
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
|
||||
{{- if .Values.updateStrategy }}
|
||||
strategy: {{- toYaml .Values.updateStrategy | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -96,6 +96,9 @@ git:
|
||||
## @param replicaCount Number of replicas of the Apache deployment
|
||||
##
|
||||
replicaCount: 1
|
||||
## @param revisionHistoryLimit The number of old history to retain to allow rollback
|
||||
##
|
||||
revisionHistoryLimit: 10
|
||||
## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
||||
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user