From 44a70d6e83ab1efc4c57ca2b3da83f99689d4425 Mon Sep 17 00:00:00 2001 From: Bharat Kunwar Date: Tue, 31 Jan 2023 15:26:46 +0000 Subject: [PATCH] Bump appVersion and chart version, default to appVersion (#64) --- charts/unleash/Chart.yaml | 4 ++-- charts/unleash/templates/deployment.yaml | 2 +- charts/unleash/values.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/unleash/Chart.yaml b/charts/unleash/Chart.yaml index 19e7736..7a33dec 100644 --- a/charts/unleash/Chart.yaml +++ b/charts/unleash/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: "4.15.1" +appVersion: "4.19.4" dependencies: - name: postgresql repository: https://charts.bitnami.com/bitnami @@ -15,4 +15,4 @@ sources: - https://github.com/Unleash/unleash - https://github.com/Unleash/helm-charts type: application -version: 2.7.4 +version: 2.7.5 diff --git a/charts/unleash/templates/deployment.yaml b/charts/unleash/templates/deployment.yaml index 3afc277..460a67e 100644 --- a/charts/unleash/templates/deployment.yaml +++ b/charts/unleash/templates/deployment.yaml @@ -67,7 +67,7 @@ spec: {{- with .Values.existingSecrets }} {{- tpl . $ | nindent 12 }} {{- end }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http diff --git a/charts/unleash/values.yaml b/charts/unleash/values.yaml index 9e36fab..1ec2e7a 100644 --- a/charts/unleash/values.yaml +++ b/charts/unleash/values.yaml @@ -142,7 +142,7 @@ fullnameOverride: "" image: repository: unleashorg/unleash-server - tag: 4.12.6 + tag: # Obtained from .Chart.AppVersion, up to date tags available at https://hub.docker.com/r/unleashorg/unleash-server/tags pullPolicy: Always imagePullSecrets: []