[bitnami/magento] Add strategy type to Magento deployment (#2437)

* Add strategy type to Magento deployment

* Update readme.md

* Update bitnami/magento/README.md

Co-Authored-By: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

* Update bitnami/magento/values-production.yaml

Co-Authored-By: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

* Update bitnami/magento/values.yaml

Co-Authored-By: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

* Update bitnami/magento/templates/deployment.yaml

Co-Authored-By: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

* Update values-production.yaml

* Update values.yaml

* [bitnami/magento] Update components versions

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

Co-authored-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Stijn Brouwers
2020-04-29 17:14:49 +02:00
committed by GitHub
parent ad91d9802b
commit ef6951da99
6 changed files with 22 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: v1
name: magento
version: 12.0.8
appVersion: 2.3.4
version: 12.1.0
appVersion: 2.3.5
description: A feature-rich flexible e-commerce solution. It includes transaction options, multi-store functionality, loyalty programs, product categorization and shopper filtering, promotion rules, and more.
keywords:
- magento

View File

@@ -137,6 +137,7 @@ The following table lists the configurable parameters of the Magento chart and t
| `persistence.magento.storageClass` | PVC Storage Class for Magento volume | `nil` (uses alpha storage annotation) |
| `persistence.magento.accessMode` | PVC Access Mode for Magento volume | `ReadWriteOnce` |
| `persistence.magento.size` | PVC Storage Request for Magento volume | `8Gi` |
| `updateStrategy` | Set to Recreate if you use persistent volume that cannot be mounted by more than one pods | `RollingUpdate` |
| `resources` | CPU/Memory resource requests/limits | Memory: `512Mi`, CPU: `300m` |
| `podAnnotations` | Pod annotations | `{}` |
| `affinity` | Map of node/pod affinities | `{}` |

View File

@@ -4,6 +4,6 @@ dependencies:
version: 7.3.21
- name: elasticsearch
repository: https://charts.bitnami.com/bitnami
version: 11.0.19
digest: sha256:d3279ddbeb1ee8f73855a85d2f15614448f697c6486b52456321b7901b09ffe9
generated: "2020-04-22T06:33:48.517376934Z"
version: 11.0.20
digest: sha256:c8d4211df185057b15280557594df0dcfdbf583d804801876bd2da9ef0213ab2
generated: "2020-04-29T11:44:09.051477719Z"

View File

@@ -13,6 +13,8 @@ spec:
matchLabels:
app: {{ template "magento.fullname" . }}
release: "{{ .Release.Name }}"
strategy:
type: {{ .Values.updateStrategy }}
template:
metadata:
labels:

View File

@@ -14,7 +14,7 @@
image:
registry: docker.io
repository: bitnami/magento
tag: 2.3.4-debian-10-r72
tag: 2.3.5-debian-10-r5
## Set to true if you would like to see extra information on logs
## It turns BASH and NAMI debugging in minideb
## ref: https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
@@ -183,7 +183,7 @@ elasticsearch:
image:
registry: docker.io
repository: bitnami/elasticsearch
tag: 6.8.8-debian-10-r22
tag: 6.8.8-debian-10-r33
## Enable to perform the sysctl operation
sysctlImage:
enabled: true
@@ -265,6 +265,10 @@ persistence:
accessMode: ReadWriteOnce
size: 8Gi
## Set to Recreate if you use persistent volume that cannot be mounted by more than one pods
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
updateStrategy: RollingUpdate
## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
@@ -343,7 +347,7 @@ metrics:
image:
registry: docker.io
repository: bitnami/apache-exporter
tag: 0.8.0-debian-10-r17
tag: 0.8.0-debian-10-r23
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.

View File

@@ -14,7 +14,7 @@
image:
registry: docker.io
repository: bitnami/magento
tag: 2.3.4-debian-10-r72
tag: 2.3.5-debian-10-r5
## Set to true if you would like to see extra information on logs
## It turns BASH and NAMI debugging in minideb
## ref: https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
@@ -183,7 +183,7 @@ elasticsearch:
image:
registry: docker.io
repository: bitnami/elasticsearch
tag: 6.8.8-debian-10-r22
tag: 6.8.8-debian-10-r33
## Enable to perform the sysctl operation
sysctlImage:
enabled: true
@@ -265,6 +265,10 @@ persistence:
accessMode: ReadWriteOnce
size: 8Gi
## Set to Recreate if you use persistent volume that cannot be mounted by more than one pods
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
updateStrategy: RollingUpdate
## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
@@ -343,7 +347,7 @@ metrics:
image:
registry: docker.io
repository: bitnami/apache-exporter
tag: 0.8.0-debian-10-r17
tag: 0.8.0-debian-10-r23
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.