[bitnami/mxnet: Use merge helper]: (#19077)

This commit is contained in:
Juan Ariza Toledano
2023-09-06 12:51:51 +02:00
committed by GitHub
parent a55cb6ca45
commit 815f176ccc
8 changed files with 25 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.9.2
digest: sha256:0d1ed3ab5c6a7e3ab3bfaea47851d574aae674797326572c51719718026e1f63
generated: "2023-09-04T03:31:36.347759146Z"
version: 2.10.0
digest: sha256:023ded170632d04528f30332370f34fc8fb96efb2886a01d934cb3bd6e6d2e09
generated: "2023-09-05T11:34:53.000825+02:00"

View File

@@ -14,23 +14,23 @@ annotations:
apiVersion: v2
appVersion: 1.9.1
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
tags:
- bitnami-common
version: 2.x.x
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
tags:
- bitnami-common
version: 2.x.x
description: Apache MXNet (Incubating) is a flexible and efficient library for deep learning designed to work as a neural network. Bitnami image ships OpenBLAS as math library.
home: https://bitnami.com
icon: https://bitnami.com/assets/stacks/mxnet/img/mxnet-stack-220x234.png
keywords:
- mxnet
- python
- machine
- learning
- mxnet
- python
- machine
- learning
maintainers:
- name: VMware, Inc.
url: https://github.com/bitnami/charts
- name: VMware, Inc.
url: https://github.com/bitnami/charts
name: mxnet
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/mxnet
version: 3.4.1
- https://github.com/bitnami/charts/tree/main/bitnami/mxnet
version: 3.4.2

View File

@@ -19,7 +19,7 @@ spec:
{{- if .Values.scheduler.updateStrategy }}
strategy: {{- toYaml .Values.scheduler.updateStrategy | nindent 4 }}
{{- end }}
{{- $podLabels := merge .Values.scheduler.podLabels .Values.commonLabels }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.scheduler.podLabels .Values.commonLabels ) "context" . ) }}
selector:
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
template:

View File

@@ -12,7 +12,7 @@ metadata:
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
app.kubernetes.io/component: scheduler
{{- if or .Values.scheduler.service.annotations .Values.commonAnnotations }}
{{- $annotations := merge .Values.scheduler.service.annotations .Values.commonAnnotations }}
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.scheduler.service.annotations .Values.commonAnnotations ) "context" . ) }}
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
{{- end }}
spec:
@@ -47,7 +47,7 @@ spec:
{{- if .Values.scheduler.service.extraPorts }}
{{- include "common.tplvalues.render" (dict "value" .Values.scheduler.service.extraPorts "context" $) | nindent 4 }}
{{- end }}
{{- $podLabels := merge .Values.scheduler.podLabels .Values.commonLabels }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.scheduler.podLabels .Values.commonLabels ) "context" . ) }}
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
app.kubernetes.io/component: scheduler
{{- end }}

View File

@@ -20,7 +20,7 @@ spec:
updateStrategy: {{- toYaml .Values.server.updateStrategy | nindent 4 }}
{{- end }}
podManagementPolicy: {{ .Values.server.podManagementPolicy }}
{{- $podLabels := merge .Values.server.podLabels .Values.commonLabels }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.server.podLabels .Values.commonLabels ) "context" . ) }}
selector:
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
app.kubernetes.io/component: server
@@ -247,7 +247,7 @@ spec:
- metadata:
name: data
{{- if or .Values.persistence.annotations .Values.commonAnnotations }}
{{- $claimAnnotations := merge .Values.persistence.annotations .Values.commonAnnotations }}
{{- $claimAnnotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.persistence.annotations .Values.commonAnnotations ) "context" . ) }}
annotations: {{- include "common.tplvalues.render" ( dict "value" $claimAnnotations "context" $) | nindent 4 }}
{{- end }}
{{- if .Values.commonLabels }}

View File

@@ -21,7 +21,7 @@ spec:
updateStrategy: {{- toYaml .Values.worker.updateStrategy | nindent 4 }}
{{- end }}
serviceName: {{ printf "%s-headless" (include "common.names.fullname" .) }}
{{- $podLabels := merge .Values.worker.podLabels .Values.commonLabels }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.worker.podLabels .Values.commonLabels ) "context" . ) }}
selector:
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
app.kubernetes.io/component: worker
@@ -245,7 +245,7 @@ spec:
- metadata:
name: data
{{- if or .Values.persistence.annotations .Values.commonAnnotations }}
{{- $claimAnnotations := merge .Values.persistence.annotations .Values.commonAnnotations }}
{{- $claimAnnotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.persistence.annotations .Values.commonAnnotations ) "context" . ) }}
annotations: {{- include "common.tplvalues.render" ( dict "value" $claimAnnotations "context" $) | nindent 4 }}
{{- end }}
{{- if .Values.commonLabels }}

View File

@@ -15,7 +15,7 @@ metadata:
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- 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 }}
{{- end }}
spec:

View File

@@ -19,7 +19,7 @@ spec:
{{- if .Values.standalone.updateStrategy }}
strategy: {{- toYaml .Values.standalone.updateStrategy | nindent 6 }}
{{- end }}
{{- $podLabels := merge .Values.standalone.podLabels .Values.commonLabels }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.standalone.podLabels .Values.commonLabels ) "context" . ) }}
selector:
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
app.kubernetes.io/component: standalone