# Default values for carbon-intensity-exporter.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1
namespace: kube-system

apiServer:
  name: api-server
  image:
    repository: ghcr.io/azure/kubernetes-carbon-intensity-exporter/server
    pullPolicy: IfNotPresent
    tag: "0.4.0"
  dataFileLocation: azure-regions.json
  urls: http://0.0.0.0:7031;http://0.0.0.0:80;
carbonDataExporter:
  name: carbon-data-exporter
  image:
    repository: ghcr.io/azure/kubernetes-carbon-intensity-exporter/exporter
    pullPolicy: IfNotPresent
    tag: "0.4.0"
  configmapName: carbon-intensity
  patrolInterval: 12h
  region: westus

# One of either WattTime or ElectricityMaps
providerName: WattTime

electricityMaps:
  apiToken: apiToken
  apiTokenHeader: auth-token
  baseURL: https://api.electricitymap.org/v3/

wattTime:
  baseURL: https://api.watttime.org/v3/
  username: username
  password: password

service:
  type: ClusterIP
  port: 80

rbac:
  clusterRoleName: carbon-aware-binding
  serviceAccountName: carbon-aware-sa
  roleRef: cluster-admin

nameOverride: ""
fullnameOverride: ""
podAnnotations: {}
nodeSelector: {}
tolerations: []
affinity: {}
