[bitnami/metallb] update tplValue references (#4886)

This commit is contained in:
Gabor Hudiczius
2021-01-05 08:25:11 +01:00
committed by GitHub
parent 39bde563ed
commit e5ad2d80a2
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v2
name: metallb
description: The Metal LB for Kubernetes
version: 2.0.2
version: 2.0.3
appVersion: 0.9.5
home: https://github.com/bitnami/charts/tree/master/bitnami/metallb
icon: https://bitnami.com/assets/stacks/metallb-speaker/img/metallb-speaker-stack-220x234.png
@@ -64,12 +64,12 @@ spec:
name: {{ include "metallb.speaker.secretName" . }}
key: {{ include "metallb.speaker.secretKey" . }}
{{- if .Values.speaker.extraEnvVars }}
{{- include "metallb.tplValue" ( dict "value" .Values.speaker.extraEnvVars "context" $ ) | nindent 8 }}
{{- include "common.tplvalues.render" ( dict "value" .Values.speaker.extraEnvVars "context" $ ) | nindent 8 }}
{{- end }}
{{- if .Values.extraEnvVarsSecret }}
envFrom:
- secretRef:
name: {{ include "metallb.tplValue" ( dict "value" .Values.speaker.extraEnvVarsSecret "context" $ ) }}
name: {{ include "common.tplvalues.render" ( dict "value" .Values.speaker.extraEnvVarsSecret "context" $ ) }}
{{- end }}
ports:
- name: metrics
@@ -109,11 +109,11 @@ spec:
add: {{- toYaml .Values.speaker.securityContext.capabilities.add | nindent 12 }}
{{- end }}
nodeSelector:
{{- if .Values.speaker.nodeSelector }} {{- include "metallb.tplValue" (dict "value" .Values.speaker.nodeSelector "context" $) | nindent 8 }}
{{- if .Values.speaker.nodeSelector }} {{- include "common.tplvalues.render" (dict "value" .Values.speaker.nodeSelector "context" $) | nindent 8 }}
{{- end }}
"kubernetes.io/os": linux
{{- if .Values.speaker.affinity }}
affinity: {{- include "metallb.tplValue" (dict "value" .Values.speaker.affinity "context" $) | nindent 8 }}
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.speaker.affinity "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.speaker.tolerations}}
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.speaker.tolerations "context" $) | nindent 8 }}