From 55942a11af4f1e74ed10c623801483faa2729fac Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Tue, 12 Sep 2023 08:38:22 +0300 Subject: [PATCH] bump adapter to 0.11.1 Signed-off-by: drfaust92 --- charts/prometheus-adapter/Chart.yaml | 4 ++-- charts/prometheus-adapter/templates/deployment.yaml | 2 +- charts/prometheus-adapter/values.yaml | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/prometheus-adapter/Chart.yaml b/charts/prometheus-adapter/Chart.yaml index 84a22eb9872f..5759511c5bb3 100644 --- a/charts/prometheus-adapter/Chart.yaml +++ b/charts/prometheus-adapter/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: prometheus-adapter -version: 4.4.1 -appVersion: v0.11.0 +version: 4.5.0 +appVersion: v0.11.1 description: A Helm chart for k8s prometheus adapter home: https://github.com/kubernetes-sigs/prometheus-adapter keywords: diff --git a/charts/prometheus-adapter/templates/deployment.yaml b/charts/prometheus-adapter/templates/deployment.yaml index 5be132f9beb9..8068180b443d 100644 --- a/charts/prometheus-adapter/templates/deployment.yaml +++ b/charts/prometheus-adapter/templates/deployment.yaml @@ -50,7 +50,7 @@ spec: {{- end }} containers: - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} {{- with .Values.env }} env: diff --git a/charts/prometheus-adapter/values.yaml b/charts/prometheus-adapter/values.yaml index a1dc139a1a26..495a5c764f3c 100644 --- a/charts/prometheus-adapter/values.yaml +++ b/charts/prometheus-adapter/values.yaml @@ -4,7 +4,8 @@ topologySpreadConstraints: [] image: repository: registry.k8s.io/prometheus-adapter/prometheus-adapter - tag: v0.11.0 + # if not set appVersion field from Chart.yaml is used + tag: "" pullPolicy: IfNotPresent logLevel: 4