From 47ab3474f4d505e5a5ce2bdc44513f3ffe76fea7 Mon Sep 17 00:00:00 2001 From: Ashish Jaiswal Date: Wed, 15 Jan 2025 11:12:36 +0530 Subject: [PATCH] fix: the appversion and correct key to lookup to find the image.tag --- argocd-helm-charts/cve-dictionary/Chart.yaml | 2 +- argocd-helm-charts/cve-dictionary/templates/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/argocd-helm-charts/cve-dictionary/Chart.yaml b/argocd-helm-charts/cve-dictionary/Chart.yaml index 8205d31b3..386bde179 100644 --- a/argocd-helm-charts/cve-dictionary/Chart.yaml +++ b/argocd-helm-charts/cve-dictionary/Chart.yaml @@ -21,4 +21,4 @@ version: 0.1.0 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.16.0" +appVersion: "v0.11.0" diff --git a/argocd-helm-charts/cve-dictionary/templates/deployment.yaml b/argocd-helm-charts/cve-dictionary/templates/deployment.yaml index 08577037e..37d5ec7f0 100644 --- a/argocd-helm-charts/cve-dictionary/templates/deployment.yaml +++ b/argocd-helm-charts/cve-dictionary/templates/deployment.yaml @@ -32,7 +32,7 @@ spec: - name: {{ .Chart.Name }}-cve securityContext: {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.cve.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{ .Values.image.cve.repository }}:{{ .Values.image.cve.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http @@ -51,7 +51,7 @@ spec: - name: {{ .Chart.Name }}-oval securityContext: {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.oval.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{ .Values.image.oval.repository }}:{{ .Values.image.oval.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http