Skip to content

Commit d0d0cb2

Browse files
authored
Merge pull request #2979 from dbluxo/main
[grafana] add the option to set resources for the test framework container
2 parents 5fade78 + 6eba5e9 commit d0d0cb2

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

charts/grafana/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: grafana
3-
version: 7.3.10
3+
version: 7.3.11
44
appVersion: 10.4.1
55
kubeVersion: "^1.8.0-0"
66
description: The leading tool for querying and visualizing time series and metrics.

charts/grafana/templates/tests/test.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ spec:
4141
- mountPath: /tests
4242
name: tests
4343
readOnly: true
44+
{{- with .Values.testFramework.resources }}
45+
resources:
46+
{{- toYaml . | nindent 8 }}
47+
{{- end }}
4448
volumes:
4549
- name: tests
4650
configMap:

charts/grafana/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,13 @@ testFramework:
121121
tag: "v1.4.1"
122122
imagePullPolicy: IfNotPresent
123123
securityContext: {}
124+
resources: {}
125+
# limits:
126+
# cpu: 100m
127+
# memory: 128Mi
128+
# requests:
129+
# cpu: 100m
130+
# memory: 128Mi
124131

125132
# dns configuration for pod
126133
dnsPolicy: ~

0 commit comments

Comments
 (0)