Skip to content

Commit

Permalink
fix: the appversion and correct key to lookup to find the image.tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish1099 committed Jan 17, 2025
1 parent b108862 commit 47ab347
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion argocd-helm-charts/cve-dictionary/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions argocd-helm-charts/cve-dictionary/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 47ab347

Please sign in to comment.