Server Configuration
This page lists the settings of the diyalog-server chart. In the diyalog umbrella chart, put them under the diyalog-server: key. The chart turns them into environment variables and Secrets for the server.
Values marked secret are written into Kubernetes Secrets. Where they come from depends on secretsProvider.
Server identity and keys#
| Value | Description |
|---|---|
serverSecret | secret. Shared secret generated by diyalog-keygenerator. Never change it after the first start: existing data depends on it. |
serverKeys.key0 … key5 | secret. The six server key pairs (public, private, base64) generated by diyalog-keygenerator. The trusted public keys go into the mobile SDK configuration. |
internalServicesHttpApiToken | secret. Token for the internal service API on port 4861. Always set it; see Security. |
keyStoreFile | Optional Java keystore file. |
log.rootLogLevel | Root log level, default INFO. |
Endpoints and ingress#
| Value | Description |
|---|---|
diyalogEndpoints.apiEndpoint | Public host of the HTTP API, e.g. apidiyalog.example.com |
diyalogEndpoints.managementEndpoint | Host of the Akka management endpoint |
diyalogEndpoints.filesEndpoint | Base URL used in file download links |
diyalogEndpoints.messagingViewServerAddress | Address of the admin panel's messaging view |
ingress.type | nginx for a Kubernetes Ingress, openshift for an OpenShift Route |
ingress.host.wsEndpoint | WebSocket host (port 4858) |
ingress.host.apiEndpoint | HTTP API host (port 4859) |
ingress.host.managementEndpoint | Akka management host (port 8558) |
ingress.tlsSecretName | TLS Secret for the ingress hosts |
Database#
| Value | Description |
|---|---|
database.type | postgres (default) or oracle |
database.connUrl | Full JDBC URL. Leave empty to build it from host, port and name. |
database.dbHost, dbPort, dbName | Database location |
database.dbUser, dbPassword | Credentials; dbPassword is secret |
database.schemaName | Schema name (Oracle) |
Client applications#
apiAuthorisation registers the client applications that may connect to the server. Each entry has an app id (app121, app221, …), with the platform default names shown below.
| App ids | Default name |
|---|---|
app121, app122, app131, app141, app151 | Android apps |
app221, app222, app231, app241, app251 | iOS apps |
app321 … app324 | Web apps |
Fields of each entry:
| Field | Description |
|---|---|
name | Display name of the app |
apiKey | secret. The key the SDK sends for this app |
authStrategy | Comma-separated login methods the app may use: PhoneAuth, BussinessPhoneAuth, DomainCustomerPhoneAuth, EmailAuth, DomainEmailAuth, DomainAdminEmailAuth, AnonymousAuth, DomainUserTokenAuth, DomainCustomerTokenAuth, UserNameAuth. Default NoStrategy. |
isInternalClient | true for apps used by your staff (agents) |
Push notifications#
| Value | Description |
|---|---|
push.google.googleFcmProjectID, googleFcmUri | Firebase project for Android push |
push.google.googleFCMCredentialsFile | secret. Service account JSON, base64 |
push.apple.useAppleApnsTokenAuthentication | true (default) for .p8 token authentication, false for certificates |
push.apple.appleTokenAuthKey, appleTokenAuthTeamId, appleTokenAuthKeyId | APNs token authentication; the key is secret |
push.apple.appleApnsCertificateFile, appleVoipCertificateFile (+ ...CertFilePassword) | secret. APNs and VoIP certificates (base64 .p12) for release builds |
push.apple.appleDevelopment... | Same certificates for development builds |
push.apple.appleApnsPushBundleId, appleVoipPushBundleId | Bundle ids of your iOS app |
push.apple.appleApnsIsSandbox, appleApnsPushHost | APNs environment |
push.apple.appleApnsProxyServerHost, ...Port | Optional HTTP proxy towards APNs |
push.huawei.* | Huawei Push Kit: huaweiHsmPushKitUri, huaweiHsmOAuthUri, huaweiHsmAppId, huaweiHsmAppSecret (secret) |
File storage#
| Value | Description |
|---|---|
fileStorage.fileStorageAdapter | im.diyalog.server.file.s3.S3StorageAdapter (default) or the local file storage adapter |
fileStorage.S3.awsS3Endpoint | Public S3 endpoint used in file URLs |
fileStorage.S3.awsS3InternalEndpoint | S3 endpoint the server uses inside your network |
fileStorage.S3.awsS3ApiKey, awsS3ApiSecret | secret. S3 credentials |
fileStorage.S3.awsPathStyleAccess, awsSignatureVersion | S3 compatibility settings for non-AWS storage |
fileStorage.S3.awsBucketCountForParts, awsS3FileLimitInBucket | Bucket layout |
fileStorage.S3.awsS3ConnectionTimeout, SocketTimeout, RequestTimeout, TransferTimeout, MaxErrorRetry | S3 client timeouts. awsS3TransferTimeout must exceed the time your largest file needs; the defaults keep a commit under the 120 s upload RPC timeout. |
fileStorage.commitClaimStaleAfter, commitWaitTimeout, commitWaitPollInterval | File commit guard. commitWaitTimeout must stay below 120 s. |
screenRecording.storageAdapter, screenRecording.S3.* | Storage of screen recordings for admin-panel playback. Must match the diyalog-screenrecording chart's storage. Empty S3 fields fall back to fileStorage.S3. |
Calls#
| Value | Description |
|---|---|
iceServers.iceServerUrl1, iceServerUrl2 | TURN/STUN URLs, e.g. turn:turn.example.com:443?transport=tcp |
iceServers.iceServer1UserName, iceServer1UserPassword, iceServer1Secret | Credentials of the first server (password and secret are secret) |
iceServers.iceServer2... | Same for the second server |
Authentication and directory#
| Value | Description |
|---|---|
ldap.enabled, server, dn, searchbase, filter, password | LDAP login for staff |
domainAuth.customer.customerAuthServiceUrl, customerAuthServiceToken | Your customer token verification service; see Integration: Authentication |
iam.provider, loginname, password, tokenapiurl, iamapiurl | IAM integration |
smtp.senderEmailAddress, smtpHost, smtpPort, smtpEnableTLS, smtpUserName, smtpPassword | SMTP server for email notifications and email OTP |
Integrations#
| Value | Description |
|---|---|
callCenter.callCenterProvider, callCenterProviderApiUrl, callCenterProviderAuthApiUrl, callCenterProviderAuthApiToken | Your queuing / call-center service; see Integration: Queuing |
documentManagement.documentManagementProvider, documentManagementServiceUri | Your document management service; see Integration: Document management |
onlineHelp.persistOnlineHelpHistoryInClient | Keep online-help chat history on the client (default false) |
customerDomainPrefs.provider | Customer marketing preferences and operation restriction shown to staff. Off unless a provider is set. Provider-specific settings are agreed with Diyalog. |
AI services#
| Value | Description |
|---|---|
ai.translator.provider, translateUri, translateDetectLanguageUri, apiKey | Translation service, e.g. diyalog-translation-server |
ai.answerSuggestion.enabled, apiUrl, apiKey | Answer suggestion service; see Helm installation |
ai.answerSuggestion.requestTimeoutMs, outcomeSampleRate | Optional tuning |
Runtime#
| Value | Description |
|---|---|
deployment.replicaCount | Number of server pods |
clusterConfig.clusterRequiredContactPointNr | Contact points needed to form the Akka cluster (default 2) |
deployment.terminationGracePeriodSeconds | Time to leave the cluster and finish in-flight work (default 90) |
deployment.image.repository, tag | Server image |
deployment.resources | CPU and memory requests and limits |
networkPolicy.enabled | Restrict the internal API port (default true) |
cacerts | Root CA certificates mounted under /var/lib/diyalog/ssl_certs, for TLS towards your own services |
Secrets provider#
| Value | Description |
|---|---|
secretsProvider.type: helm | Default. Secret values are read from your values file and written into the Secrets. |
secretsProvider.type: conjur | Secrets are filled from CyberArk Conjur by a pre-sync job. Map each secret to a Conjur variable path in conjurvalues (the key is the lowercased environment variable name, e.g. db_password). |
secretsProvider.conjur.maxVariablesPerRequest | Splits the variables over several Secrets and jobs to keep request URLs short (default 40) |
secretsProvider.conjur.base64Variables | File variables whose Conjur value is base64 (keys, certificates) |