# Default values for az-appconfig-k8s-provider.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1
logVerbosity: 1

image:
  repository: [[dockerImageRepoName]]
  pullPolicy: Always
  # Overrides the image tag whose default is the chart appVersion.
  tag: [[dockerImageTag]]

imagePullSecrets: []
nameOverride: "appconfig-provider"
fullnameOverride: "az-appconfig-k8s-provider"

requestTracing:
  enabled: true

workloadIdentity:
  enabled: true
  globalServiceAccountEnabled: false

serviceAccount:
  # Specifies whether a service account should be created
  create: true
  # Annotations to add to the service account
  annotations: {}
  # The name of the service account to use.
  # If not set and create is true, a name is generated using the fullname template
  name: ""

configMap:
  name: "az-appconfig-controller-manager-config"

podAnnotations: 
  kubectl.kubernetes.io/default-container: manager

podSecurityContext: 
    runAsNonRoot: true

securityContext: 
  allowPrivilegeEscalation: false

resources: 
  limits:
    cpu: 100m
    memory: 256Mi
  requests:
    cpu: 20m
    memory: 64Mi

autoscaling:
  enabled: false
  minReplicas: 1
  maxReplicas: 5
  targetCPUUtilizationPercentage: 80
  targetMemoryUtilizationPercentage: 80

env:
  azureClientId: ""
  azureTenantId: ""

# Pod scheduling preferences
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
affinity: {}

# Node labels for pod assignment
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
nodeSelector: {}

# Tolerations for nodes that have taints on them.
# ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration
tolerations: []