Skip to content

Commit

Permalink
[stable/insights-agent] Added days parameter to Cloud Costs (#1456)
Browse files Browse the repository at this point in the history
* Added days parameter to Cloud Costs

* Fixed version
  • Loading branch information
jdesouza authored Apr 9, 2024
1 parent c759fb4 commit 353dfe2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions stable/insights-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog

## 4.0.6
* Added days parameter to cloud costs

## 4.0.5
* update kyverno to v0.2

Expand Down
2 changes: 1 addition & 1 deletion stable/insights-agent/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart to run the Fairwinds Insights agent
name: insights-agent
version: 4.0.5
version: 4.0.6
appVersion: 9.2.1
kubeVersion: ">= 1.22.0-0"
icon: https://raw.githubusercontent.com/FairwindsOps/charts/master/stable/insights-agent/icon.png
Expand Down
1 change: 1 addition & 0 deletions stable/insights-agent/ci/test-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ cloudcosts:
secretName: cloudcosts-secret
tagkey: kubernetes_cluster
tagvalue: staging.internal.reactiveops.com
days: 10
aws:
accessKeyId: someAccessID
secretAccessKey: someAccessKey
Expand Down
4 changes: 4 additions & 0 deletions stable/insights-agent/templates/cloud-costs/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ spec:
- {{ required "You must set cloudcosts.gcp.dataset, please see https://insights.docs.fairwinds.com/technical-details/reports/aws-costs/#agent-configuration" .Values.cloudcosts.gcp.dataset }}
- --billingaccount
- {{ required "You must set cloudcosts.gcp.billingaccount, please see https://insights.docs.fairwinds.com/technical-details/reports/aws-costs/#agent-configuration" .Values.cloudcosts.gcp.billingaccount }}
{{- if .Values.cloudcosts.days }}
- --days
- {{ .Values.cloudcosts.days }}
{{- end }}
{{ include "security-context" . | indent 12 | trim }}
{{ include "uploaderContainer" . | indent 10 | trim }}
{{- end }}
Expand Down

0 comments on commit 353dfe2

Please sign in to comment.