From 727fff66bcc6c43750d26060fe7c4adac730a9e8 Mon Sep 17 00:00:00 2001 From: rmccright-ms3 Date: Tue, 10 Aug 2021 11:20:59 -0400 Subject: [PATCH] Adding Service level Annotations to Values --- tavros/camel-web-service/Chart.yaml | 2 +- tavros/camel-web-service/templates/service.yaml | 3 +++ tavros/camel-web-service/values.yaml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tavros/camel-web-service/Chart.yaml b/tavros/camel-web-service/Chart.yaml index 1458d23..8f66c43 100644 --- a/tavros/camel-web-service/Chart.yaml +++ b/tavros/camel-web-service/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.1 +version: 0.2.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/tavros/camel-web-service/templates/service.yaml b/tavros/camel-web-service/templates/service.yaml index 8129d71..7f097ba 100644 --- a/tavros/camel-web-service/templates/service.yaml +++ b/tavros/camel-web-service/templates/service.yaml @@ -8,6 +8,9 @@ metadata: {{ .Values.service.port }}.service.kuma.io/protocol: http 8080.service.kuma.io/protocol: http ingress.kubernetes.io/service-upstream: "true" +{{- with .Values.service.annotations }} + {{- toYaml . | nindent 4 }} +{{- end }} spec: type: {{ .Values.service.type }} ports: diff --git a/tavros/camel-web-service/values.yaml b/tavros/camel-web-service/values.yaml index 893a3d1..332509e 100644 --- a/tavros/camel-web-service/values.yaml +++ b/tavros/camel-web-service/values.yaml @@ -17,6 +17,7 @@ podEnvVars: [] podAnnotations: {} service: + annotations: {} type: ClusterIP port: 9000