Skip to content

Commit

Permalink
fix: correct issue with converting chart version to image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Jul 29, 2024
1 parent 22c00bd commit 9248587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/nats-blackbox-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (trimPrefix "v" .Chart.AppVersion) }}"
args:
- --configPath
- /app/setting/config.yaml
Expand Down

0 comments on commit 9248587

Please sign in to comment.