Skip to content

Commit

Permalink
Merge pull request #2979 from dbluxo/main
Browse files Browse the repository at this point in the history
[grafana] add the option to set resources for the test framework container
  • Loading branch information
zanhsieh committed May 10, 2024
2 parents 5fade78 + 6eba5e9 commit d0d0cb2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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.
Expand Down
4 changes: 4 additions & 0 deletions charts/grafana/templates/tests/test.yaml
Expand Up @@ -41,6 +41,10 @@ spec:
- mountPath: /tests
name: tests
readOnly: true
{{- with .Values.testFramework.resources }}
resources:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: tests
configMap:
Expand Down
7 changes: 7 additions & 0 deletions charts/grafana/values.yaml
Expand Up @@ -121,6 +121,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: ~
Expand Down

0 comments on commit d0d0cb2

Please sign in to comment.