global:
  dns: &DNS "your.domain.tld"   # EDIT THIS

  kubectl: "1.28.15" # enter it as a string, not a floating point number

  imagePullSecrets:
    - name: regcred

  database:
    host: "cocalc1.postgres.database.azure.com"
    user: "cocalc"
    database: "cocalc"

  setup_admin:
    email: "your@email.tld"
    # password: "[secret]"  # pass in the real password via $ helm [...] --set global.setup_admin.password=[password], you can change it later
    name: "Your Name"

  setup_registration_token: "[secret token]" # pass in the real token via $ helm [...] --set global.setup_registration_token=[token]

  ingress:
    class: "nginx"
    cert_manager:
      issuer: "letsencrypt-prod"
    tls:
      - hosts:
          - *DNS
        secretName: cocalc-tls

  ssh_gateway:
    enabled: false # Note: on the very first helm deployment, it must be disabled. Then you can enable it.

  # All settings have to match with the keys in the site settings config, see
  # https://github.com/sagemathinc/cocalc/blob/master/src/packages/util/db-schema/site-defaults.ts
  settings:
    site_name: "AzureCalc"
    site_description: "I live in an Azure Datacenter!"
    organization_name: "[your organization]"
    organization_email: &EMAIL "your@email.tld"
    organization_url: ""
    terms_of_service_url: ""
    help_email: *EMAIL
    splash_image: ""
    logo_square: "[URL to a png or jpeg]"
    logo_rectangular: "[URL to a png or jpeg]"
    # This activates sharing files (public or semi-public)
    share_server: "yes"
    index_info_html: |
      ## Welcome to Azure Calc

      This is a test instance of CoCalc running in an Azure Datacenter.

    imprint: |
      # Imprint
    policies: |
      # Policies
    pii_retention: "3 month"
    anonymous_signup: "no"
    email_enabled: "no"
    #verify_emails: "yes"
    #email_backend: "smtp"
    #email_smtp_server: "[EMAIL SERVER]"
    #email_smtp_from: "info@your-domain.tld"
    #email_smtp_login: "[EMAIL LOGIN NAME]"
    # set the SMTP password either via the var below or via the admin UI
    #email_smtp_password: "[secret]"
    email_smtp_secure: "yes" # usually yes, and with port 465
    email_smtp_port: "465"

    # CGroup quotas for a project, out of the box
    # e.g. '{"internet":true,"idle_timeout":3600,"mem":1000,"cpu":1,"cpu_oc":10,"mem_oc":5}'
    default_quotas: '{"internet":true,"idle_timeout":1800,"mem":2000,"cpu":1,"cpu_oc":20,"mem_oc":10}'

storage:
  create: false

manage:
  prepull:
    enabled: true

  timeout_pending_projects_min: 15

  resources:
    requests:
      cpu: 100m
      memory: 256Mi

  project:
    dedicatedProjectNodesTaint: "cocalc-projects"
    dedicatedProjectNodesLabel: "cocalc-role"

    # if projects are on a spot instance, AKS adds its own taint. We have to ignore it.
    # kubernetes.azure.com/scalesetpriority=spot:NoSchedule
    extraTaintTolerations:
    - key: "kubernetes.azure.com/scalesetpriority"
      value: "spot"
      effect: "NoSchedule"

static:
  replicaCount: 2

hub:
  resources:
    requests:
      cpu: 100m
      memory: 256Mi

  multiple_replicas:
    conat-api: 2
    conat-persist: 2
    conat-router: 2
    proxy: 2
    next: 2
