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.29
version: 2.5.30
maintainers:
- name: jessegoodier
- name: toscott
Expand Down
3 changes: 2 additions & 1 deletion charts/opencost/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

OpenCost and OpenCost UI

![Version: 2.5.28](https://img.shields.io/badge/Version-2.5.28-informational?style=flat-square)
![Version: 2.5.30](https://img.shields.io/badge/Version-2.5.30-informational?style=flat-square)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![AppVersion: 1.121.0](https://img.shields.io/badge/AppVersion-1.121.0-informational?style=flat-square)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/opencost)](https://artifacthub.io/packages/search?repo=opencost)
Expand Down Expand Up @@ -92,6 +92,7 @@ $ helm install opencost opencost/opencost
| opencost.exporter.env | list | `[]` | List of additional environment variables to set in the container |
| opencost.exporter.extraArgs | list | `[]` | List of extra arguments for the command, e.g.: log-format=json |
| opencost.exporter.extraEnv | object | `{}` | Any extra environment variables you would like to pass on to the pod |
| opencost.exporter.extraEnvFrom | list | `[]` | Extra environment variables from secrets or configmaps |
| opencost.exporter.extraVolumeMounts | list | `[]` | A list of volume mounts to be added to the pod |
| opencost.exporter.image | object | `{"fullImageName":null,"pullPolicy":"IfNotPresent","registry":"ghcr.io","repository":"opencost/opencost","tag":"1.121.0@sha256:2b0def286f343891b2cb2f10309d92bd614aab2f886e363cdc817dfd8595e472"}` | Exporter container image configuration |
| opencost.exporter.image.fullImageName | string | `nil` | Override the full image name for development purposes |
Expand Down
4 changes: 4 additions & 0 deletions charts/opencost/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,10 @@ spec:
- name: MCP_SERVER_ENABLED
value: "false"
{{- end }}
{{- with .Values.opencost.exporter.extraEnvFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if or .Values.plugins.enabled .Values.opencost.exporter.persistence.enabled .Values.opencost.exporter.extraVolumeMounts .Values.opencost.customPricing.enabled .Values.opencost.metrics.config.enabled $cloudIntegrationSecretName .Values.opencost.updateCaTrust.enabled}}
volumeMounts:
{{- if .Values.plugins.enabled }}
Expand Down
6 changes: 6 additions & 0 deletions charts/opencost/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,12 @@ opencost:
# FOO: BAR
# For example, if accessing mimir directly and getting 401 Unauthorized
# PROMETHEUS_HEADER_X_SCOPE_ORGID: anonymous
# -- Extra environment variables from secrets or configmaps
extraEnvFrom: []
# - configMapRef:
# name: opencost-env
# - secretRef:
# name: opencost-env-secret
# Admin token for write operations (e.g. POST /serviceKey, cloud config endpoints).
# Set ADMIN_TOKEN env from a chart-created secret or an existing secret.
adminToken:
Expand Down
Loading