From b464ff773195b94e8e19396cd4780261d03371d4 Mon Sep 17 00:00:00 2001 From: dferrisctrliq <92328760+dferrisctrliq@users.noreply.github.com> Date: Thu, 6 Jul 2023 12:53:42 -0700 Subject: [PATCH] Fix apollo server (#14) * fix typo in apollo service template * set values to empty dict --- deploy/apollo/apollo-server/templates/service.yaml | 4 ++-- deploy/apollo/apollo-server/values.yaml | 2 ++ 2 files changed, 4 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..0611a97 100644 --- a/deploy/apollo/apollo-server/values.yaml +++ b/deploy/apollo/apollo-server/values.yaml @@ -88,3 +88,5 @@ nodeSelector: {} tolerations: [] affinity: {} + +serviceAnnotations: {}