diff --git a/bitnami/nginx/Chart.yaml b/bitnami/nginx/Chart.yaml index 2cbfbeec3b..0dbc1b663c 100644 --- a/bitnami/nginx/Chart.yaml +++ b/bitnami/nginx/Chart.yaml @@ -25,4 +25,4 @@ name: nginx sources: - https://github.com/bitnami/bitnami-docker-nginx - https://www.nginx.org -version: 9.7.9 +version: 9.8.0 diff --git a/bitnami/nginx/README.md b/bitnami/nginx/README.md index 37e7d6aaea..06d1d7875b 100644 --- a/bitnami/nginx/README.md +++ b/bitnami/nginx/README.md @@ -97,6 +97,8 @@ The command removes all the Kubernetes components associated with the chart and | Name | Description | Value | | --------------------------------------- | ----------------------------------------------------------------------------------------- | ------- | | `replicaCount` | Number of NGINX replicas to deploy | `1` | +| `updateStrategy.type` | NGINX deployment strategy type | `""` | +| `updateStrategy.rollingUpdate` | NGINX deployment rolling update configuration parameters | `{}` | | `podLabels` | Additional labels for NGINX pods | `{}` | | `podAnnotations` | Annotations for NGINX pods | `{}` | | `podAffinityPreset` | Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | diff --git a/bitnami/nginx/templates/deployment.yaml b/bitnami/nginx/templates/deployment.yaml index 16de858f08..6a58f6b33d 100644 --- a/bitnami/nginx/templates/deployment.yaml +++ b/bitnami/nginx/templates/deployment.yaml @@ -11,6 +11,9 @@ metadata: {{- end }} spec: replicas: {{ .Values.replicaCount }} + {{- if .Values.updateStrategy }} + strategy: {{- toYaml .Values.updateStrategy | nindent 4 }} + {{- end }} selector: matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }} template: diff --git a/bitnami/nginx/values.yaml b/bitnami/nginx/values.yaml index f0052262ae..d18f933e37 100644 --- a/bitnami/nginx/values.yaml +++ b/bitnami/nginx/values.yaml @@ -98,6 +98,13 @@ extraEnvVarsSecret: "" ## @param replicaCount Number of NGINX replicas to deploy ## replicaCount: 1 +## @param updateStrategy.type NGINX deployment strategy type +## @param updateStrategy.rollingUpdate NGINX deployment rolling update configuration parameters +## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy +## +updateStrategy: + type: RollingUpdate + rollingUpdate: {} ## @param podLabels Additional labels for NGINX pods ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ ##