mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitnami/magento]: Use merge helper (#19064)
Signed-off-by: juan131 <jariza@vmware.com>
This commit is contained in:
committed by
GitHub
parent
af9ef0175c
commit
a59d6d0358
@@ -1,12 +1,12 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: mariadb
|
- name: mariadb
|
||||||
repository: oci://registry-1.docker.io/bitnamicharts
|
repository: oci://registry-1.docker.io/bitnamicharts
|
||||||
version: 13.1.1
|
version: 13.1.2
|
||||||
- name: elasticsearch
|
- name: elasticsearch
|
||||||
repository: oci://registry-1.docker.io/bitnamicharts
|
repository: oci://registry-1.docker.io/bitnamicharts
|
||||||
version: 19.11.0
|
version: 19.11.0
|
||||||
- name: common
|
- name: common
|
||||||
repository: oci://registry-1.docker.io/bitnamicharts
|
repository: oci://registry-1.docker.io/bitnamicharts
|
||||||
version: 2.9.0
|
version: 2.10.0
|
||||||
digest: sha256:28d6322e04f54d99adf97f754ac6edf06220d0f6fd6d9e914714701291e3e8e4
|
digest: sha256:fa78bf436be6f3f9a288e20d63c2b6efc9667d2ab95861f5a52c5e7787684694
|
||||||
generated: "2023-08-25T15:53:42.120632+02:00"
|
generated: "2023-09-05T11:34:01.99799+02:00"
|
||||||
|
|||||||
@@ -18,34 +18,34 @@ annotations:
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 2.4.6
|
appVersion: 2.4.6
|
||||||
dependencies:
|
dependencies:
|
||||||
- condition: mariadb.enabled
|
- condition: mariadb.enabled
|
||||||
name: mariadb
|
name: mariadb
|
||||||
repository: oci://registry-1.docker.io/bitnamicharts
|
repository: oci://registry-1.docker.io/bitnamicharts
|
||||||
tags:
|
tags:
|
||||||
- magento-database
|
- magento-database
|
||||||
version: 13.x.x
|
version: 13.x.x
|
||||||
- condition: elasticsearch.enabled
|
- condition: elasticsearch.enabled
|
||||||
name: elasticsearch
|
name: elasticsearch
|
||||||
repository: oci://registry-1.docker.io/bitnamicharts
|
repository: oci://registry-1.docker.io/bitnamicharts
|
||||||
version: 19.x.x
|
version: 19.x.x
|
||||||
- name: common
|
- name: common
|
||||||
repository: oci://registry-1.docker.io/bitnamicharts
|
repository: oci://registry-1.docker.io/bitnamicharts
|
||||||
tags:
|
tags:
|
||||||
- bitnami-common
|
- bitnami-common
|
||||||
version: 2.x.x
|
version: 2.x.x
|
||||||
description: Magento is a powerful open source e-commerce platform. With easy customizations and rich features, it allows retailers to grow their online businesses in a cost-effective way.
|
description: Magento is a powerful open source e-commerce platform. With easy customizations and rich features, it allows retailers to grow their online businesses in a cost-effective way.
|
||||||
home: https://bitnami.com
|
home: https://bitnami.com
|
||||||
icon: https://bitnami.com/assets/stacks/magento/img/magento-stack-220x234.png
|
icon: https://bitnami.com/assets/stacks/magento/img/magento-stack-220x234.png
|
||||||
keywords:
|
keywords:
|
||||||
- magento
|
- magento
|
||||||
- e-commerce
|
- e-commerce
|
||||||
- http
|
- http
|
||||||
- web
|
- web
|
||||||
- php
|
- php
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: VMware, Inc.
|
- name: VMware, Inc.
|
||||||
url: https://github.com/bitnami/charts
|
url: https://github.com/bitnami/charts
|
||||||
name: magento
|
name: magento
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/bitnami/charts/tree/main/bitnami/magento
|
- https://github.com/bitnami/charts/tree/main/bitnami/magento
|
||||||
version: 23.1.0
|
version: 23.1.1
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ spec:
|
|||||||
{{- if .Values.updateStrategy }}
|
{{- if .Values.updateStrategy }}
|
||||||
strategy: {{- include "common.tplvalues.render" (dict "value" .Values.updateStrategy "context" $ ) | nindent 4 }}
|
strategy: {{- include "common.tplvalues.render" (dict "value" .Values.updateStrategy "context" $ ) | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $podLabels := merge .Values.podLabels .Values.commonLabels }}
|
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||||
template:
|
template:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||||
{{- if or .Values.ingress.annotations .Values.commonAnnotations }}
|
{{- if or .Values.ingress.annotations .Values.commonAnnotations }}
|
||||||
{{- $annotations := merge .Values.ingress.annotations .Values.commonAnnotations }}
|
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.ingress.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ metadata:
|
|||||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||||
app.kubernetes.io/component: metrics
|
app.kubernetes.io/component: metrics
|
||||||
{{- if or .Values.metrics.service.annotations .Values.commonAnnotations }}
|
{{- if or .Values.metrics.service.annotations .Values.commonAnnotations }}
|
||||||
{{- $annotations := merge .Values.metrics.service.annotations .Values.commonAnnotations }}
|
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.metrics.service.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
@@ -22,6 +22,6 @@ spec:
|
|||||||
targetPort: metrics
|
targetPort: metrics
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: metrics
|
name: metrics
|
||||||
{{- $podLabels := merge .Values.podLabels .Values.commonLabels }}
|
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
|
||||||
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
|
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Copyright VMware, Inc.
|
|||||||
SPDX-License-Identifier: APACHE-2.0
|
SPDX-License-Identifier: APACHE-2.0
|
||||||
*/}}
|
*/}}
|
||||||
|
|
||||||
{{- $podLabels := merge .Values.podLabels .Values.commonLabels }}
|
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
|
||||||
{{- if and .Values.networkPolicy.enabled .Values.networkPolicy.ingressRules.backendOnlyAccessibleByFrontend }}
|
{{- if and .Values.networkPolicy.enabled .Values.networkPolicy.ingressRules.backendOnlyAccessibleByFrontend }}
|
||||||
apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }}
|
apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }}
|
||||||
kind: NetworkPolicy
|
kind: NetworkPolicy
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ metadata:
|
|||||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- $podLabels := merge .Values.podLabels .Values.commonLabels }}
|
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
|
||||||
podSelector:
|
podSelector:
|
||||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||||
ingress:
|
ingress:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||||
{{- if or .Values.persistence.annotations .Values.commonAnnotations }}
|
{{- if or .Values.persistence.annotations .Values.commonAnnotations }}
|
||||||
{{- $annotations := merge .Values.persistence.annotations .Values.commonAnnotations }}
|
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.persistence.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ metadata:
|
|||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||||
{{- if or .Values.persistence.annotations .Values.commonAnnotations }}
|
{{- if or .Values.persistence.annotations .Values.commonAnnotations }}
|
||||||
{{- $annotations := merge .Values.persistence.annotations .Values.commonAnnotations }}
|
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.persistence.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -53,5 +53,5 @@ spec:
|
|||||||
{{- if .Values.service.extraPorts }}
|
{{- if .Values.service.extraPorts }}
|
||||||
{{- include "common.tplvalues.render" (dict "value" .Values.service.extraPorts "context" $) | nindent 4 }}
|
{{- include "common.tplvalues.render" (dict "value" .Values.service.extraPorts "context" $) | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $podLabels := merge .Values.podLabels .Values.commonLabels }}
|
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
|
||||||
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
|
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user