# Default values for azure-api-management-gateway.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

# set to 'null' in case you want to remove `replicaCount` property from the deployment
replicaCount: 3

image:
  repository: mcr.microsoft.com/azure-api-management/gateway
  pullPolicy: IfNotPresent
  tag: 

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

gateway:
  name: 
  deployment:
    terminationGracePeriodSeconds: 60
    strategy: {}
      # https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
      # type: RollingUpdate
      # rollingUpdate:
      #   maxUnavailable: 0
      #   maxSurge: 25%
    network:
      proxy:
        http: 
        https: 
        bypass: 
    dns:
      hostAliases: {}
        # - ip: "<ip address>"
        #   hostnames:
        #   - "<instanceName>.configuration.azure-api.net"      
    #annotations:
    #  com.example/local: "test"
  configuration:
    uri: 
    backup:
      enabled: false
      persistentVolumeClaim:
        existingName: ""
        create: true
        storageClassName: null
        accessMode: ReadWriteMany
        size: 50Mi
    additional: {}
  auth:
    type: GatewayToken
    # When an existing secret is configured, the value specified here will not be used
    key: 
    azureAd:
      tenant: 
        id:
      authority: 
      app:
        id: 
        secret: 

secret:
  createSecret: true
  existingSecretName: ""

observability:
  logs:
    std:
      format: text
      level: info
      useColor: true
    local:
      type: auto
      localsyslog:
        endpoint:
        facility:
      rfc5424:
        endpoint:
        facility:
      journal:
        endpoint:
      json:
        endpoint: 127.0.0.1:8888

  azureMonitor:
    metrics:
      enabled: true
  opentelemetry:
    enabled: false
    collector:
      uri: 
    histogram:
      # Specify custom bucket sizes using ',' seperator.
      # Example: '10,20'
      buckets: 
  statsD:
    enabled: false
    endpoint: 
    sampling: 1
    tagFormat: dogStatsD

security:
  tls:
    server:
      ciphers:
        allowedSuites: 
    client:
      ciphers:
        allowedSuites: 

dapr:
  enabled: false
  app:
    id:
  config: tracing
  logging:
    useJsonOutput: true
    level: info

service:
  type: ClusterIP
  loadBalancer:
    allocateNodePorts: true
  ports:
    http: 8080
    https: 8081
    instance:
      synchronization: 4290
      heartbeat: 4291
  annotations: {}

ingress:
  # Experimental feature: See https://github.com/Azure/api-management-self-hosted-gateway-ingress
  controller:
    enabled: false
    namespace: ""
    annotations: []
    dns:
      suffix: "svc.cluster.local"
    ingressClass:    
      controller: "azure-api-management/gateway"
      annotations: []

serviceAccountName: default

probes:
  readiness:
    httpGet:
      path: /status-0123456789abcdef
      port: http
  liveness:
    httpGet:
      path: /status-0123456789abcdef
      port: http
  startup:
    httpGet:
      path: /status-0123456789abcdef
      port: http

resources: {}
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user. This also increases chances charts run on environments with little
  # resources, such as Minikube. If you do want to specify resources, uncomment the following
  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  # limits:
  #   cpu: 100m
  #   memory: 128Mi
  # requests:
  #   cpu: 100m
  #   memory: 128Mi

highAvailability:
  enabled: true
  disruption:
    maximumUnavailable: 25%
  podTopologySpread:
    whenUnsatisfiable: ScheduleAnyway

nodeSelector: {}

tolerations: []

affinity: {}

securityContext: {}
  # allowPrivilegeEscalation: false
  # runAsNonRoot: true
  # runAsUser: 1001       # This is a built-in user, but you can use any user ie 1000 as well
  # runAsGroup: 2000      # This is just an example
  # privileged: false
  # capabilities:
  #   drop:
  #   - all

podSecurityContext: {}
  # fsGroup: 2000
  # fsGroupChangePolicy: OnRootMismatch # "OnRootMismatch" or "Always"
  # runAsNonRoot: true
  # runAsUser: 1001       # This is a built-in user, but you can use any user ie 1000 as well
  # runAsGroup: 2000      # This is just an example

commonLabels: {}
  # Labels to add to all deployed objects