Skip to content

Commit 4ecede2

Browse files
committed
fix(helm): FOLDER_ANNOTATION in ruler & single-binary
1 parent 7eda674 commit 4ecede2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

production/helm/loki/templates/ruler/statefulset-ruler.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ spec:
142142
{{- end }}
143143
- name: FOLDER
144144
value: "{{ .Values.sidecar.rules.folder }}"
145+
{{- if .Values.sidecar.rules.folderAnnotation }}
146+
- name: FOLDER_ANNOTATION
147+
value: "{{ .Values.sidecar.rules.folderAnnotation }}"
148+
{{- end }}
145149
- name: RESOURCE
146150
value: {{ quote .Values.sidecar.rules.resource }}
147151
{{- if .Values.sidecar.enableUniqueFilenames }}

production/helm/loki/templates/single-binary/statefulset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ spec:
170170
{{- end }}
171171
- name: FOLDER
172172
value: "{{ .Values.sidecar.rules.folder }}"
173+
{{- if .Values.sidecar.rules.folderAnnotation }}
174+
- name: FOLDER_ANNOTATION
175+
value: "{{ .Values.sidecar.rules.folderAnnotation }}"
176+
{{- end }}
173177
- name: RESOURCE
174178
value: {{ quote .Values.sidecar.rules.resource }}
175179
{{- if .Values.sidecar.enableUniqueFilenames }}

0 commit comments

Comments
 (0)