Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
fix: annotation is created only if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
emas80 authored Nov 28, 2019
1 parent f80c95c commit 176fca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/flux/templates/memcached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ spec:
release: {{ .Release.Name }}
template:
metadata:
annotations:
{{- if .Values.memcached.annotations }}
annotations:
{{- .Values.memcached.annotations | toYaml | trimSuffix "\n" | nindent 8 }}
{{- end }}
labels:
Expand Down

0 comments on commit 176fca6

Please sign in to comment.