Skip to content

Commit

Permalink
Fix imageId assignment if alloy is disabled (#828)
Browse files Browse the repository at this point in the history
Signed-off-by: Pete Wall <pete.wall@grafana.com>
  • Loading branch information
petewall authored Oct 30, 2024
1 parent a4038f9 commit edf683a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ spec:
value: arm64
containers:
- name: alloy
image: "docker.io/grafana/alloy:%!s(<nil>)"
image: "docker.io/grafana/alloy:v1.4.2"
command:
- bash
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@ spec:
value: arm64
containers:
- name: alloy
image: "docker.io/grafana/alloy:%!s(<nil>)"
image: "docker.io/grafana/alloy:v1.4.2"
command:
- bash
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
{{- end }}
containers:
- name: alloy
image: "{{ .Values.global.image.registry | default (index .Values $enabledAlloy).image.registry }}/{{ (index .Values $enabledAlloy).image.repository }}{{ include "alloy.imageId" .Subcharts.alloy }}"
image: "{{ .Values.global.image.registry | default (index .Values $enabledAlloy).image.registry }}/{{ (index .Values $enabledAlloy).image.repository }}{{ include "alloy.imageId" (index .Subcharts $enabledAlloy) }}"
command:
- bash
- -c
Expand Down

0 comments on commit edf683a

Please sign in to comment.