From f41bb516e4011c0b7e507bf062b00e26e7949ec2 Mon Sep 17 00:00:00 2001 From: David Collom Date: Wed, 15 Nov 2023 10:05:49 +0000 Subject: [PATCH] name the metrics port --- deploy/charts/version-checker/templates/deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/charts/version-checker/templates/deployment.yaml b/deploy/charts/version-checker/templates/deployment.yaml index 96b3c44b..5f610e6d 100644 --- a/deploy/charts/version-checker/templates/deployment.yaml +++ b/deploy/charts/version-checker/templates/deployment.yaml @@ -36,7 +36,8 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - - containerPort: 8080 + - name: metrics + containerPort: 8080 command: ["version-checker"] args: - "--image-cache-timeout={{.Values.versionChecker.imageCacheTimeout}}"