Skip to main content

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#

ValueDescription
serverSecretsecret. Shared secret generated by diyalog-keygenerator. Never change it after the first start: existing data depends on it.
serverKeys.key0 … key5secret. The six server key pairs (public, private, base64) generated by diyalog-keygenerator. The trusted public keys go into the mobile SDK configuration.
internalServicesHttpApiTokensecret. Token for the internal service API on port 4861. Always set it; see Security.
keyStoreFileOptional Java keystore file.
log.rootLogLevelRoot log level, default INFO.

Endpoints and ingress#

ValueDescription
diyalogEndpoints.apiEndpointPublic host of the HTTP API, e.g. apidiyalog.example.com
diyalogEndpoints.managementEndpointHost of the Akka management endpoint
diyalogEndpoints.filesEndpointBase URL used in file download links
diyalogEndpoints.messagingViewServerAddressAddress of the admin panel's messaging view
ingress.typenginx for a Kubernetes Ingress, openshift for an OpenShift Route
ingress.host.wsEndpointWebSocket host (port 4858)
ingress.host.apiEndpointHTTP API host (port 4859)
ingress.host.managementEndpointAkka management host (port 8558)
ingress.tlsSecretNameTLS Secret for the ingress hosts

Database#

ValueDescription
database.typepostgres (default) or oracle
database.connUrlFull JDBC URL. Leave empty to build it from host, port and name.
database.dbHost, dbPort, dbNameDatabase location
database.dbUser, dbPasswordCredentials; dbPassword is secret
database.schemaNameSchema 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 idsDefault name
app121, app122, app131, app141, app151Android apps
app221, app222, app231, app241, app251iOS apps
app321 … app324Web apps

Fields of each entry:

FieldDescription
nameDisplay name of the app
apiKeysecret. The key the SDK sends for this app
authStrategyComma-separated login methods the app may use: PhoneAuth, BussinessPhoneAuth, DomainCustomerPhoneAuth, EmailAuth, DomainEmailAuth, DomainAdminEmailAuth, AnonymousAuth, DomainUserTokenAuth, DomainCustomerTokenAuth, UserNameAuth. Default NoStrategy.
isInternalClienttrue for apps used by your staff (agents)

Push notifications#

ValueDescription
push.google.googleFcmProjectID, googleFcmUriFirebase project for Android push
push.google.googleFCMCredentialsFilesecret. Service account JSON, base64
push.apple.useAppleApnsTokenAuthenticationtrue (default) for .p8 token authentication, false for certificates
push.apple.appleTokenAuthKey, appleTokenAuthTeamId, appleTokenAuthKeyIdAPNs 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, appleVoipPushBundleIdBundle ids of your iOS app
push.apple.appleApnsIsSandbox, appleApnsPushHostAPNs environment
push.apple.appleApnsProxyServerHost, ...PortOptional HTTP proxy towards APNs
push.huawei.*Huawei Push Kit: huaweiHsmPushKitUri, huaweiHsmOAuthUri, huaweiHsmAppId, huaweiHsmAppSecret (secret)

File storage#

ValueDescription
fileStorage.fileStorageAdapterim.diyalog.server.file.s3.S3StorageAdapter (default) or the local file storage adapter
fileStorage.S3.awsS3EndpointPublic S3 endpoint used in file URLs
fileStorage.S3.awsS3InternalEndpointS3 endpoint the server uses inside your network
fileStorage.S3.awsS3ApiKey, awsS3ApiSecretsecret. S3 credentials
fileStorage.S3.awsPathStyleAccess, awsSignatureVersionS3 compatibility settings for non-AWS storage
fileStorage.S3.awsBucketCountForParts, awsS3FileLimitInBucketBucket layout
fileStorage.S3.awsS3ConnectionTimeout, SocketTimeout, RequestTimeout, TransferTimeout, MaxErrorRetryS3 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, commitWaitPollIntervalFile 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#

ValueDescription
iceServers.iceServerUrl1, iceServerUrl2TURN/STUN URLs, e.g. turn:turn.example.com:443?transport=tcp
iceServers.iceServer1UserName, iceServer1UserPassword, iceServer1SecretCredentials of the first server (password and secret are secret)
iceServers.iceServer2...Same for the second server

Authentication and directory#

ValueDescription
ldap.enabled, server, dn, searchbase, filter, passwordLDAP login for staff
domainAuth.customer.customerAuthServiceUrl, customerAuthServiceTokenYour customer token verification service; see Integration: Authentication
iam.provider, loginname, password, tokenapiurl, iamapiurlIAM integration
smtp.senderEmailAddress, smtpHost, smtpPort, smtpEnableTLS, smtpUserName, smtpPasswordSMTP server for email notifications and email OTP

Integrations#

ValueDescription
callCenter.callCenterProvider, callCenterProviderApiUrl, callCenterProviderAuthApiUrl, callCenterProviderAuthApiTokenYour queuing / call-center service; see Integration: Queuing
documentManagement.documentManagementProvider, documentManagementServiceUriYour document management service; see Integration: Document management
onlineHelp.persistOnlineHelpHistoryInClientKeep online-help chat history on the client (default false)
customerDomainPrefs.providerCustomer marketing preferences and operation restriction shown to staff. Off unless a provider is set. Provider-specific settings are agreed with Diyalog.

AI services#

ValueDescription
ai.translator.provider, translateUri, translateDetectLanguageUri, apiKeyTranslation service, e.g. diyalog-translation-server
ai.answerSuggestion.enabled, apiUrl, apiKeyAnswer suggestion service; see Helm installation
ai.answerSuggestion.requestTimeoutMs, outcomeSampleRateOptional tuning

Runtime#

ValueDescription
deployment.replicaCountNumber of server pods
clusterConfig.clusterRequiredContactPointNrContact points needed to form the Akka cluster (default 2)
deployment.terminationGracePeriodSecondsTime to leave the cluster and finish in-flight work (default 90)
deployment.image.repository, tagServer image
deployment.resourcesCPU and memory requests and limits
networkPolicy.enabledRestrict the internal API port (default true)
cacertsRoot CA certificates mounted under /var/lib/diyalog/ssl_certs, for TLS towards your own services

Secrets provider#

ValueDescription
secretsProvider.type: helmDefault. Secret values are read from your values file and written into the Secrets.
secretsProvider.type: conjurSecrets 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.maxVariablesPerRequestSplits the variables over several Secrets and jobs to keep request URLs short (default 40)
secretsProvider.conjur.base64VariablesFile variables whose Conjur value is base64 (keys, certificates)