From 5b5c4895003308409ccc87dd5db03ddb9e488f9c Mon Sep 17 00:00:00 2001 From: dbluxo <20679842+dbluxo@users.noreply.github.com> Date: Fri, 16 Feb 2024 14:08:16 +0100 Subject: [PATCH 1/2] feat: add possibility to set resources for the testframework container Signed-off-by: dbluxo <20679842+dbluxo@users.noreply.github.com> --- charts/grafana/Chart.yaml | 2 +- charts/grafana/templates/tests/test.yaml | 4 ++++ charts/grafana/values.yaml | 7 +++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/charts/grafana/Chart.yaml b/charts/grafana/Chart.yaml index c027fc1ade..922f932ca3 100644 --- a/charts/grafana/Chart.yaml +++ b/charts/grafana/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: grafana -version: 7.3.0 +version: 7.3.1 appVersion: 10.3.1 kubeVersion: "^1.8.0-0" description: The leading tool for querying and visualizing time series and metrics. diff --git a/charts/grafana/templates/tests/test.yaml b/charts/grafana/templates/tests/test.yaml index 15067ae307..9e88afcfa0 100644 --- a/charts/grafana/templates/tests/test.yaml +++ b/charts/grafana/templates/tests/test.yaml @@ -41,6 +41,10 @@ spec: - mountPath: /tests name: tests readOnly: true + {{- with .Values.testFramework.resources }} + resources: + {{- toYaml . | nindent 8 }} + {{- end }} volumes: - name: tests configMap: diff --git a/charts/grafana/values.yaml b/charts/grafana/values.yaml index ab853e09c7..cc6e9aec78 100644 --- a/charts/grafana/values.yaml +++ b/charts/grafana/values.yaml @@ -115,6 +115,13 @@ testFramework: tag: "v1.4.1" imagePullPolicy: IfNotPresent securityContext: {} + resources: {} + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi # dns configuration for pod dnsPolicy: ~ From 6eba5e9c96ca8b05290bd802886d0d356599d3b6 Mon Sep 17 00:00:00 2001 From: MH Date: Fri, 10 May 2024 13:51:24 +0800 Subject: [PATCH 2/2] Update Chart.yaml Signed-off-by: MH --- charts/grafana/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/grafana/Chart.yaml b/charts/grafana/Chart.yaml index 3e9fcac6f2..f9b619ef6c 100644 --- a/charts/grafana/Chart.yaml +++ b/charts/grafana/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: grafana -version: 7.3.10 +version: 7.3.11 appVersion: 10.4.1 kubeVersion: "^1.8.0-0" description: The leading tool for querying and visualizing time series and metrics.