1# -- Overwrite the default name of the chart
3# -- Overwrite all resources name created by the chart
5# -- Override the deployment namespace
7# -- Override the default name of cluster - Can be found in /etc/kubernetes/admin.conf: clusters -> cluster -> name
8clusterName: "cluster.local"
14 fullImageName: curlimages/curl:latest
16 allowPrivilegeEscalation: false
22 readOnlyRootFilesystem: true
25 # -- List of plugins to download, independent of `plugins.configs`.
26 # When specified, these plugins are downloaded regardless of what's in configs,
27 # which enables using `plugins.existingSecret` for credentials while still
28 # downloading plugin binaries. This list also drives which `<plugin>_config.json`
29 # subPaths the Deployment mounts, so each listed plugin MUST have a matching
30 # config source -- either a `plugins.configs.<plugin>` entry (when
31 # `plugins.existingSecret` is empty) or a `<plugin>_config.json` key in the
32 # Secret referenced by `plugins.existingSecret`. Missing entries cause Pod
33 # startup failures because the mounted subPath will not exist. When
34 # `plugins.existingSecret` is empty, the chart validates this at
35 # template-render time and fails with an actionable error; the check is
36 # skipped when `plugins.existingSecret` is set because the contents of an
37 # externally-managed Secret cannot be introspected from Helm.
38 # Example: ["datadog", "mongodb"].
39 # If empty, falls back to downloading plugins based on keys in configs (legacy behavior).
41 folder: /opt/opencost/plugin
42 # leave this commented to always download most recent version of plugins
43 # version: <INSERT_SPECIFIC_PLUGINS_VERSION>
44 # -- Use an existing Secret for plugin configuration instead of generating
45 # one from `plugins.configs`. The referenced Secret MUST contain a
46 # `<plugin>_config.json` key for every entry in `plugins.install.plugins`
47 # (and for every plugin whose configs key would otherwise drive the
48 # install/mount list) -- the Deployment mounts those files via subPath and
49 # missing keys cause Pod startup failures. This is useful when using
50 # ExternalSecrets, Vault, or other secret-management tools so that plugin
51 # credentials do not have to be committed via `plugins.configs`. Mutually
52 # exclusive with `plugins.configs`: when `existingSecret` is set, the chart
53 # does not render a generated Secret and any `plugins.configs` entries would
54 # be silently ignored, so the chart will `fail` template rendering in that
60 # "datadog_site": "<INSERT_DATADOG_SITE>",
61 # "datadog_api_key": "<INSERT_DATADOG_API_KEY>",
62 # "datadog_app_key": "<INSERT_DATADOG_APP_KEY>"
64# -- List of secret names to use for pulling the images
67 # -- Specifies whether a service account should be created
69 # -- Annotations to add to the service account
71 # eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/eksctl-opencost
72 # The name of the service account to use.
73 # If not set and create is true, a name is generated using the fullname template
75 # -- Whether pods running as this service account should have an API token automatically mounted
76 automountServiceAccountToken: true
77# NetworkPolicies for ingress
79 # -- Specifies whether networkpolicies should be created
81 # -- Internal Prometheus settings related to NetworkPolicies
83 # -- Namespace where internal Prometheus is installed
84 namespace: prometheus-system
85 # -- Pod port of in-cluster Prometheus
87 # -- Labels applied to the Prometheus server pod(s)
89 app.kubernetes.io/name: prometheus
90 # -- Extra egress rule
92# -- Strategy to be used for the Deployment
98# -- Annotations to add to the all the resources
100# -- Annotations to add to the OpenCost Pod
102# -- Annotations to add to the Secret
104# -- Labels to add to the OpenCost Pod
108# -- Enable automounting of service account token at the pod level
109podAutomountServiceAccountToken: true
110# -- Holds pod-level security attributes and common container settings
111podSecurityContext: {}
116 # -- Annotations to add to the service
118 # -- Labels to add to the service account
120 # -- Kubernetes Service type
122 # -- NodePort if service type is NodePort
124 # -- extra ports. Useful for sidecar pods such as oauth-proxy
126 # - name: oauth-proxy
129 # - name: oauth-metrics
132 # -- LoadBalancer Source IP CIDR if service type is LoadBalancer and cloud provider supports this
133 loadBalancerSourceRanges: []
134# Create cluster role policies
137# PodDisruptionBudget for high availability
140 # -- Minimum number of pods that must be available after the eviction
142 # -- Maximum number of pods that can be unavailable after the eviction
145 # -- Existing Secret containing `cloud-integration.json` for Cloud Costs. See
146 # https://www.opencost.io/docs/configuration/#cloud-costs.
147 # Create with: `kubectl create secret generic <SECRET_NAME> --from-file=cloud-integration.json -n opencost`.
148 # Mutually exclusive with `opencost.cloudIntegrationJSON`.
149 cloudIntegrationSecret: ""
150 # -- Raw JSON for `cloud-integration.json`. Creates a Secret named
151 # `<fullname>-cloud-integration` in the release namespace.
152 # Mutually exclusive with `opencost.cloudIntegrationSecret`.
153 cloudIntegrationJSON: ""
154 # cloudIntegrationJSON: |-
158 # "athenaBucketName": "s3://AWS_cloud_integration_athenaBucketName",
159 # "athenaRegion": "AWS_cloud_integration_athenaRegion",
160 # "athenaDatabase": "AWS_cloud_integration_athenaDatabase",
161 # "athenaTable": "AWS_cloud_integration_athenaTable",
162 # "projectID": "AWS_cloud_integration_athena_projectID",
163 # "serviceKeyName": "AWS_cloud_integration_athena_serviceKeyName",
164 # "serviceKeySecret": "AWS_cloud_integration_athena_serviceKeySecret"
169 # "azureSubscriptionID": "my-subscription-id",
170 # "azureStorageAccount": "my-storage-account",
171 # "azureStorageAccessKey": "my-storage-access-key",
172 # "azureStorageContainer": "my-storage-container"
177 # "projectID": "my-project-id",
178 # "billingDataDataset": "detailedbilling.my-billing-dataset",
180 # "type": "service_account",
181 # "project_id": "my-project-id",
182 # "private_key_id": "my-private-key-id",
183 # "private_key": "my-pem-encoded-private-key",
184 # "client_email": "my-service-account-name@my-project-id.iam.gserviceaccount.com",
185 # "client_id": "my-client-id",
186 # "auth_uri": "auth-uri",
187 # "token_uri": "token-uri",
188 # "auth_provider_x509_cert_url": "my-x509-provider-cert",
189 # "client_x509_cert_url": "my-x509-cert-url"
196 # "tenancyID": "ocid1.tenancy.oc1..my-tenancy-ocid",
197 # "region": "us-ashburn-1",
199 # "authorizerType": "OCIRawConfigProvider",
200 # "tenancyID": "ocid1.tenancy.oc1..my-tenancy-ocid",
201 # "userID": "ocid1.user.oc1..my-user-ocid",
202 # "region": "us-ashburn-1",
203 # "fingerprint": "xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx",
204 # "privateKey": "REPLACE_WITH_YOUR_OCI_KEY_FILE_CONTENTS"
211 # -- MCP (Model Context Protocol) Server Configuration
212 # The MCP server provides AI agents with access to cost allocation and asset data
214 # -- Enable MCP server for AI agent integration (default: true)
215 # Set to false to disable MCP server completely
217 # -- HTTP port for MCP server (default: 8081)
218 # Change this if port 8081 conflicts with other services
221 # -- Ingress for MCP server
223 # -- Ingress controller which implements the resource
225 # -- Annotations for Ingress resource
227 # kubernetes.io/tls-acme: "true"
228 # -- A list of host rules used to configure the Ingress
229 # @default -- See [values.yaml](values.yaml)
231 - host: example.local
235 # -- Ingress TLS configuration
237 # - secretName: chart-example-tls
239 # - chart-example.local
240 # -- HTTPRoute for MCP server (Gateway API)
242 # -- Enable HTTPRoute resource
244 # -- Gateway API parent references
245 # @default -- See [values.yaml](values.yaml)
250 # -- Hostnames for the HTTPRoute
252 # - mcp.example.local
253 # -- Annotations for HTTPRoute resource
255 # -- Labels for HTTPRoute resource
257 # -- HTTPRoute rules. Each rule supports an optional `filters` list at the rule level
258 # and per-backendRef `filters` for Gateway API filter configuration (e.g. basic auth
259 # via `ExtensionRef`, header modification via `RequestHeaderModifier`, etc.).
260 # @default -- See [values.yaml](values.yaml)
267 # - type: ExtensionRef
269 # group: gateway.envoyproxy.io
270 # kind: SecurityPolicy
271 # name: basic-auth-policy
273 - name: "" # Will default to service name
276 # - type: RequestHeaderModifier
277 # requestHeaderModifier:
279 # - name: X-Custom-Header
282 # API_PORT for the cost-model to listen on
284 # debugPort: 40000 # for development purposes (debugging with delve) and not for production.
285 # -- The GCP Pricing API requires a key. This is supplied just for evaluation.
286 cloudProviderApiKey: ""
287 # -- Default cluster ID to use if cluster_id is not set in Prometheus metrics.
288 defaultClusterId: 'default-cluster'
289 # -- If clusterIdConfigmap is defined, use user-generated ConfigMap with key CLUSTER_ID as default cluster ID.
290 # -- This overrides the above defaultClusterId. Ensure the ConfigMap exists and contains the required CLUSTER_ID key.
291 # clusterIdConfigmap: cluster-id-configmap
293 # -- Exporter container image registry
295 # -- Exporter container image name
296 repository: chainguard-private/opencost
297 # -- Exporter container image tag
298 tag: 1.121.5-r0@sha256:10d9e91a23a83323268c5efe5b1e0eef3d7a1dab8b98aa497073a5b4ce53cf5f
299 # -- Exporter container image pull policy
300 pullPolicy: IfNotPresent
301 # -- Override the full image name for development purposes
303 # -- List of extra arguments for the command, e.g.: log-format=json
305 # -- Optional command to override the default container command
307 # -- Number of OpenCost replicas to run
310 # -- CPU/Memory resource requests
314 # -- CPU/Memory resource limits
317 # Startup probe configuration
319 # -- Whether probe is enabled
323 # -- Number of seconds before probe is initiated
324 initialDelaySeconds: 10
325 # -- Probe frequency in seconds
327 # -- Number of failures for probe to be considered failed
329 # -- Number of seconds after which the probe times out
331 # Liveness probe configuration
333 # -- Whether probe is enabled
337 # -- Number of seconds before probe is initiated
338 initialDelaySeconds: 10
339 # -- Probe frequency in seconds
341 # -- Number of failures for probe to be considered failed
343 # -- Number of seconds after which the probe times out
345 # Readiness probe configuration
347 # -- Whether probe is enabled
351 # -- Number of seconds before probe is initiated
352 initialDelaySeconds: 10
353 # -- Probe frequency in seconds
355 # -- Number of failures for probe to be considered failed
357 # -- Number of seconds after which the probe times out
359 # -- Minimum consecutive successes for the probe to be considered successful after having failed
361 # -- The security options the container should be run with
366 # readOnlyRootFilesystem: true
372 prometheusDataSource:
373 # Set the resolution in second that prometheus queries will be performed at
374 queryResolutionSeconds: 300
375 # Collector DataSource collects cluster data without a dependency on Prometheus
376 # It is recommended that persistence is enabled alongside it to preserve the state
377 # between pod restarts
380 # -- define the interval at which the collector scrapes for data points (10s, 15s, 1m)
382 # -- The port at which network pods are open to egress
384 # -- The number of 10m intervals the Collector DataSource should maintain
386 # -- The number of 1h intervals the Collector DataSource should maintain
388 # -- The number of 1d intervals the Collector DataSource should maintain
390 # Persistent volume claim for storing the data. eg: csv file
393 # -- The path that the PV will be mounted to the exporter at
394 mountPath: /mnt/export
395 # -- Annotations for persistent volume
397 # -- Access mode for persistent volume
399 # -- Storage class for persistent volume
401 # -- Size for persistent volume
403 # Inference cost tracking configuration for LLM workloads (e.g., vLLM via llm-d)
404 inferenceCostTracking:
405 # -- Enable inference cost tracking
407 # -- Pod label whose value is the vLLM model name. Must match the model_name label on vLLM Prometheus metrics
408 modelLabel: "llm-d.ai/model"
409 # -- Pod label key identifying shared infra pods (EPP, gateway)
410 sharedInfraLabel: "llm-d.ai/inference-shared"
411 # -- Label value that marks a pod as shared infra
412 sharedInfraLabelValue: "true"
413 # -- Background collection interval
414 collectionInterval: "2m"
416 # -- AWS secret access key
417 secret_access_key: ""
418 # -- AWS secret key id
420 # -- A list of volume mounts to be added to the pod
421 extraVolumeMounts: []
422 # -- List of additional environment variables to set in the container
424 # -- Any extra environment variables you would like to pass on to the pod
427 # For example, if accessing mimir directly and getting 401 Unauthorized
428 # PROMETHEUS_HEADER_X_SCOPE_ORGID: anonymous
429 # -- Extra environment variables from secrets or configmaps
434 # name: opencost-env-secret
435 # Admin token for write operations (e.g. POST /serviceKey, cloud config endpoints).
436 # Set ADMIN_TOKEN env from a chart-created secret or an existing secret.
438 # -- When true, the chart creates the admin-token Secret (if value is set) or mounts existingSecret as ADMIN_TOKEN. When false, ADMIN_TOKEN is not set and no secret is deployed.
440 # -- If set, the chart creates a Secret with this value and sets ADMIN_TOKEN from it (not recommended for production; use existingSecret instead).
442 # -- Use an existing Secret for the admin token (recommended). Secret must contain the key below.
444 # -- Key in the Secret that holds the admin token (used for both value-created and existing secrets).
445 secretKey: "ADMIN_TOKEN"
447 # -- Ingress for OpenCost API
449 # -- Ingress controller which implements the resource
451 # -- Annotations for Ingress resource
453 # kubernetes.io/tls-acme: "true"
454 # -- A list of host rules used to configure the Ingress
455 # @default -- See [values.yaml](values.yaml)
457 - host: example.local
461 # -- Redirect ingress to an extraPort defined on the service such as oauth-proxy
463 # servicePort: oauth-proxy
464 # -- Ingress TLS configuration
466 # - secretName: chart-example-tls
468 # - chart-example.local
469 # -- HTTPRoute for OpenCost API (Gateway API)
471 # -- Enable HTTPRoute resource
473 # -- Gateway API parent references
474 # @default -- See [values.yaml](values.yaml)
479 # -- Hostnames for the HTTPRoute
481 # - api.example.local
482 # -- Annotations for HTTPRoute resource
484 # -- Labels for HTTPRoute resource
486 # -- HTTPRoute rules. Each rule supports an optional `filters` list at the rule level
487 # and per-backendRef `filters` for Gateway API filter configuration (e.g. basic auth
488 # via `ExtensionRef`, header modification via `RequestHeaderModifier`, etc.).
489 # @default -- See [values.yaml](values.yaml)
496 # - type: ExtensionRef
498 # group: gateway.envoyproxy.io
499 # kind: SecurityPolicy
500 # name: basic-auth-policy
502 - name: "" # Will default to service name
505 # - type: RequestHeaderModifier
506 # requestHeaderModifier:
508 # - name: X-Custom-Header
511 # -- Enables custom pricing configuration
513 # -- Customize the configmap name used for custom pricing
514 configmapName: custom-pricing-model
515 # -- Path for the pricing configuration.
516 configPath: /tmp/custom-config
517 # -- Configures the pricing model provided in the values file.
518 createConfigmap: true
519 # -- Sets the provider type for the custom pricing file.
521 # -- More information about these values here: https://www.opencost.io/docs/configuration/on-prem#custom-pricing-using-the-opencost-helm-chart
523 description: Modified pricing configuration.
531 zoneNetworkEgress: 0.01
532 regionNetworkEgress: 0.01
533 internetNetworkEgress: 0.12
537 # -- Enable carbon cost exposed in the API
540 # -- Enable cloud cost ingestion and querying, dependant on valid integration credentials
542 # -- Number of hours between each run of the Cloud Cost pipeline
544 # -- Number of days into the past that a Cloud Cost standard run will query for
546 # -- The number of standard runs before a Month-to-Date run occurs
547 monthToDateInterval: 6
548 # -- The max number of days that any single query will be made to construct Cloud Costs
552 # -- (bool) Enable emission of pod annotations
553 emitPodAnnotations: ~
554 # -- (bool) Enable emission of namespace annotations
555 emitNamespaceAnnotations: ~
556 # -- (bool) Enable emission of KSM v1 metrics
558 # -- (bool) Enable only emission of KSM v1 metrics that do not exist in KSM 2 by default
559 emitKsmV1MetricsOnly: ~
561 # -- Create ServiceMonitor resource for scraping metrics using PrometheusOperator
563 # -- Additional labels to add to the ServiceMonitor
565 # -- Specify if the ServiceMonitor will be deployed into a different namespace (blank deploys into same namespace as chart)
567 # -- Interval at which metrics should be scraped
569 # -- Timeout after which the scrape is ended
571 # -- HonorLabels chooses the metric's labels on collisions with target labels
573 # -- RelabelConfigs to apply to samples before scraping. Prometheus Operator automatically adds relabelings for a few standard Kubernetes fields
575 # -- MetricRelabelConfigs to apply to samples before ingestion
576 metricRelabelings: []
577 # -- extra Endpoints to add to the ServiceMonitor. Useful for scraping sidecars
579 # - port: oauth-metrics
581 # -- HTTP scheme used for scraping. Defaults to `http`
583 # -- TLS configuration for scraping metrics
585 # caFile: /etc/prom-certs/root-cert.pem
586 # certFile: /etc/prom-certs/cert-chain.pem
587 # insecureSkipVerify: true
588 # keyFile: /etc/prom-certs/key.pem
590 # -- Enables creating the metrics.json configuration as a ConfigMap
592 # -- Customize the configmap name used for metrics
593 configmapName: custom-metrics
594 # -- List of metrics to be disabled
596 # - <metric-to-be-disabled>
597 # - <metric-to-be-disabled>
599 # -- Secret name that contains credentials for Prometheus
601 # -- Existing secret name that contains credentials for Prometheus
602 existingSecretName: ~
603 # -- Prometheus Basic auth username
605 # -- Key in the secret that references the username
606 username_key: DB_BASIC_AUTH_USERNAME
607 # -- Prometheus Basic auth password
609 # -- Key in the secret that references the password
610 password_key: DB_BASIC_AUTH_PW
611 # -- Prometheus Bearer token
613 bearer_token_key: DB_BEARER_TOKEN
614 # -- If true, opencost will use kube-rbac-proxy to authenticate with in cluster Prometheus for openshift
616 # -- Whether to disable SSL certificate verification
617 insecureSkipVerify: false
619 # -- Use external Prometheus (eg. Grafana Cloud)
621 # -- External Prometheus url
622 url: "https://prometheus.example.com/prometheus"
624 # -- Use in-cluster Prometheus
626 # -- Service name of in-cluster Prometheus
627 serviceName: prometheus-server
628 # -- Namespace of in-cluster Prometheus
629 namespaceName: prometheus-system
630 # -- Service port of in-cluster Prometheus
632 # -- Path to access the Prometheus API, this is neccesary if the Prometheus server is behind a reverse proxy(mimir) or has a different path.
634 # -- Scheme to use for in-cluster Prometheus
637 # -- Use Amazon Managed Service for Prometheus (AMP)
638 enabled: false # If true, opencost will be configured to remote_write and query from Amazon Managed Service for Prometheus.
639 # -- Workspace ID for AMP
644 maxSourceResolution: ''
647 serviceName: my-thanos-query
648 namespaceName: opencost
653 url: 'https://thanos-query.example.com/thanos'
655 # -- Enable OpenCost UI
658 # -- UI container image registry
660 # -- UI container image name
661 repository: chainguard-private/opencost-ui
662 # -- UI container image tag
663 # @default -- `""` (use appVersion in Chart.yaml)
664 tag: 1.121.5-r0@sha256:1c023398aa0f91110e113cbf69652272e5f5d2f9bd464461b3a696bba7e992ac
665 # -- UI container image pull policy
666 pullPolicy: IfNotPresent
667 # -- Override the full image name for development purposes
670 # -- CPU/Memory resource requests
674 # -- CPU/Memory resource limits
677 # used in the default.nginx.conf if you want to switch for using with Docker
680 # Base path for serving the UI.
681 # Requires building a custom image using the build argument "ui_path".
683 # Set to true to use IPv6
685 # Liveness probe configuration
687 # -- Whether probe is enabled
691 # -- Number of seconds before probe is initiated
692 initialDelaySeconds: 30
693 # -- Probe frequency in seconds
695 # -- Number of failures for probe to be considered failed
697 # Readiness probe configuration
699 # -- Whether probe is enabled
703 # -- Number of seconds before probe is initiated
704 initialDelaySeconds: 30
705 # -- Probe frequency in seconds
707 # -- Number of failures for probe to be considered failed
709 # -- The security options the container should be run with
714 # readOnlyRootFilesystem: true
718 # -- A list of environment variables to be added to the pod
720 # -- A list of volume mounts to be added to the pod
721 extraVolumeMounts: []
722 # set to true to set upstream to use <service>.<namespace>.svc.cluster.local instead of just <service>.<namespace>
723 useDefaultFqdn: false
724 # -- Nginx proxy timeout settings (in seconds)
726 # -- Timeout for establishing a connection with the proxied server
727 proxyConnectTimeout: 180
728 # -- Timeout for transmitting a request to the proxied server
729 proxySendTimeout: 180
730 # -- Timeout for reading a response from the proxied server
731 proxyReadTimeout: 180
732 # Set the model fqdn to use for the upstream
733 # modelFqdn: opencost.opencost.svc.cluster.local:9003
735 # -- Ingress for OpenCost UI
737 # -- Ingress controller which implements the resource
739 # -- Annotations for Ingress resource
741 # kubernetes.io/tls-acme: "true"
742 # -- A list of host rules used to configure the Ingress
743 # @default -- See [values.yaml](values.yaml)
745 - host: example.local
748 # -- Redirect ingress to an extraPort defined on the service such as oauth-proxy
750 # servicePort: oauth-proxy
751 # -- Ingress TLS configuration
753 # - secretName: chart-example-tls
755 # - chart-example.local
757 # -- OpenShift route for OpenCost UI
759 # -- Annotations for Ingress resource
761 # haproxy.router.openshift.io/timeout: 1m
762 # @default -- See [values.yaml](values.yaml)
765 # -- Redirect ingress to an extraPort defined on the service such as oauth-proxy
767 # targetPort: oauth-proxy
768 # -- Route TLS configuration as a map (e.g. with `termination` and `insecureEdgeTerminationPolicy` fields)
770 # insecureEdgeTerminationPolicy: Redirect
772 # -- HTTPRoute for OpenCost UI (Gateway API)
774 # -- Enable HTTPRoute resource
776 # -- Gateway API parent references
777 # @default -- See [values.yaml](values.yaml)
782 # -- Hostnames for the HTTPRoute
785 # -- Annotations for HTTPRoute resource
787 # -- Labels for HTTPRoute resource
789 # -- HTTPRoute rules. Each rule supports an optional `filters` list at the rule level
790 # and per-backendRef `filters` for Gateway API filter configuration (e.g. basic auth
791 # via `ExtensionRef`, header modification via `RequestHeaderModifier`, etc.).
792 # @default -- See [values.yaml](values.yaml)
799 # - type: ExtensionRef
801 # group: gateway.envoyproxy.io
802 # kind: SecurityPolicy
803 # name: basic-auth-policy
805 - name: "" # Will default to service name
808 # - type: RequestHeaderModifier
809 # requestHeaderModifier:
811 # - name: X-Custom-Header
814 image: public.ecr.aws/aws-observability/aws-sigv4-proxy:latest
815 imagePullPolicy: IfNotPresent
818 region: us-west-2 # The AWS region
819 host: aps-workspaces.us-west-2.amazonaws.com # The hostname for AMP service.
820 # role_arn: arn:aws:iam::<account>:role/role-name # The AWS IAM role to assume.
821 extraEnv: # Pass extra env variables to sigV4Proxy
822 # - name: AWS_ACCESS_KEY_ID
823 # value: <access_key>
824 # - name: AWS_SECRET_ACCESS_KEY
825 # value: <secret_key>
837 # readOnlyRootFilesystem: true
840 # -- Toleration labels for pod assignment
842 # -- Node labels for pod assignment
844 # -- Affinity settings for pod assignment
846 # -- Assign custom TopologySpreadConstraints rules
847 topologySpreadConstraints: []
848 # -- extra sidecars to add to the pod. Useful for things like oauth-proxy for the UI
850 # - name: oauth-proxy
851 # image: quay.io/oauth2-proxy/oauth2-proxy:v7.5.1
853 # - --upstream=http://127.0.0.1:9090
854 # - --http-address=0.0.0.0:8081
855 # - --metrics-address=0.0.0.0:8082
858 # - name: oauth-proxy
859 # containerPort: 8081
861 # - name: oauth-metrics
862 # containerPort: 8082
868 ## Security context settings for the init container.
873 allowPrivilegeEscalation: false
874 readOnlyRootFilesystem: true
877 caCertsSecret: ca-certs-secret # The name of the Secret containing custom CA certificates to mount to the opencost container.
878 # caCertsConfig: ca-certs-config # The name of the ConfigMap containing the CA trust configuration.
882 # -- Enable OpenShift specific configurations
884 # OPTIONAL. The following configs only to be enabled when using a Prometheus instance already installed in the cluster.
885 # -- If true, the helm chart will create a ClusterRoleBinding to grant the OpenCost ServiceAccount access to query Prometheus.
886 createMonitoringClusterRoleBinding: false
887 # -- If true, create a Role and RoleBinding to allow Prometheus to list and watch OpenCost resources.
888 createMonitoringResourceReaderRoleBinding: false
889 # -- Name of the Prometheus serviceaccount to bind to the Resource Reader Role Binding.
890 monitoringServiceAccountName: prometheus-k8s
891 # -- Namespace of the Prometheus serviceaccount to bind to the Resource Reader Role Binding.
892 monitoringServiceAccountNamespace: openshift-monitoring
893 # -- If true, set Security Context Constraints on serviceaccount for read/write premissions
895 # -- If true, enable internal prom access
896 enablePromAccess: false
897# -- A list of volumes to be added to the pod
899# -- Array of extra K8s manifests rendered through `tpl` and owned by the release.
901# - apiVersion: external-secrets.io/v1beta1
902# kind: ExternalSecret
904# name: '{{ include "opencost.fullname" . }}-cloud-integration'
906# External labels allow users to apply custom labels to node assets and
909# The OpenCost deployment can read external labels from an existing ConfigMap.
911# Supported ConfigMap formats:
913# 1. Traditional ConfigMap
920# In this case, labels are read directly from ConfigMap.data. The
921# key and route fields are optional and may be omitted.
923# 2. Block-scalar ConfigMap
933# In this case, specify the key that contains the YAML document and
934# a dot-separated route to the labels map within it.
937# configMapName - name of the ConfigMap to read.
938# namespace - namespace of the ConfigMap. Defaults to the agent's
939# own namespace if left empty.
940# key - Optional. The ConfigMap data key containing the YAML
941# document. Required only for block-scalar ConfigMaps.
942# route - Optional. Dot-separated path to the labels map within
943# the key's YAML content, e.g. "metadata.externalLabels".
944# When omitted or empty, labels are read directly from
945# ConfigMap.data (traditional ConfigMap).
947# Traditional ConfigMap example:
951# configMapName: external-label-configmap
954# Block-scalar ConfigMap example:
958# configMapName: external-label-configmap
961# route: metadata.externalLabels