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: {}