Skip to content

Commit

Permalink
Fix: Name the metrics port for some operators to collect metrics (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcollom authored Nov 17, 2023
1 parent 9149ad7 commit 4134de2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/charts/version-checker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand Down

0 comments on commit 4134de2

Please sign in to comment.