From bc24d9f56445baf356b4d41fcb1c9fd4bc2b3725 Mon Sep 17 00:00:00 2001 From: Cesar Okuti Date: Tue, 13 Apr 2021 20:29:58 -0300 Subject: [PATCH] remove dots and quotes from toYaml serviceaccount Signed-off-by: Cesar Okuti --- .../templates/bots/slack/serviceaccount.yaml | 2 +- charts/argocd-notifications/templates/serviceaccount.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/argocd-notifications/templates/bots/slack/serviceaccount.yaml b/charts/argocd-notifications/templates/bots/slack/serviceaccount.yaml index e74042be..3f2529cb 100644 --- a/charts/argocd-notifications/templates/bots/slack/serviceaccount.yaml +++ b/charts/argocd-notifications/templates/bots/slack/serviceaccount.yaml @@ -7,6 +7,6 @@ metadata: {{- include "argocd-notifications.bots.slack.labels" . | nindent 4 }} {{- if .Values.bots.slack.serviceAccount.annotations }} annotations: - {{- toYaml ".Values.bots.slack.serviceAccount.annotations" . | nindent 4 }} + {{- toYaml .Values.bots.slack.serviceAccount.annotations | nindent 4 }} {{ end }} {{ end }} diff --git a/charts/argocd-notifications/templates/serviceaccount.yaml b/charts/argocd-notifications/templates/serviceaccount.yaml index a5b9abdb..1caa9b77 100644 --- a/charts/argocd-notifications/templates/serviceaccount.yaml +++ b/charts/argocd-notifications/templates/serviceaccount.yaml @@ -7,6 +7,6 @@ metadata: {{- include "argocd-notifications.labels" . | nindent 4 }} {{- if .Values.serviceAccount.annotations }} annotations: - {{- toYaml ".Values.serviceAccount.annotations" . | nindent 4 }} + {{- toYaml .Values.serviceAccount.annotations | nindent 4 }} {{- end }} {{- end }}