mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/magento] Release 0.4.7 (#929)
* magento: update to `bitnami/magento:2.16-r0` * magento: bump chart version to `0.4.7` * magento: fixes command to get application password from secret * magento: fix probes to properly query pod health
This commit is contained in:
committed by
Michael Goodness
parent
1f20c91e69
commit
eb00628f87
@@ -1,5 +1,5 @@
|
||||
name: magento
|
||||
version: 0.4.6
|
||||
version: 0.4.7
|
||||
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
|
||||
|
||||
@@ -19,14 +19,16 @@ host. To configure Magento with the URL of your service:
|
||||
Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "fullname" . }}'
|
||||
|
||||
export APP_HOST=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
export APP_PASSWORD=$(printf $(printf '\%o' `kubectl get secret --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath="{.data.magento-password[*]}"`))
|
||||
export APP_DATABASE_PASSWORD=$(printf $(printf '\%o' `kubectl get secret --namespace {{ .Release.Namespace }} {{ template "mariadb.fullname" . }} -o jsonpath="{.data.mariadb-root-password[*]}"`))
|
||||
export APP_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath="{.data.magento-password}" | base64 --decode)
|
||||
{{- if .Values.mariadb.mariadbRootPassword }}
|
||||
export APP_DATABASE_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "mariadb.fullname" . }} -o jsonpath="{.data.mariadb-root-password}" | base64 --decode)
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
2. Complete your Magento deployment by running:
|
||||
|
||||
helm upgrade {{ .Release.Name }} \
|
||||
--set magentoHost=$APP_HOST,magentoPassword=$APP_PASSWORD,mariadb.mariadbRootPassword=$APP_DATABASE_PASSWORD stable/magento
|
||||
--set magentoHost=$APP_HOST,magentoPassword=$APP_PASSWORD{{ if .Values.mariadb.mariadbRootPassword }},mariadb.mariadbRootPassword=$APP_DATABASE_PASSWORD{{ end }} stable/magento
|
||||
|
||||
{{- else -}}
|
||||
1. Get the Magento URL by running:
|
||||
|
||||
@@ -53,23 +53,25 @@ spec:
|
||||
- name: https
|
||||
containerPort: 443
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- nc
|
||||
- -z
|
||||
- localhost
|
||||
- "80"
|
||||
initialDelaySeconds: 120
|
||||
httpGet:
|
||||
path: /index.php
|
||||
port: http
|
||||
httpHeaders:
|
||||
- name: Host
|
||||
value: {{ include "host" . | quote }}
|
||||
initialDelaySeconds: 180
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 6
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- nc
|
||||
- -z
|
||||
- localhost
|
||||
- "80"
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 1
|
||||
httpGet:
|
||||
path: /index.php
|
||||
port: http
|
||||
httpHeaders:
|
||||
- name: Host
|
||||
value: {{ include "host" . | quote }}
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 3
|
||||
periodSeconds: 5
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 10 }}
|
||||
volumeMounts:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
## Bitnami Magento image version
|
||||
## ref: https://hub.docker.com/r/bitnami/magento/tags/
|
||||
##
|
||||
image: bitnami/magento:2.1.5-r2
|
||||
image: bitnami/magento:2.1.6-r0
|
||||
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
|
||||
Reference in New Issue
Block a user