From 9c68ef4fcd57d44d78b542dbc2af4888abd57cfa Mon Sep 17 00:00:00 2001 From: Wasuwat Petprakob Date: Wed, 22 Jan 2025 01:19:17 +0700 Subject: [PATCH] Fix accessing global variables inside range blocks (#121) * Fix accessing global variables inside range blocks * Update Chart.yaml Update chart version to 0.7.10 --- charts/quickwit/Chart.yaml | 2 +- charts/quickwit/templates/job-create-indices.yaml | 2 +- charts/quickwit/templates/job-create-sources.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/quickwit/Chart.yaml b/charts/quickwit/Chart.yaml index 85093aa..d9ef78c 100644 --- a/charts/quickwit/Chart.yaml +++ b/charts/quickwit/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: quickwit description: Sub-second search & analytics engine on cloud storage. type: application -version: 0.7.9 +version: 0.7.10 appVersion: "v0.8.2" keywords: - quickwit diff --git a/charts/quickwit/templates/job-create-indices.yaml b/charts/quickwit/templates/job-create-indices.yaml index 40ab458..a3cacfb 100644 --- a/charts/quickwit/templates/job-create-indices.yaml +++ b/charts/quickwit/templates/job-create-indices.yaml @@ -94,7 +94,7 @@ spec: affinity: {{- toYaml . | nindent 8 }} {{- end }} - {{- $tolerations := append .Values.tolerations .Values.bootstrap.tolerations | compact | uniq }} + {{- $tolerations := append $.Values.tolerations $.Values.bootstrap.tolerations | compact | uniq }} tolerations: {{- toYaml $tolerations | nindent 8 }} {{- if $.Values.bootstrap.runtimeClassName }} diff --git a/charts/quickwit/templates/job-create-sources.yaml b/charts/quickwit/templates/job-create-sources.yaml index 2921188..36d998e 100644 --- a/charts/quickwit/templates/job-create-sources.yaml +++ b/charts/quickwit/templates/job-create-sources.yaml @@ -96,7 +96,7 @@ spec: affinity: {{- toYaml . | nindent 8 }} {{- end }} - {{- $tolerations := append .Values.tolerations .Values.bootstrap.tolerations | compact | uniq }} + {{- $tolerations := append $.Values.tolerations $.Values.bootstrap.tolerations | compact | uniq }} tolerations: {{- toYaml $tolerations | nindent 8 }} {{- if $.Values.bootstrap.runtimeClassName }}