From 23a3a13d02764a2066bf5dcc783c3aee2b14f128 Mon Sep 17 00:00:00 2001 From: Raman Damayeu Date: Thu, 14 Dec 2023 18:47:08 +0100 Subject: [PATCH] Add port description to odd-collector service --- charts/odd-collector/templates/service.yaml | 5 +++++ charts/odd-collector/values.yaml | 1 + 2 files changed, 6 insertions(+) diff --git a/charts/odd-collector/templates/service.yaml b/charts/odd-collector/templates/service.yaml index f484f53..bec28e2 100644 --- a/charts/odd-collector/templates/service.yaml +++ b/charts/odd-collector/templates/service.yaml @@ -9,5 +9,10 @@ metadata: labels: {{- include "odd-collector.labels" . | nindent 4 }} spec: + ports: + - port: {{ .Values.service.port }} + targetPort: http + protocol: TCP + name: http selector: {{- include "odd-collector.selectorLabels" . | nindent 4 }} diff --git a/charts/odd-collector/values.yaml b/charts/odd-collector/values.yaml index f57cd26..073ef2d 100644 --- a/charts/odd-collector/values.yaml +++ b/charts/odd-collector/values.yaml @@ -25,6 +25,7 @@ serviceAccount: service: annotations: {"eks.amazonaws.com/role-arn": "arn:aws:iam::${ACCOUNT_ID}:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM"} + port: 80 podAnnotations: {}