From 148d53e8a173907c33a96ef5edcedae3fb77b3bd Mon Sep 17 00:00:00 2001 From: John Riebold Date: Thu, 22 Feb 2024 17:16:13 -0800 Subject: [PATCH] chore: Updates chart to latest version, pulls version from Chart.yaml --- chart/sqs-prometheus-exporter/Chart.yaml | 4 ++-- chart/sqs-prometheus-exporter/templates/deployment.yaml | 2 +- chart/sqs-prometheus-exporter/values.yaml | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/chart/sqs-prometheus-exporter/Chart.yaml b/chart/sqs-prometheus-exporter/Chart.yaml index 1e9936d..0fffb41 100644 --- a/chart/sqs-prometheus-exporter/Chart.yaml +++ b/chart/sqs-prometheus-exporter/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: sqs-prometheus-exporter -version: 1.1.5 +version: 1.1.6 description: Helm chart for the SQS Prometheus Exporter keywords: - prometheus @@ -15,4 +15,4 @@ sources: maintainers: - name: John Riebold email: jmriebold@gmail.com -appVersion: 1.0.5 +appVersion: 1.0.6 diff --git a/chart/sqs-prometheus-exporter/templates/deployment.yaml b/chart/sqs-prometheus-exporter/templates/deployment.yaml index 76cce30..9cc9102 100644 --- a/chart/sqs-prometheus-exporter/templates/deployment.yaml +++ b/chart/sqs-prometheus-exporter/templates/deployment.yaml @@ -30,7 +30,7 @@ spec: {{- end }} containers: - name: {{ .Values.app.name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: IfNotPresent ports: - name: traffic diff --git a/chart/sqs-prometheus-exporter/values.yaml b/chart/sqs-prometheus-exporter/values.yaml index 2be7deb..a483f8d 100644 --- a/chart/sqs-prometheus-exporter/values.yaml +++ b/chart/sqs-prometheus-exporter/values.yaml @@ -3,7 +3,8 @@ app: image: repository: ghcr.io/jmriebold/sqs-prometheus-exporter - tag: 1.0.5 + # Defaults to appVersion in Chart.yaml + tag: "" deployment: resources: