Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/opencost/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords:
- finops
- monitoring
- opencost
version: 2.5.28
version: 2.5.29
maintainers:
- name: jessegoodier
- name: toscott
Expand Down
1 change: 1 addition & 0 deletions charts/opencost/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ $ helm install opencost opencost/opencost
| opencost.exporter.apiIngress.tls | list | `[]` | Ingress TLS configuration |
| opencost.exporter.apiPort | int | `9003` | |
| opencost.exporter.aws.access_key_id | string | `""` | AWS secret key id |
| opencost.exporter.aws.riSpRefreshRateHours | int | `1` | Number of hours between refreshes of Reserved Instance and Savings Plan data from Athena. Defaults to 1 (hourly). For multi-cluster deployments sharing a single CUR export, raise this (e.g. 24) to reduce Athena scan cost. |
| opencost.exporter.aws.secret_access_key | string | `""` | AWS secret access key |
| opencost.exporter.cloudProviderApiKey | string | `""` | The GCP Pricing API requires a key. This is supplied just for evaluation. |
| opencost.exporter.collectorDataSource.enabled | bool | `false` | |
Expand Down
2 changes: 2 additions & 0 deletions charts/opencost/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ spec:
value: {{ .Values.opencost.cloudCost.queryWindowDays | quote }}
- name: CLOUD_COST_RUN_WINDOW_DAYS
value: {{ .Values.opencost.cloudCost.runWindowDays | quote }}
- name: AWS_RI_SP_REFRESH_RATE_HOURS
value: {{ .Values.opencost.exporter.aws.riSpRefreshRateHours | quote }}
{{- if not (quote .Values.opencost.metrics.kubeStateMetrics.emitPodAnnotations | empty ) }}
- name: EMIT_POD_ANNOTATIONS_METRIC
value: {{ .Values.opencost.metrics.kubeStateMetrics.emitPodAnnotations | quote }}
Expand Down
5 changes: 4 additions & 1 deletion charts/opencost/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ opencost:
# "athenaTable": "AWS_cloud_integration_athenaTable",
# "projectID": "AWS_cloud_integration_athena_projectID",
# "serviceKeyName": "AWS_cloud_integration_athena_serviceKeyName",
# "serviceKeySecret": "AWS_cloud_integration_athena_serviceKeySecret"
# "serviceKeySecret": "AWS_cloud_integration_athena_serviceKeySecret",
# "resultReuseMaxAgeMinutes": 60
# }
# ],
# "azure": [
Expand Down Expand Up @@ -435,6 +436,8 @@ opencost:
secret_access_key: ""
# -- AWS secret key id
access_key_id: ""
# -- Number of hours between refreshes of Reserved Instance and Savings Plan data from Athena. Defaults to 1 (hourly). For multi-cluster deployments sharing a single CUR export, raise this (e.g. 24) to reduce Athena scan cost.
riSpRefreshRateHours: 1
# -- A list of volume mounts to be added to the pod
extraVolumeMounts: []
# -- List of additional environment variables to set in the container
Expand Down