mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/redis] Avoid generating null annotations (#8588)
Signed-off-by: Eric Bailey <e.bailey@sportradar.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
ae9e3f8ea4
commit
9dd5c9858c
@@ -1,5 +1,5 @@
|
||||
name: redis
|
||||
version: 4.2.1
|
||||
version: 4.2.2
|
||||
appVersion: 4.0.11
|
||||
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
|
||||
keywords:
|
||||
|
||||
@@ -8,8 +8,10 @@ metadata:
|
||||
chart: {{ template "redis.chart" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
{{- if .Values.metrics.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.metrics.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.metrics.service.type }}
|
||||
{{ if eq .Values.metrics.service.type "LoadBalancer" -}} {{ if .Values.metrics.service.loadBalancerIP -}}
|
||||
|
||||
@@ -8,8 +8,8 @@ metadata:
|
||||
chart: {{ template "redis.chart" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
annotations:
|
||||
{{- if .Values.slave.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.slave.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user