From b3c2abfe6c0a090ee0e6d5b67ffc8e0fc53a4c92 Mon Sep 17 00:00:00 2001 From: Dan Ferris Date: Thu, 6 Jul 2023 12:50:55 -0700 Subject: [PATCH] fix typo in apollo service template --- deploy/apollo/apollo-server/templates/service.yaml | 4 ++-- deploy/apollo/apollo-server/values.yaml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/deploy/apollo/apollo-server/templates/service.yaml b/deploy/apollo/apollo-server/templates/service.yaml index 2bebad2..d5df0d0 100644 --- a/deploy/apollo/apollo-server/templates/service.yaml +++ b/deploy/apollo/apollo-server/templates/service.yaml @@ -4,9 +4,9 @@ metadata: name: {{ include "apollo-server.fullname" . }} labels: {{- include "apollo-server.labels" . | nindent 4 }} - {{ - with .apollo-server.serviceAnnotations }} + {{- with .Values.serviceAnnotations }} annotations: - {{ - toYaml . | nindent 4 }} + {{- toYaml . | nindent 4 }} {{- end }} spec: type: {{ .Values.service.type }} diff --git a/deploy/apollo/apollo-server/values.yaml b/deploy/apollo/apollo-server/values.yaml index 0ee7080..9176e68 100644 --- a/deploy/apollo/apollo-server/values.yaml +++ b/deploy/apollo/apollo-server/values.yaml @@ -88,3 +88,7 @@ nodeSelector: {} tolerations: [] affinity: {} + +serviceAnnotations: + test1: "1" + test2: "2"