mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-27 04:16:41 -08:00
Synapse: Add Federation-inbound worker
This commit is contained in:
7 files changed
+172
No files matched your search
@@ -17,6 +17,8 @@ synapse:
|
||||
event-persister:
|
||||
enabled: true
|
||||
replicas: 2
|
||||
federation-inbound:
|
||||
enabled: true
|
||||
federation-reader:
|
||||
enabled: true
|
||||
federation-sender:
|
||||
|
||||
@@ -30,6 +30,8 @@ synapse:
|
||||
event-persister:
|
||||
enabled: true
|
||||
replicas: 2
|
||||
federation-inbound:
|
||||
enabled: true
|
||||
federation-reader:
|
||||
enabled: true
|
||||
federation-sender:
|
||||
|
||||
@@ -193,6 +193,9 @@
|
||||
"event-persister": {
|
||||
"$ref": "file://synapse/scalable_worker.json"
|
||||
},
|
||||
"federation-inbound": {
|
||||
"$ref": "file://synapse/scalable_worker.json"
|
||||
},
|
||||
"federation-reader": {
|
||||
"$ref": "file://synapse/scalable_worker.json"
|
||||
},
|
||||
|
||||
@@ -57,6 +57,7 @@ workers:
|
||||
{{- synapse_sub_schema_values.single_worker('encryption') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('event-creator') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('event-persister') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('federation-inbound') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('federation-reader') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('federation-sender') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('initial-synchrotron') | indent(2) }}
|
||||
|
||||
@@ -4940,6 +4940,159 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"federation-inbound": {
|
||||
"required": [
|
||||
"replicas"
|
||||
],
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"replicas": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"resources": {
|
||||
"properties": {
|
||||
"limits": {
|
||||
"additionalProperties": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"requests": {
|
||||
"additionalProperties": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$"
|
||||
},
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"topologySpreadConstraints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"required": [
|
||||
"maxSkew",
|
||||
"topologyKey"
|
||||
],
|
||||
"properties": {
|
||||
"labelSelector": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"matchExpressions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"key",
|
||||
"operator"
|
||||
],
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string"
|
||||
},
|
||||
"operator": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"In",
|
||||
"NotIn",
|
||||
"Exists",
|
||||
"DoesNotExist"
|
||||
]
|
||||
},
|
||||
"values": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"matchLabels": {
|
||||
"type": [
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"additionalProperties": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"matchLabelKeys": {
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"maxSkew": {
|
||||
"type": "integer",
|
||||
"minium": 1
|
||||
},
|
||||
"minDomains": {
|
||||
"type": "integer",
|
||||
"minium": 0
|
||||
},
|
||||
"nodeAffinityPolicy": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Honor",
|
||||
"Ignore"
|
||||
]
|
||||
},
|
||||
"nodeTaintsPolicy": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Honor",
|
||||
"Ignore"
|
||||
]
|
||||
},
|
||||
"topologyKey": {
|
||||
"type": "string"
|
||||
},
|
||||
"whenUnsatisfiable": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"DoNotSchedule",
|
||||
"ScheduleAnyway"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"federation-reader": {
|
||||
"required": [
|
||||
"replicas"
|
||||
|
||||
@@ -1812,6 +1812,16 @@ synapse:
|
||||
## The number of replicas of this worker to run
|
||||
replicas: 1
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
federation-inbound:
|
||||
## Set to true to deploy this worker
|
||||
enabled: false
|
||||
|
||||
## The number of replicas of this worker to run
|
||||
replicas: 1
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Synapse: Fix missing `federation-inbound` worker from values schema.
|
||||
Reference in new issue
Block a user