apiVersion: v1
kind: ConfigMap
metadata:
  name: dispatch
data:
  # For configuration details, see: https://hawkins.gitbook.io/dispatch/configuration/app

  # General
  COMPOSE_PROJECT_NAME: dispatch
  SECRET_KEY: 19f557b531f7d5eb4321fb268f5e87f39c66fdece97c2069854400fb8827
  DISPATCH_JWT_SECRET: 945f3454ed5c8de17d4a2c358bec419a64f2dee07d25dd77fde830bdfd7e

  # Database
  # NOTE: Ensure that DATABASE_CREDENTIALS match the values passed to POSTGRES_USER and POSTGRES_PASSWORD
  DATABASE_CREDENTIALS: dispatch:dispatch
  DATABASE_HOSTNAME: dispatch-postgres-db-lb
  DATABASE_NAME: dispatch
  DATABASE_PORT: "5432"

  # Used by postgres docker
  POSTGRES_DB: dispatch
  POSTGRES_PASSWORD: dispatch
  POSTGRES_USER: dispatch

  # Cost
  ANNUAL_COST_EMPLOYEE: "50000"
  BUSINESS_HOURS_YEAR: "2080"

  # Incident configuration
  INCIDENT_CONVERSATION_COMMANDS_REFERENCE_DOCUMENT_ID: INCIDENT_CONVERSATION_COMMANDS_REFERENCE_DOCUMENT_ID
  INCIDENT_ONCALL_SERVICE_ID: None
  INCIDENT_DOCUMENT_INVESTIGATION_SHEET_ID: INCIDENT_DOCUMENT_INVESTIGATION_SHEET_ID
  INCIDENT_FAQ_DOCUMENT_ID: INCIDENT_FAQ_DOCUMENT_ID
  INCIDENT_RESOURCE_CONVERSATION_COMMANDS_REFERENCE_DOCUMENT: google-docs-conversation-commands-reference-document
  INCIDENT_RESOURCE_FAQ_DOCUMENT: google-docs-faq-document
  INCIDENT_RESOURCE_INCIDENT_REVIEW_DOCUMENT: google-docs-incident-review-document
  INCIDENT_RESOURCE_INCIDENT_TASK: google-docs-incident-task
  INCIDENT_RESOURCE_INVESTIGATION_DOCUMENT: google-docs-investigation-document
  INCIDENT_RESOURCE_INVESTIGATION_SHEET: google-docs-investigation-sheet
  INCIDENT_RESOURCE_NOTIFICATIONS_GROUP: google-group-participant-notifications-group
  INCIDENT_RESOURCE_TACTICAL_GROUP: google-group-participant-tactical-group
  INCIDENT_STORAGE_FOLDER_ID: INCIDENT_STORAGE_FOLDER_ID

  # Slack
  SLACK_APP_USER_SLUG: ""
  SLACK_API_BOT_TOKEN: ""
  SLACK_SIGNING_SECRET: ""
  SLACK_WORKSPACE_NAME: ""

  # Google
  GOOGLE_DEVELOPER_KEY: key
  GOOGLE_DOMAIN: site.com
  GOOGLE_SERVICE_ACCOUNT_CLIENT_EMAIL: info@example.com
  GOOGLE_SERVICE_ACCOUNT_CLIENT_ID: id
  GOOGLE_SERVICE_ACCOUNT_DELEGATED_ACCOUNT: account
  GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY: key
  GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY_ID: id
  GOOGLE_SERVICE_ACCOUNT_PROJECT_ID: id

  # Jira
  JIRA_API_URL: ""
  JIRA_BROWSER_URL: ""
  JIRA_PROJECT_KEY: ""
  JIRA_ISSUE_TYPE_ID: ""
  JIRA_USERNAME: ""
  JIRA_PASSWORD: ""

  # PagerDuty
  PAGERDUTY_API_KEY: ""
  PAGERDUTY_API_FROM_EMAIL: ""
