mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-20 00:51:27 -08:00
330 lines
7.8 KiB
JSON
330 lines
7.8 KiB
JSON
{
|
|
"$id": "file://synapse",
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"checkConfigHook": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"annotations": {
|
|
"$ref": "file://common/workloadAnnotations.json"
|
|
},
|
|
"labels": {
|
|
"$ref": "file://common/labels.json"
|
|
},
|
|
"serviceAccount": {
|
|
"$ref": "file://common/serviceAccount.json"
|
|
},
|
|
"resources": {
|
|
"$ref": "file://common/resources.json"
|
|
}
|
|
}
|
|
},
|
|
"postgres": {
|
|
"$ref": "file://common/postgres-libpq.json"
|
|
},
|
|
"redisOrValkey": {
|
|
"$ref": "file://common/redis.json"
|
|
},
|
|
"redis": {
|
|
"$ref": "file://common/redis.json"
|
|
},
|
|
"media": {
|
|
"type": "object",
|
|
"properties": {
|
|
"storage": {
|
|
"$ref": "file://common/persistentVolumeClaim.json"
|
|
},
|
|
"ephemeralStorages": {
|
|
"type": "object",
|
|
"properties": {
|
|
"tmp": {
|
|
"$ref": "file://common/ephemeralStorage.json"
|
|
}
|
|
}
|
|
},
|
|
"maxUploadSize": {
|
|
"type": "string",
|
|
"pattern": "^[0-9]+[MK]$"
|
|
}
|
|
}
|
|
},
|
|
"macaroon": {
|
|
"$ref": "file://common/credential.json"
|
|
},
|
|
"registrationSharedSecret": {
|
|
"$ref": "file://common/credential.json"
|
|
},
|
|
"signingKey": {
|
|
"$ref": "file://common/credential.json"
|
|
},
|
|
"additional": {
|
|
"$ref": "file://common/additional.json"
|
|
},
|
|
"appservices": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"oneOf": [
|
|
{
|
|
"required": [
|
|
"configMap",
|
|
"configMapKey"
|
|
],
|
|
"not": {
|
|
"required": [
|
|
"secret",
|
|
"secretKey"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"required": [
|
|
"secret",
|
|
"secretKey"
|
|
],
|
|
"not": {
|
|
"required": [
|
|
"configMap",
|
|
"configMapKey"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"properties": {
|
|
"configMap": {
|
|
"type": "string"
|
|
},
|
|
"configMapKey": {
|
|
"type": "string"
|
|
},
|
|
"secret": {
|
|
"type": "string"
|
|
},
|
|
"secretKey": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"logging": {
|
|
"type": "object",
|
|
"properties": {
|
|
"rootLevel": {
|
|
"type": "string",
|
|
"enum": [
|
|
"CRITICAL",
|
|
"ERROR",
|
|
"WARNING",
|
|
"INFO",
|
|
"DEBUG"
|
|
]
|
|
},
|
|
"levelOverrides": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string",
|
|
"enum": [
|
|
"CRITICAL",
|
|
"ERROR",
|
|
"WARNING",
|
|
"INFO",
|
|
"DEBUG"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"extraArgs": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"replicas": {
|
|
"minimum": 0,
|
|
"maximum": 1,
|
|
"type": "integer"
|
|
},
|
|
"inboundTrafficHandler": {
|
|
"$ref": "file://common/inboundTrafficHandler.json"
|
|
},
|
|
"httpService": {
|
|
"$ref": "file://common/service.json"
|
|
},
|
|
"ingress": {
|
|
"$ref": "file://synapse/ingress_with_additional_paths.json"
|
|
},
|
|
"image": {
|
|
"$ref": "file://common/image.json"
|
|
},
|
|
"labels": {
|
|
"$ref": "file://common/labels.json"
|
|
},
|
|
"annotations": {
|
|
"$ref": "file://common/workloadAnnotations.json"
|
|
},
|
|
"containersSecurityContext": {
|
|
"$ref": "file://common/containersSecurityContext.json"
|
|
},
|
|
"dnsPolicy": {
|
|
"type": "string"
|
|
},
|
|
"dnsConfig": {
|
|
"$ref": "file://common/dnsConfig.json"
|
|
},
|
|
"extraEnv": {
|
|
"$ref": "file://common/extraEnv.json"
|
|
},
|
|
"hostAliases": {
|
|
"$ref": "file://common/hostAliases.json"
|
|
},
|
|
"nodeSelector": {
|
|
"$ref": "file://common/nodeSelector.json"
|
|
},
|
|
"priorityClassName": {
|
|
"type": "string"
|
|
},
|
|
"schedulerName": {
|
|
"type": "string"
|
|
},
|
|
"runtimeClassName": {
|
|
"type": "string"
|
|
},
|
|
"affinity": {
|
|
"$ref": "file://common/affinity.json"
|
|
},
|
|
"extraVolumes": {
|
|
"$ref": "file://common/extraVolumesWithContext.json"
|
|
},
|
|
"extraVolumeMounts": {
|
|
"$ref": "file://common/extraVolumeMountsWithContext.json"
|
|
},
|
|
"extraInitContainers": {
|
|
"$ref": "file://common/extraInitContainers.json"
|
|
},
|
|
"podSecurityContext": {
|
|
"$ref": "file://common/podSecurityContext.json"
|
|
},
|
|
"resources": {
|
|
"$ref": "file://common/resources.json"
|
|
},
|
|
"serviceAccount": {
|
|
"$ref": "file://common/serviceAccount.json"
|
|
},
|
|
"serviceMonitors": {
|
|
"$ref": "file://common/serviceMonitors.json"
|
|
},
|
|
"tolerations": {
|
|
"$ref": "file://common/tolerations.json"
|
|
},
|
|
"topologySpreadConstraints": {
|
|
"$ref": "file://common/topologySpreadConstraints.json"
|
|
},
|
|
"livenessProbe": {
|
|
"$ref": "file://common/probe.json"
|
|
},
|
|
"readinessProbe": {
|
|
"$ref": "file://common/probe.json"
|
|
},
|
|
"startupProbe": {
|
|
"$ref": "file://common/probe.json"
|
|
},
|
|
"ephemeralStorages": {
|
|
"type": "object",
|
|
"properties": {
|
|
"nonMediaTmp": {
|
|
"$ref": "file://common/ephemeralStorage.json"
|
|
}
|
|
}
|
|
},
|
|
"workers": {
|
|
"type": "object",
|
|
"properties": {
|
|
"account-data": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
},
|
|
"appservice": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
},
|
|
"background": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
},
|
|
"client-reader": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"encryption": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
},
|
|
"device-lists": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"event-creator": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"event-persister": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"federation-inbound": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"federation-reader": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"federation-sender": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"initial-synchrotron": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"mas-helper": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"media-repository": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
},
|
|
"presence-writer": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
},
|
|
"push-rules": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
},
|
|
"pusher": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"receipts": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"sliding-sync": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"sso-login": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
},
|
|
"synchrotron": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"typing-persister": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
},
|
|
"user-dir": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
}
|
|
}
|
|
},
|
|
"preStopSleepSeconds": {
|
|
"minimum": 1,
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
]
|
|
}
|
|
}
|
|
}
|