mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-21 09:31:28 -08:00
286 lines
7.1 KiB
JSON
286 lines
7.1 KiB
JSON
{
|
|
"$id": "file://synapse",
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"postgres": {
|
|
"$ref": "file://common/postgres-libpq.json"
|
|
},
|
|
"media": {
|
|
"type": "object",
|
|
"properties": {
|
|
"storage": {
|
|
"$ref": "file://common/persistentVolumeClaim.json"
|
|
}
|
|
}
|
|
},
|
|
"macaroon": {
|
|
"$ref": "file://common/credential.json"
|
|
},
|
|
"registrationSharedSecret": {
|
|
"$ref": "file://common/credential.json"
|
|
},
|
|
"signingKey": {
|
|
"$ref": "file://common/credential.json"
|
|
},
|
|
"additional": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"anyOf": [
|
|
{
|
|
"required": []
|
|
},
|
|
{
|
|
"required": [
|
|
"config"
|
|
]
|
|
},
|
|
{
|
|
"required": [
|
|
"configSecret",
|
|
"configSecretKey"
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"properties": {
|
|
"config": {
|
|
"type": "string"
|
|
},
|
|
"configSecret": {
|
|
"type": "string"
|
|
},
|
|
"configSecretKey": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"appservices": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"registrationFileConfigMap": {
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"global": {
|
|
"$ref": "file://common/global.json"
|
|
},
|
|
"ess-library": {
|
|
"$ref": "file://common/essLibrary.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"
|
|
},
|
|
"extraEnv": {
|
|
"$ref": "file://common/extraEnv.json"
|
|
},
|
|
"hostAliases": {
|
|
"$ref": "file://common/hostAliases.json"
|
|
},
|
|
"nodeSelector": {
|
|
"$ref": "file://common/nodeSelector.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"
|
|
},
|
|
"workers": {
|
|
"type": "object",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"event-creator": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"event-persister": {
|
|
"$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"
|
|
},
|
|
"media-repository": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
},
|
|
"presence-writer": {
|
|
"$ref": "file://synapse/single_worker.json"
|
|
},
|
|
"pusher": {
|
|
"$ref": "file://synapse/scalable_worker.json"
|
|
},
|
|
"receipts-account": {
|
|
"$ref": "file://synapse/single_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"
|
|
}
|
|
}
|
|
},
|
|
"haproxy": {
|
|
"type": "object",
|
|
"properties": {
|
|
"replicas": {
|
|
"minimum": 1,
|
|
"type": "integer"
|
|
},
|
|
"image": {
|
|
"$ref": "file://common/image.json"
|
|
},
|
|
"labels": {
|
|
"$ref": "file://common/labels.json"
|
|
},
|
|
"annotations": {
|
|
"$ref": "file://common/workloadAnnotations.json"
|
|
},
|
|
"containersSecurityContext": {
|
|
"$ref": "file://common/containersSecurityContext.json"
|
|
},
|
|
"nodeSelector": {
|
|
"$ref": "file://common/nodeSelector.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"
|
|
}
|
|
}
|
|
},
|
|
"redis": {
|
|
"type": "object",
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "file://common/image.json"
|
|
},
|
|
"labels": {
|
|
"$ref": "file://common/labels.json"
|
|
},
|
|
"annotations": {
|
|
"$ref": "file://common/workloadAnnotations.json"
|
|
},
|
|
"containersSecurityContext": {
|
|
"$ref": "file://common/containersSecurityContext.json"
|
|
},
|
|
"nodeSelector": {
|
|
"$ref": "file://common/nodeSelector.json"
|
|
},
|
|
"podSecurityContext": {
|
|
"$ref": "file://common/podSecurityContext.json"
|
|
},
|
|
"resources": {
|
|
"$ref": "file://common/resources.json"
|
|
},
|
|
"serviceAccount": {
|
|
"$ref": "file://common/serviceAccount.json"
|
|
},
|
|
"tolerations": {
|
|
"$ref": "file://common/tolerations.json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|