
backend:
  envVars:
    FRONTEND_CUSTOM_CSS_URL: './assets/dinum-styles.css'
    FRONTEND_USE_FRENCH_GOV_FOOTER: True
    FRONTEND_USE_PROCONNECT_BUTTON: True
    # Calendar addons external API
    ADDONS_ENABLED: True
    ADDONS_CSRF_SECRET: 'ThisIsAnExampleKeyForDevPurposeOnly'
    ADDONS_TOKEN_SECRET_KEY: 'ThisIsAnExampleKeyForDevPurposeOnly'

# ---- Frontend : DINUM-branded build (meet-frontend-dinum) — Outlook add-in enabled ----
frontend:
  image:
    repository: localhost:5001/meet-frontend-dinum
    pullPolicy: Always
    tag: "latest"

  extraVolumes:
    - name: outlook-addon-config
      configMap:
        name: outlook-addon-config
    - name: outlook-addon-manifest
      configMap:
        name: outlook-addon-manifest
    - name: frontend-nginx-config
      configMap:
        name: frontend-nginx-config

  extraVolumeMounts:
    - name: outlook-addon-config
      mountPath: /usr/share/nginx/html/addons/outlook/config.js
      subPath: config.js
      readOnly: true
    - name: outlook-addon-manifest
      mountPath: /usr/share/nginx/html/addons/outlook/manifest.xml
      subPath: manifest.xml
      readOnly: true
    - name: frontend-nginx-config
      mountPath: /etc/nginx/conf.d/default.conf
      subPath: default.conf
      readOnly: true

  outlookAddon:
    enabled: true
    baseUrl: "https://meet.127.0.0.1.nip.io"
    enableSourceTracking: true
    feedbackForm: "https://tests.com/"
    appName: "Visio"
    id: "a025f0f6-757a-4790-97f3-99c66c4a5795"

frontendNginxConfig:
  enabled: true
