# Optional: have the chart create the image pull secret for you (named after
# global.imagePullSecret) instead of creating it manually per
# https://docs.huddo.com/boards/images/
# imageCredentials:
#   registry: quay.io
#   username: your-username
#   password: your-password-or-token

global:
  # setup authentication by following https://docs.huddo.com/boards/images/
  imagePullSecret: quay-username-pull-secret
  # find the latest release date https://docs.huddo.com/boards/releases/
  imageTag: 2026-09-25
  # Ingress defaults for every service (chart >= 3.2.0). With paths (below) core and
  # webfront share one host; with sub domains set ingress.hosts on each of them instead.
  ingress:
    hosts:
      - example.com
    # The chart defaults to traefik. Change it if your Traefik uses another
    # IngressClass (kubectl get ingressclass).
    # className: traefik
    # tls:                        # omit if Traefik serves a default certificate (tlsStore)
    #   - hosts:
    #       - example.com
    #     secretName: huddoboards-domain-secret
  # Optional: trust an internal / self-signed CA across all services
  # (private proxy, Mongo, S3 over TLS). See https://docs.huddo.com/install/ssl/
  # internalCa:
  #   existingSecret: internal-ca   # mount a secret you created yourself, OR
  #   pem: |                        # have the chart create it from this PEM
  #     -----BEGIN CERTIFICATE-----
  #     ...
  #     -----END CERTIFICATE-----
  env:
    APP_URI: https://example.com/boards
    API_GATEWAY: https://example.com/api-boards
    APP_URI_PATH: /boards
    # MONGO_USER: admin
    # MONGO_PASSWORD: password
    MONGO_HOST: mongo-service:27017
    # MONGO_PARAMS: replicaSet=replicaset
    # S3 storage as deployed per https://docs.huddo.com/boards/kubernetes/s3/ (SeaweedFS)
    S3_ENDPOINT: huddo-s3
    S3_PORT: '8333'
    S3_USE_SSL: 'false'
    S3_BUCKET: huddo-boards
    # Use the same generated values as the huddo-s3-credentials secret created
    # in the S3 storage guide (https://docs.huddo.com/boards/kubernetes/s3/)
    S3_ACCESS_KEY: '<generated-access-key>'
    S3_SECRET_KEY: '<generated-secret-key>'

webfront:
  ingress:
    # For sub domains instead of paths, set hosts: [boards.example.com] here and
    # remove path and traefik.
    path: /boards
    traefik:
      stripPrefix:
        enabled: true
  # env:
  #   DOCUMENTATION_URL: https://docs.huddo.com/boards/howto/knowledgebase/
  #   PRODUCT_INFO_URL: https://huddo.com/boards
  #   SUPPORT_EMAIL: support@example.com

events:
  env:
    NOTIFIER_EMAIL_HOST: smtp.example.com
    NOTIFIER_EMAIL_USERNAME: user123
    NOTIFIER_EMAIL_PASSWORD: passw0rd
    # NOTIFIER_EMAIL_PORT: 25
    # NODE_TLS_REJECT_UNAUTHORIZED: "0"

core:
  ingress:
    # For sub domains instead of paths, set hosts: [api.boards.example.com] here and
    # remove path and traefik (and set API_URI_PATH below to /). Sticky sessions
    # (required for socket.io) are on by default.
    path: /api-boards
    traefik:
      stripPrefix:
        enabled: true
  env:
    API_URI_PATH: /api-boards
    # NODE_TLS_REJECT_UNAUTHORIZED: "0"

licence:
  env:
    # Register your Organisation and download your Free 'Activities Plus' licence key from store.huddo.com
    LICENCE: secret-string-you-download

provider:
  env:
    # NODE_TLS_REJECT_UNAUTHORIZED: "0"
    WIDGET_ID: Huddo Community Boards
    # https://docs.huddo.com/boards/msgraph/teams/on-prem/
    # Uncomment/configure the following line if you are using this Huddo Boards deployment from Microsoft Teams
    # MSGRAPH_TEAMS_MANIFEST_ID: "<id attribute from your teams app manifest.json>"

user:
  env:
    # NODE_TLS_REJECT_UNAUTHORIZED: "0"
    # DISABLE_WELCOME_EMAIL: false
    CONNECTIONS_NAME: Connections
    CONNECTIONS_CLIENT_ID: huddoboards
    CONNECTIONS_CLIENT_SECRET: long-secret-as-output-by-wsadmin-register
    CONNECTIONS_ADMINS: '["admin1@company.example.com", "boss2@company.example.com", "PROF_GUID_3"]'
    CONNECTIONS_URL: https://connections.example.com
    # DOMINO_AUTH_URL: https://domino.rest.api.company.com # --replace-me--
    # DOMINO_CLIENT_ID:  # --replace-me--
    # DOMINO_CLIENT_SECRET:  # --replace-me--
    # DOMINO_ADMINS: '["admin1@company.example.com"]' # --replace-me--
    # DOMINO_USE_PROFILE_IMAGE_ATTACHMENTS: 'true'
    # DOMINO_PROFILE_IMAGE_NAME: profile.png
    # Default values below that can be customised
    # DOMINO_AUTH_SCOPE: $DATA
    # DOMINO_REST_SCOPE: directorylookup
    # HCL Digital Experience (DX) integration values
    # DX_NAME: DX
    # DX_URL: https://dx.company.com # --replace-me--
    # DX_CLIENT_ID:  huddoboards
    # DX_CLIENT_SECRET:  # --replace-me--
    # DX_AUTH_PROVIDER_NAME: OAuthConfig
    # DX_ADMINS: '["admin1@company.example.com"]' # --replace-me--
    # Required for the MCP server (see https://docs.huddo.com/boards/env/mcp/).
    # A single JSON array - if you already define OAUTH_CLIENTS, add the
    # boards-mcp object to the existing array. The claude.ai callback is only
    # needed if this deployment is reachable from the internet.
    # OAUTH_CLIENTS: >
    #   [{"id":"boards-mcp","redirectUrls":["http://localhost/callback","https://claude.ai/api/mcp/auth_callback"]}]

