mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
Synchronize upstreamed folder to 0eaf498
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: magento
|
||||
version: 3.0.4
|
||||
version: 3.1.0
|
||||
appVersion: 2.2.6
|
||||
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:
|
||||
|
||||
@@ -49,6 +49,7 @@ The following table lists the configurable parameters of the Magento chart and t
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|------------------------------------|------------------------------------------|----------------------------------------------------------|
|
||||
| `global.imageRegistry` | Global Docker image registry | `nil` |
|
||||
| `image.registry` | Magento image registry | `docker.io` |
|
||||
| `image.repository` | Magento Image name | `bitnami/magento` |
|
||||
| `image.tag` | Magento Image tag | `{VERSION}` |
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
dependencies:
|
||||
- name: mariadb
|
||||
repository: https://kubernetes-charts.storage.googleapis.com/
|
||||
version: 5.0.4
|
||||
version: 5.2.0
|
||||
digest: sha256:0593b73b2163fbbbae061de1aa2b8280d43f8a423a91e1c7375c0b6c86784b1c
|
||||
generated: 2018-09-25T11:35:19.787082498+02:00
|
||||
generated: 2018-10-16T08:48:29.636469+02:00
|
||||
|
||||
@@ -59,3 +59,26 @@ If not using ClusterIP, or if a host or LoadBalancerIP is not defined, the value
|
||||
{{- $host := index .Values (printf "%sHost" .Chart.Name) | default "" -}}
|
||||
{{- default (include "magento.serviceIP" .) $host -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper Magento image name
|
||||
*/}}
|
||||
{{- define "magento.image" -}}
|
||||
{{- $registryName := .Values.image.registry -}}
|
||||
{{- $repositoryName := .Values.image.repository -}}
|
||||
{{- $tag := .Values.image.tag | toString -}}
|
||||
{{/*
|
||||
Helm 2.11 supports the assignment of a value to a variable defined in a different scope,
|
||||
but Helm 2.9 and 2.10 doesn't support it, so we need to implement this if-else logic.
|
||||
Also, we can't use a single if because lazy evaluation is not an option
|
||||
*/}}
|
||||
{{- if .Values.global }}
|
||||
{{- if .Values.global.imageRegistry }}
|
||||
{{- printf "%s/%s:%s" .Values.global.imageRegistry $repositoryName $tag -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -28,7 +28,7 @@ spec:
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "magento.fullname" . }}
|
||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
image: {{ template "magento.image" . }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
|
||||
env:
|
||||
- name: MARIADB_HOST
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
## Global Docker image registry
|
||||
## Please, note that this will override the image registry for all the images, including dependencies, configured to use the global value
|
||||
##
|
||||
# global:
|
||||
# imageRegistry:
|
||||
|
||||
## Bitnami Magento image version
|
||||
## ref: https://hub.docker.com/r/bitnami/magento/tags/
|
||||
##
|
||||
@@ -89,6 +95,8 @@ externalDatabase:
|
||||
##
|
||||
## MariaDB chart configuration
|
||||
##
|
||||
## https://github.com/helm/charts/blob/master/stable/mariadb/values.yaml
|
||||
##
|
||||
mariadb:
|
||||
## Whether to deploy a mariadb server to satisfy the applications database requirements. To use an external database set this to false and configure the externalDatabase parameters
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user