[bitnami/contour] Make envoy minReadySeconds configurable (#7644)

* [bitnami/contour] Make envoy minReadySeconds configurable

Let users override `minReadySeconds` value of envoy Deployment or
DaemonSet.

Signed-off-by: Sunghoon Kang <hoon@linecorp.com>

* [bitnami/contour] Bump chart version to 5.6.0

https://github.com/bitnami/charts/pull/7644#discussion_r718239245

Co-authored-by: Miguel Ángel Cabrera Miñagorri <devgorri@gmail.com>

Co-authored-by: Miguel Ángel Cabrera Miñagorri <devgorri@gmail.com>
This commit is contained in:
Sunghoon Kang
2021-10-01 17:31:32 +09:00
committed by GitHub
parent 39ce0f4da4
commit 2385aa21e2
5 changed files with 7 additions and 1 deletions

View File

@@ -27,4 +27,4 @@ sources:
- https://github.com/envoyproxy/envoy
- https://github.com/bitnami/bitnami-docker-contour
- https://projectcontour.io
version: 5.5.3
version: 5.6.0

View File

@@ -147,6 +147,7 @@ $ helm uninstall my-release
| `envoy.kind` | Install as deployment or daemonset | `daemonset` |
| `envoy.replicaCount` | Desired number of Controller pods | `1` |
| `envoy.updateStrategy` | Strategy to use to update Pods | `{}` |
| `envoy.minReadySeconds` | The minimum number of seconds for which a newly created Pod should be ready | `0` |
| `envoy.revisionHistoryLimit` | The number of old history to retain to allow rollback | `10` |
| `envoy.autoscaling.enabled` | Enable autoscaling for Controller | `false` |
| `envoy.autoscaling.minReplicas` | Minimum number of Controller replicas | `1` |

View File

@@ -11,6 +11,7 @@ spec:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 10%
minReadySeconds: {{ .Values.envoy.minReadySeconds }}
selector:
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
app.kubernetes.io/component: envoy

View File

@@ -20,6 +20,7 @@ spec:
{{- if .Values.envoy.updateStrategy }}
strategy: {{- toYaml .Values.envoy.updateStrategy | nindent 4 }}
{{- end }}
minReadySeconds: {{ .Values.envoy.minReadySeconds }}
selector:
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
app.kubernetes.io/component: envoy

View File

@@ -345,6 +345,9 @@ envoy:
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
##
updateStrategy: {}
## @param envoy.minReadySeconds The minimum number of seconds for which a newly created Pod should be ready
##
minReadySeconds: 0
## @param envoy.revisionHistoryLimit The number of old history to retain to allow rollback
##
revisionHistoryLimit: 10