# Optional: MCP server for AI assistants (chart >= 2.2.0). Served at
# [API_GATEWAY]/mcp. Requires the boards-mcp OAUTH_CLIENTS entry on the user
# service above. The additionalPaths backends assume the release name
# huddo-boards (service <release-name>-mcp). See https://docs.huddo.com/boards/env/mcp/
# mcp:
#   enabled: true
#   env:
#     # Must be repeated here - mcp does not inherit global.env
#     API_GATEWAY: https://example.com/api-boards
#     APP_URI: https://example.com/boards
#   ingress:
#     enabled: true
#     path: /api-boards/mcp
#     pathType: Prefix
#     traefik:
#       stripPrefix:
#         enabled: true
#         prefix: /api-boards
#     # OAuth discovery paths - served from the host root, not under /api-boards
#     additionalPaths:
#       - path: /.well-known/oauth-protected-resource
#         pathType: Prefix
#         backend:
#           service:
#             name: huddo-boards-mcp
#             port:
#               number: 80
#       - path: /.well-known/oauth-authorization-server
#         pathType: Exact
#         backend:
#           service:
#             name: huddo-boards-mcp
#             port:
#               number: 80

# This section is for deploying the optional Activity Migration chart
# Please see doc at https://docs.huddo.com/boards/connections/migration/
migration:
  # configure access to the Connections Shared mount
  sharedDrive:
    # Replace with IP address for the NFS server
    server: 192.168.10.1
    # for example "/opt/HCL/Connections/data/shared" or "/nfs/data/shared"
    path: /nfs/data/shared
  # resources:
  #   requests:
  #     memory: 2048M
  #   limits:
  #     memory: 8192M
  env:
    # NODE_OPTIONS: '--max-old-space-size=6144'
    # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
    TZ: Europe/London

    # the extension after /data can be found from the WebSphere ACTIVITIES_CONTENT_DIR variable
    FILE_PATH_ACTIVITIES_CONTENT_STORE: /data/activities/content

    CONNECTIONS_URL: httsp://connections.example.com
    CONNECTIONS_ACTIVITIES_ADMIN_USERNAME: connectionsadmin
    CONNECTIONS_ACTIVITIES_ADMIN_PASSWORD: adminpassword
    CONNECTIONS_DB_HOST: dbserver.company.com
    CONNECTIONS_DB_USER: db2inst1
    CONNECTIONS_DB_PASSWORD: dbpassword

    # Set the Timezone for this container, so dates are understood correctly
    # Please see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a full list of options
    # For example, uncomment one of the lines below (or add your own)
    # TZ: America/New_York
    # TZ: Australia/Hobart
    # TZ: Europe/London

    # -------- DB2 variables ------------
    CONNECTIONS_DB_TYPE: db2
    CONNECTIONS_DB_PORT: 50000
    # Connection string is built from other variables:
    # CONNECTIONS_DB_CONNECT_STRING: HOSTNAME=${host};PORT=${port};PROTOCOL=TCPIP;UID=${user};PWD=${password};CHARSET=UTF8;

    # -------- Microsoft variables -------
    # CONNECTIONS_DB_TYPE: mssql
    # CONNECTIONS_DB_PORT: 1433
    # CONNECTIONS_DB_DOMAIN: domain

    # -------- Oracle variables ----------
    # CONNECTIONS_DB_TYPE: oracle
    # CONNECTIONS_DB_PORT: 1531
    # CONNECTIONS_DB_SID: DATABASE
    # Connection string is built from other variables:
    # CONNECTIONS_DB_CONNECT_STRING: ${host}:${port}/${sid}

    # -------- Other options -------------
    # PROCESSING_PAGE_SIZE: 10
    # PROCESSING_LOG_EVERY: 50
    # FIELDS_PAGE_SIZE: 3
    # FIELDS_LOG_EVERY: 50
    # NODES_PAGE_SIZE: 50
    # IMMEDIATELY_PROCESS_ALL: "false"
    # COMPLETE_ACTIVITY_AFTER_MIGRATED: "false"
    # CREATE_LINK_IN_ACTIVITY_AFTER_MIGRATED: "false"
    # PURGE_INCOMPLETE: "true"
    # PURGE_MIGRATED_ACTIVITY_IDS: "acitivityId,activityId2,activityId3,...,activityIdN"
