Skip to content

Commit

Permalink
fix: allow set trefx agent resources
Browse files Browse the repository at this point in the history
  • Loading branch information
alee-x committed Oct 9, 2024
1 parent 559889a commit c761d47
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
8 changes: 7 additions & 1 deletion charts/agent-stack/templates/trefx-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,10 @@ spec:
seq:
enabled: true
url: "http://seq:5341"
url: "http://seq:5341"
{{- with .Values.agent.helmValues.resources }}
resources:
{{- . | toYaml | nindent 10 }}
{{- end }}
8 changes: 8 additions & 0 deletions charts/agent-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,11 @@ agent:
passwordSecret:
name: "rabbitmqauth"
key: "password"

resources:
limits:
cpu: 1
memory: 2Gi
requests:
cpu: 0.5m
memory: 1Gi

0 comments on commit c761d47

Please sign in to comment.