{ "$id": "file://matrix-stack/", "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "global": { "$ref": "#/$defs/common_global" }, "serverName": { "type": "string" }, "labels": { "$ref": "#/$defs/common_labels" }, "certManager": { "type": "object", "properties": { "clusterIssuer": { "type": "string" }, "issuer": { "type": "string" } }, "maxProperties": 1, "anyOf": [ { "required": [ "clusterIssuer" ] }, { "required": [ "issuer" ] }, { "not": { "required": [ "clusterIssuer", "issuer" ] } } ], "additionalProperties": false }, "matrixTools": { "type": "object", "properties": { "image": { "$ref": "#/$defs/common_image" }, "ephemeralStorages": { "type": "object", "properties": { "renderedConfig": { "$ref": "#/$defs/common_ephemeralStorage" } }, "additionalProperties": false }, "resources": { "type": "object", "properties": { "renderConfig": { "$ref": "#/$defs/common_resources" }, "tcpWait": { "$ref": "#/$defs/common_resources" } }, "additionalProperties": false } }, "additionalProperties": false }, "image": { "type": "object", "properties": { "pullPolicy": { "type": "string", "enum": [ "Always", "IfNotPresent", "Never" ] }, "pullSecrets": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false }, "inboundTrafficHandler": { "$ref": "#/$defs/common_inboundTrafficHandler" }, "ingress": { "$ref": "#/$defs/common_ingress_global" }, "httpService": { "type": "object", "required": [ "type", "internalTrafficPolicy" ], "properties": { "annotations": { "type": "object", "additionalProperties": { "type": "string" } }, "type": { "type": "string", "enum": [ "ClusterIP", "NodePort", "LoadBalancer" ] }, "internalTrafficPolicy": { "type": "string", "enum": [ "Cluster", "Local" ] }, "externalTrafficPolicy": { "type": "string", "enum": [ "Cluster", "Local" ] }, "externalIPs": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "storage": { "$ref": "#/$defs/common_storage_global" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "clusterDomain": { "type": "string" }, "networking": { "type": "object", "properties": { "ipFamily": { "type": "string", "enum": [ "ipv4", "ipv6", "dual-stack" ] } }, "additionalProperties": false }, "extraObjects": { "type": "object", "additionalProperties": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] } }, "deploymentMarkers": { "$ref": "#/$defs/deployment-markers" }, "initSecrets": { "$ref": "#/$defs/init-secrets" }, "matrixRTC": { "$ref": "#/$defs/matrix-rtc" }, "elementAdmin": { "$ref": "#/$defs/element-admin" }, "elementWeb": { "$ref": "#/$defs/element-web" }, "haproxy": { "$ref": "#/$defs/haproxy" }, "hookshot": { "$ref": "#/$defs/hookshot" }, "matrixAuthenticationService": { "$ref": "#/$defs/matrixAuthenticationService" }, "postgres": { "$ref": "#/$defs/postgres" }, "valkey": { "$ref": "#/$defs/valkey" }, "synapse": { "$ref": "#/$defs/synapse" }, "wellKnownDelegation": { "$ref": "#/$defs/wellKnownDelegation" } }, "additionalProperties": false, "$defs": { "common_global": { "type": "object", "additionalProperties": true }, "common_labels": { "type": "object", "additionalProperties": { "type": [ "string", "null" ] } }, "common_image": { "type": "object", "required": [ "repository" ], "oneOf": [ { "required": [ "tag", "digest" ] }, { "required": [ "digest" ], "not": { "required": [ "tag" ] } }, { "required": [ "tag" ], "not": { "required": [ "digest" ] } } ], "properties": { "registry": { "type": "string" }, "repository": { "type": "string" }, "tag": { "type": [ "string", "null" ] }, "digest": { "type": [ "string", "null" ] }, "pullPolicy": { "type": "string", "enum": [ "Always", "IfNotPresent", "Never" ] }, "pullSecrets": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false }, "common_ephemeralStorage": { "type": "object", "properties": { "sizeLimit": { "type": "string", "pattern": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", "description": "The maximum size of the emptyDir volume, as a Kubernetes quantity string e.g. 10Mi." }, "medium": { "type": "string", "enum": [ "", "Memory" ], "description": "The storage medium of the emptyDir volume. \"Memory\" uses tmpfs (RAM-backed); empty string uses the node's default storage." } }, "additionalProperties": false }, "common_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 }, "common_inboundTrafficHandler": { "type": "string", "enum": [ "ingress", "none" ] }, "common_ingress_global": { "type": "object", "properties": { "annotations": { "type": "object", "additionalProperties": { "type": "string" } }, "className": { "type": "string" }, "tlsEnabled": { "type": "boolean" }, "tlsSecret": { "type": "string" }, "controllerType": { "type": "string", "enum": [ "ingress-nginx" ] }, "service": { "$ref": "#/$defs/common_service" } }, "additionalProperties": false }, "common_service": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "ClusterIP", "NodePort", "LoadBalancer" ] }, "annotations": { "type": "object", "additionalProperties": { "type": [ "string", "null" ] } }, "internalTrafficPolicy": { "type": "string", "enum": [ "Cluster", "Local" ] }, "externalTrafficPolicy": { "type": "string", "enum": [ "Cluster", "Local" ] }, "externalIPs": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "common_storage_global": { "type": "object", "properties": { "storageClassName": { "type": "string" }, "resourcePolicy": { "type": "string", "enum": [ "keep", "delete" ] } }, "additionalProperties": false }, "common_nodeSelector": { "type": "object", "additionalProperties": { "type": "string" } }, "common_tolerations": { "type": "array", "items": { "properties": { "effect": { "type": "string", "enum": [ "NoSchedule", "PreferNoSchedule", "NoExecute" ] }, "key": { "type": "string" }, "operator": { "type": "string" }, "tolerationSeconds": { "type": "number" }, "value": { "type": "string" } }, "type": "object", "additionalProperties": false } }, "common_topologySpreadConstraints": { "type": "array", "items": { "required": [ "maxSkew", "topologyKey" ], "properties": { "labelSelector": { "$ref": "#/$defs/common_labelSelector" }, "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 } }, "common_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 }, "common_affinity": { "type": "object", "properties": { "nodeAffinity": { "type": "object", "properties": { "requiredDuringSchedulingIgnoredDuringExecution": { "type": "object", "required": [ "nodeSelectorTerms" ], "properties": { "nodeSelectorTerms": { "type": "array", "items": { "$ref": "#/$defs/common_nodeSelectorTerm" } } }, "additionalProperties": false }, "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "items": { "type": "object", "required": [ "weight", "preference" ], "properties": { "weight": { "type": "integer", "minimum": 1, "maximum": 100 }, "preference": { "$ref": "#/$defs/common_nodeSelectorTerm" } }, "additionalProperties": false } } }, "additionalProperties": false }, "podAffinity": { "type": "object", "properties": { "requiredDuringSchedulingIgnoredDuringExecution": { "type": "array", "items": { "$ref": "#/$defs/common_podAffinityTerm" } }, "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "items": { "type": "object", "required": [ "weight", "podAffinityTerm" ], "properties": { "weight": { "type": "integer", "minimum": 1, "maximum": 100 }, "podAffinityTerm": { "$ref": "#/$defs/common_podAffinityTerm" } }, "additionalProperties": false } } }, "additionalProperties": false }, "podAntiAffinity": { "type": "object", "properties": { "requiredDuringSchedulingIgnoredDuringExecution": { "type": "array", "items": { "$ref": "#/$defs/common_podAffinityTerm" } }, "preferredDuringSchedulingIgnoredDuringExecution": { "type": "array", "items": { "type": "object", "required": [ "weight", "podAffinityTerm" ], "properties": { "weight": { "type": "integer", "minimum": 1, "maximum": 100 }, "podAffinityTerm": { "$ref": "#/$defs/common_podAffinityTerm" } }, "additionalProperties": false } } }, "additionalProperties": false } }, "additionalProperties": false }, "common_nodeSelectorTerm": { "type": "object", "properties": { "matchExpressions": { "type": "array", "items": { "type": "object", "required": [ "key", "operator" ], "properties": { "key": { "type": "string" }, "operator": { "type": "string", "enum": [ "In", "NotIn", "Exists", "DoesNotExist", "Gt", "Lt" ] }, "values": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false } }, "matchFields": { "type": "array", "items": { "type": "object", "required": [ "key", "operator" ], "properties": { "key": { "type": "string" }, "operator": { "type": "string", "enum": [ "In", "NotIn", "Exists", "DoesNotExist", "Gt", "Lt" ] }, "values": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false } } }, "additionalProperties": false }, "common_podAffinityTerm": { "type": "object", "required": [ "topologyKey" ], "properties": { "labelSelector": { "$ref": "#/$defs/common_labelSelector" }, "namespaceSelector": { "$ref": "#/$defs/common_labelSelector" }, "namespaces": { "type": "array", "items": { "type": "string" } }, "topologyKey": { "type": "string" }, "matchLabelKeys": { "type": "array", "items": { "type": "string" } }, "mismatchLabelKeys": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "deployment-markers": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "rbac": { "type": "object", "properties": { "create": { "type": "boolean" } }, "additionalProperties": false }, "labels": { "$ref": "#/$defs/common_labels" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" } }, "additionalProperties": false }, "common_workloadAnnotations": { "type": "object", "additionalProperties": { "type": "string" } }, "common_extraEnv": { "type": "array", "items": { "type": "object", "required": [ "name", "value" ], "properties": { "name": { "type": "string" }, "value": { "type": "string" } }, "additionalProperties": false } }, "common_extraVolumes": { "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": true, "properties": { "name": { "type": "string" } } } }, "common_extraVolumeMounts": { "type": "array", "items": { "required": [ "name", "mountPath" ], "type": "object", "description": "VolumeMount describes a mounting of a Volume within a container.", "properties": { "readOnly": { "type": "boolean", "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false." }, "mountPath": { "type": [ "string", "null" ], "description": "Path within the container at which the volume should be mounted. Must not contain ':'." }, "subPath": { "type": [ "string", "null" ], "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)." }, "name": { "type": [ "string", "null" ], "description": "This must match the Name of a Volume." } }, "additionalProperties": false } }, "common_extraInitContainers": { "type": "array", "items": { "type": "object", "required": [ "name", "image" ], "additionalProperties": true, "properties": { "name": { "type": "string" }, "image": { "type": "string" } } } }, "common_containersSecurityContext": { "properties": { "allowPrivilegeEscalation": { "type": "boolean" }, "privileged": { "type": "boolean" }, "capabilities": { "properties": { "add": { "items": { "type": "string" }, "type": "array" }, "drop": { "items": { "type": "string" }, "type": "array" } }, "type": "object", "additionalProperties": false }, "readOnlyRootFilesystem": { "type": "boolean" }, "seccompProfile": { "properties": { "localhostProfile": { "type": "string" }, "type": { "enum": [ "RuntimeDefault", "Unconfined", "Localhost" ], "type": "string" } }, "type": "object", "additionalProperties": false } }, "type": "object", "additionalProperties": false }, "common_podSecurityContext": { "properties": { "fsGroup": { "format": "int64", "type": "integer" }, "fsGroupChangePolicy": { "type": "string" }, "runAsGroup": { "format": "int64", "type": "integer" }, "runAsNonRoot": { "type": "boolean" }, "runAsUser": { "format": "int64", "type": "integer" }, "seLinuxOptions": { "properties": { "level": { "type": "string" }, "role": { "type": "string" }, "type": { "type": "string" }, "user": { "type": "string" } }, "type": "object", "additionalProperties": false }, "seccompProfile": { "properties": { "localhostProfile": { "type": "string" }, "type": { "enum": [ "RuntimeDefault", "Unconfined", "Localhost" ], "type": "string" } }, "type": "object", "additionalProperties": false }, "supplementalGroups": { "items": { "format": "int64", "type": "integer" }, "type": "array" } }, "type": "object", "additionalProperties": false }, "common_serviceAccount": { "type": "object", "properties": { "create": { "type": "boolean" }, "name": { "type": "string" }, "annotations": { "type": "object", "additionalProperties": { "type": "string" } } }, "additionalProperties": false }, "init-secrets": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "rbac": { "type": "object", "properties": { "create": { "type": "boolean" } }, "additionalProperties": false }, "labels": { "$ref": "#/$defs/common_labels" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" } }, "additionalProperties": false }, "matrix-rtc": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "restrictRoomCreationToLocalUsers": { "type": "boolean" }, "livekitAuth": { "type": "object", "required": [ "key" ], "properties": { "key": { "type": "string" }, "secret": { "$ref": "#/$defs/common_credential" } }, "additionalProperties": false }, "appserviceRegistration": { "$ref": "#/$defs/common_credential" }, "user": { "type": "object", "properties": { "localpart": { "type": "string", "description": "The localpart of the application service user of the MatrixRTC Authorisation Service" } }, "additionalProperties": false }, "redisOrValkey": { "$ref": "#/$defs/common_redis" }, "replicas": { "minimum": 0, "maximum": 1, "type": "integer" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "image": { "$ref": "#/$defs/common_image" }, "inboundTrafficHandler": { "$ref": "#/$defs/common_inboundTrafficHandler" }, "httpService": { "$ref": "#/$defs/common_service" }, "ingress": { "$ref": "#/$defs/common_ingress" }, "labels": { "$ref": "#/$defs/common_labels" }, "hostAliases": { "$ref": "#/$defs/common_hostAliases" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "dnsPolicy": { "type": "string" }, "dnsConfig": { "$ref": "#/$defs/common_dnsConfig" }, "serviceMonitors": { "$ref": "#/$defs/common_serviceMonitors" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" }, "sfu": { "type": "object", "if": { "properties": { "enabled": { "const": true } } }, "then": { "not": { "required": [ "url" ] } }, "else": { "required": [ "url" ] }, "properties": { "enabled": { "type": "boolean" }, "url": { "type": "string", "pattern": "^wss://.*" }, "replicas": { "minimum": 0, "maximum": 1, "type": "integer" }, "image": { "$ref": "#/$defs/common_image" }, "labels": { "$ref": "#/$defs/common_labels" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "hostAliases": { "$ref": "#/$defs/common_hostAliases" }, "hostNetwork": { "type": "boolean" }, "useStunToDiscoverPublicIP": { "type": "boolean" }, "manualIP": { "type": "string" }, "nodeIPSource": { "type": "string", "enum": [ "hostIP", "podIP" ] }, "redisOrValkey": { "$ref": "#/$defs/common_redis" }, "redis": { "$ref": "#/$defs/common_redis" }, "additional": { "$ref": "#/$defs/common_additional" }, "logging": { "type": "object", "properties": { "level": { "type": "string", "enum": [ "debug", "info", "warn", "error" ] }, "pionLevel": { "type": "string", "enum": [ "debug", "info", "warn", "error" ] }, "json": { "type": "boolean" } }, "additionalProperties": false }, "exposedServices": { "type": "object", "properties": { "rtcTcp": { "$ref": "#/$defs/common_exposedServicePort" }, "rtcMuxedUdp": { "$ref": "#/$defs/common_exposedServicePort" }, "rtcUdp": { "$ref": "#/$defs/common_exposedServicePortRange" }, "turnTLS": { "$ref": "#/$defs/common_exposedServicePortWithTLS" }, "turn": { "$ref": "#/$defs/common_exposedServicePort" } }, "additionalProperties": false }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "dnsPolicy": { "type": "string" }, "dnsConfig": { "$ref": "#/$defs/common_dnsConfig" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "serviceMonitors": { "$ref": "#/$defs/common_serviceMonitors" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" } }, "additionalProperties": false } }, "additionalProperties": false }, "common_credential": { "type": "object", "oneOf": [ { "required": [ "value" ], "not": { "required": [ "secret", "secretKey" ] } }, { "required": [ "secret", "secretKey" ], "not": { "required": [ "value" ] } } ], "properties": { "value": { "type": "string" }, "secret": { "type": "string" }, "secretKey": { "type": "string" } }, "additionalProperties": false }, "common_redis": { "type": "object", "required": [ "host" ], "properties": { "host": { "type": "string", "description": "Redis/Valkey host address" }, "port": { "type": "integer", "minimum": 1, "maximum": 65535, "default": 6379 }, "db": { "type": "integer", "minimum": 0, "maximum": 15, "default": 0 }, "password": { "$ref": "#/$defs/common_credential" }, "tls": { "type": "boolean", "default": false } }, "additionalProperties": false }, "common_ingress": { "type": "object", "properties": { "annotations": { "type": "object", "additionalProperties": { "type": [ "string", "null" ] } }, "host": { "type": "string" }, "className": { "type": "string" }, "tlsEnabled": { "type": "boolean" }, "tlsSecret": { "type": "string" }, "controllerType": { "type": "string", "enum": [ "ingress-nginx" ] }, "service": { "$ref": "#/$defs/common_service" } }, "additionalProperties": false }, "common_hostAliases": { "type": "array", "items": { "type": "object", "properties": { "ip": { "type": "string" }, "hostnames": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false } }, "common_dnsConfig": { "type": "object", "properties": { "nameservers": { "type": "array", "items": { "type": "string" } }, "searches": { "type": "array", "items": { "type": "string" } }, "options": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false }, "common_serviceMonitors": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "relabelings": { "type": [ "array", "null" ], "items": { "type": "object", "properties": { "sourceLabels": { "description": "The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.", "type": "array", "items": { "type": "string", "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" } }, "separator": { "description": "Separator placed between concatenated source label values.", "type": "string", "default": ";" }, "targetLabel": { "$comment": "https://github.com/prometheus/prometheus/blob/release-2.13/config/testdata/conf.good.yml#L146 has a regex capture group, violating vanilla label_name definition.", "description": "Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.", "type": "string" }, "regex": { "$comment": "https://github.com/prometheus/prometheus/blob/release-2.13/config/testdata/conf.good.yml#L111 has integer instead of string", "description": "Regular expression against which the extracted value is matched.", "type": "string", "default": "(.*)" }, "modulus": { "description": "Modulus to take of the hash of the source label values.", "type": "integer" }, "replacement": { "description": "Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available.", "type": "string", "default": "$1" }, "action": { "description": "Action to perform based on regex matching.", "type": "string", "enum": [ "replace", "lowercase", "uppercase", "keep", "drop", "keepequal", "dropequal", "hashmod", "labelmap", "labeldrop", "labelkeep" ], "default": "replace" } }, "if": { "properties": { "action": { "const": "replace" } } }, "then": { "required": [ "targetLabel" ] }, "additionalProperties": false } }, "metricRelabelings": { "type": [ "array", "null" ], "items": { "type": "object", "properties": { "sourceLabels": { "description": "The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.", "type": "array", "items": { "type": "string", "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" } }, "separator": { "description": "Separator placed between concatenated source label values.", "type": "string", "default": ";" }, "targetLabel": { "$comment": "https://github.com/prometheus/prometheus/blob/release-2.13/config/testdata/conf.good.yml#L146 has a regex capture group, violating vanilla label_name definition.", "description": "Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.", "type": "string" }, "regex": { "$comment": "https://github.com/prometheus/prometheus/blob/release-2.13/config/testdata/conf.good.yml#L111 has integer instead of string", "description": "Regular expression against which the extracted value is matched.", "type": "string", "default": "(.*)" }, "modulus": { "description": "Modulus to take of the hash of the source label values.", "type": "integer" }, "replacement": { "description": "Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available.", "type": "string", "default": "$1" }, "action": { "description": "Action to perform based on regex matching.", "type": "string", "enum": [ "replace", "lowercase", "uppercase", "keep", "drop", "keepequal", "dropequal", "hashmod", "labelmap", "labeldrop", "labelkeep" ], "default": "replace" } }, "if": { "properties": { "action": { "const": "replace" } } }, "then": { "required": [ "targetLabel" ] }, "additionalProperties": false } } }, "additionalProperties": false }, "common_probe": { "type": "object", "properties": { "failureThreshold": { "type": [ "integer", "null" ], "minimum": 1 }, "initialDelaySeconds": { "type": [ "integer", "null" ], "minimum": 0 }, "periodSeconds": { "type": [ "integer", "null" ], "minimum": 1 }, "successThreshold": { "type": [ "integer", "null" ], "minimum": 1 }, "timeoutSeconds": { "type": [ "integer", "null" ], "minimum": 1 } }, "additionalProperties": false }, "common_additional": { "type": "object", "additionalProperties": { "type": "object", "oneOf": [ { "required": [ "config" ], "not": { "required": [ "configSecret", "configSecretKey" ] } }, { "required": [ "configSecret", "configSecretKey" ], "not": { "required": [ "config" ] } } ], "properties": { "properties": { "config": { "type": "string" }, "templateInlineConfig": { "type": "boolean" }, "configSecret": { "type": "string" }, "configSecretKey": { "type": "string" } } } } }, "common_exposedServicePort": { "type": "object", "required": [ "enabled", "portType", "port" ], "properties": { "enabled": { "type": "boolean" }, "annotations": { "type": "object", "additionalProperties": { "type": "string" } }, "portType": { "type": "string", "enum": [ "ClusterIP", "NodePort", "HostPort", "LoadBalancer" ] }, "internalTrafficPolicy": { "type": "string", "enum": [ "Cluster", "Local" ] }, "externalTrafficPolicy": { "type": "string", "enum": [ "Cluster", "Local" ] }, "port": { "type": "number" }, "nodePort": { "type": "string" }, "externalIPs": { "type": "array", "items": { "type": "string" } }, "ipFamilyPolicy": { "type": "string", "enum": [ "SingleStack", "PreferDualStack", "RequireDualStack" ] }, "ipFamilies": { "type": "array", "items": { "type": "string", "enum": [ "IPv4", "IPv6" ] } } }, "additionalProperties": false }, "common_exposedServicePortRange": { "type": "object", "required": [ "enabled", "portType", "portRange" ], "properties": { "enabled": { "type": "boolean" }, "annotations": { "type": "object", "additionalProperties": { "type": "string" } }, "portType": { "type": "string", "enum": [ "ClusterIP", "NodePort", "HostPort", "LoadBalancer" ] }, "internalTrafficPolicy": { "type": "string", "enum": [ "Cluster", "Local" ] }, "externalTrafficPolicy": { "type": "string", "enum": [ "Cluster", "Local" ] }, "portRange": { "type": "object", "required": [ "startPort", "endPort" ], "properties": { "startPort": { "type": "number" }, "endPort": { "type": "number" }, "nodePort": { "type": "string" } }, "additionalProperties": false }, "externalIPs": { "type": "array", "items": { "type": "string" } }, "ipFamilyPolicy": { "type": "string", "enum": [ "SingleStack", "PreferDualStack", "RequireDualStack" ] }, "ipFamilies": { "type": "array", "items": { "type": "string", "enum": [ "IPv4", "IPv6" ] } } }, "additionalProperties": false }, "common_exposedServicePortWithTLS": { "type": "object", "required": [ "enabled", "portType", "port" ], "properties": { "enabled": { "type": "boolean" }, "annotations": { "type": "object", "additionalProperties": { "type": "string" } }, "portType": { "type": "string", "enum": [ "ClusterIP", "NodePort", "HostPort", "LoadBalancer" ] }, "internalTrafficPolicy": { "type": "string", "enum": [ "Cluster", "Local" ] }, "externalTrafficPolicy": { "type": "string", "enum": [ "Cluster", "Local" ] }, "port": { "type": "number" }, "nodePort": { "type": "string" }, "domain": { "type": "string" }, "tlsSecret": { "type": "string" }, "tlsTerminationOnPod": { "type": "boolean" }, "externalIPs": { "type": "array", "items": { "type": "string" } }, "ipFamilyPolicy": { "type": "string", "enum": [ "SingleStack", "PreferDualStack", "RequireDualStack" ] }, "ipFamilies": { "type": "array", "items": { "type": "string", "enum": [ "IPv4", "IPv6" ] } } }, "additionalProperties": false }, "element-admin": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "replicas": { "minimum": 0, "type": "integer" }, "image": { "$ref": "#/$defs/common_image" }, "inboundTrafficHandler": { "$ref": "#/$defs/common_inboundTrafficHandler" }, "httpService": { "$ref": "#/$defs/common_service" }, "ingress": { "$ref": "#/$defs/common_ingress" }, "labels": { "$ref": "#/$defs/common_labels" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" }, "ephemeralStorages": { "type": "object", "properties": { "tmp": { "$ref": "#/$defs/common_ephemeralStorage" } }, "additionalProperties": false }, "preStopSleepSeconds": { "minimum": 1, "type": [ "integer", "null" ] } }, "additionalProperties": false }, "element-web": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "additional": { "type": "object", "additionalProperties": { "type": "string" } }, "replicas": { "minimum": 0, "type": "integer" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "image": { "$ref": "#/$defs/common_image" }, "inboundTrafficHandler": { "$ref": "#/$defs/common_inboundTrafficHandler" }, "httpService": { "$ref": "#/$defs/common_service" }, "ingress": { "$ref": "#/$defs/common_ingress" }, "labels": { "$ref": "#/$defs/common_labels" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" }, "ephemeralStorages": { "type": "object", "properties": { "tmp": { "$ref": "#/$defs/common_ephemeralStorage" } }, "additionalProperties": false }, "preStopSleepSeconds": { "minimum": 1, "type": [ "integer", "null" ] } }, "additionalProperties": false }, "haproxy": { "type": "object", "properties": { "replicas": { "minimum": 0, "type": "integer" }, "grace": { "pattern": "^[0-9]+(ms|s|m|h|d)?$", "type": "string" }, "hardStopAfter": { "pattern": "^[0-9]+(ms|s|m|h|d)?$", "type": "string" }, "image": { "$ref": "#/$defs/common_image" }, "labels": { "$ref": "#/$defs/common_labels" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "serviceMonitors": { "$ref": "#/$defs/common_serviceMonitors" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" } }, "additionalProperties": false }, "hookshot": { "type": "object", "properties": { "enabled": { "type": "boolean", "description": "Enable Hookshot." }, "replicas": { "minimum": 0, "maximum": 1, "type": "integer" }, "appserviceRegistration": { "$ref": "#/$defs/common_credential" }, "enableEncryption": { "type": "boolean", "description": "Experimental: Enable encryption support" }, "redisOrValkey": { "$ref": "#/$defs/common_redis" }, "redis": { "$ref": "#/$defs/common_redis" }, "passkey": { "$ref": "#/$defs/common_credential" }, "logging": { "type": "object", "properties": { "level": { "type": "string", "description": "The maximum level of hookshot log output before any overrides", "enum": [ "critical", "error", "warning", "info", "debug" ] } }, "additionalProperties": false }, "user": { "type": "object", "properties": { "localpart": { "type": "string", "description": "The localpart to use for the Hookshot user" } }, "additionalProperties": false }, "additional": { "$ref": "#/$defs/common_additional" }, "inboundTrafficHandler": { "$ref": "#/$defs/common_inboundTrafficHandler" }, "httpService": { "$ref": "#/$defs/common_service" }, "ingress": { "$ref": "#/$defs/common_ingress" }, "image": { "$ref": "#/$defs/common_image" }, "labels": { "$ref": "#/$defs/common_labels" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "storage": { "$ref": "#/$defs/common_persistentVolumeClaim" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "dnsPolicy": { "type": "string" }, "dnsConfig": { "$ref": "#/$defs/common_dnsConfig" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "hostAliases": { "$ref": "#/$defs/common_hostAliases" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "serviceMonitors": { "$ref": "#/$defs/common_serviceMonitors" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" }, "ephemeralStorages": { "type": "object", "properties": { "tmp": { "$ref": "#/$defs/common_ephemeralStorage" } }, "additionalProperties": false } }, "additionalProperties": false }, "common_persistentVolumeClaim": { "type": "object", "properties": { "existingClaim": { "type": "string" }, "size": { "type": "string" }, "storageClassName": { "type": "string" }, "resourcePolicy": { "type": "string", "enum": [ "keep", "delete" ] }, "selector": { "$ref": "#/$defs/common_labelSelector" }, "volumeName": { "type": "string" } }, "additionalProperties": false }, "matrixAuthenticationService": { "type": "object", "properties": { "enabled": { "type": "boolean", "description": "Enable the Matrix Authentication Service (MAS) service." }, "additional": { "$ref": "#/$defs/common_additional" }, "encryptionSecret": { "$ref": "#/$defs/common_credential" }, "synapseSharedSecret": { "$ref": "#/$defs/common_credential" }, "postgres": { "$ref": "#/$defs/common_postgres-libpq" }, "privateKeys": { "default": {}, "type": "object", "description": "The private keys used for signing. Only RSA private key is required.", "properties": { "ecdsaPrime256v1": { "$ref": "#/$defs/common_credential" }, "ecdsaSecp256k1": { "$ref": "#/$defs/common_credential" }, "ecdsaSecp384r1": { "$ref": "#/$defs/common_credential" }, "rsa": { "$ref": "#/$defs/common_credential" } }, "additionalProperties": false }, "replicas": { "minimum": 0, "type": "integer" }, "syn2mas": { "type": "object", "properties": { "enabled": { "type": "boolean", "description": "Enable synapse to Matrix Authentication Service migration." }, "image": { "$ref": "#/$defs/common_image" }, "dryRun": { "type": "boolean", "description": "Run the migration job in dry-run mode. Do not actually migrate the data." }, "acceptWarnings": { "type": "boolean", "description": "Let the migration job proceed when syn2mas check only reports warnings. Review the warnings before enabling this." }, "labels": { "$ref": "#/$defs/common_labels" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "ephemeralStorages": { "type": "object", "properties": { "tmpMasCli": { "$ref": "#/$defs/common_ephemeralStorage" } }, "additionalProperties": false } }, "additionalProperties": false }, "inboundTrafficHandler": { "$ref": "#/$defs/common_inboundTrafficHandler" }, "httpService": { "$ref": "#/$defs/common_service" }, "ingress": { "$ref": "#/$defs/common_ingress" }, "image": { "$ref": "#/$defs/common_image" }, "labels": { "$ref": "#/$defs/common_labels" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "dnsPolicy": { "type": "string" }, "dnsConfig": { "$ref": "#/$defs/common_dnsConfig" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "hostAliases": { "$ref": "#/$defs/common_hostAliases" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "serviceMonitors": { "$ref": "#/$defs/common_serviceMonitors" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" }, "preStopSleepSeconds": { "minimum": 1, "type": [ "integer", "null" ] } }, "additionalProperties": false }, "common_postgres-libpq": { "type": "object", "required": [ "host", "user", "database" ], "properties": { "host": { "type": "string" }, "port": { "type": "integer", "minimum": 0, "maximum": 65535 }, "user": { "type": "string" }, "database": { "type": "string" }, "sslMode": { "type": "string", "enum": [ "disable", "allow", "prefer", "require", "verify-ca", "verify-full" ] }, "password": { "$ref": "#/$defs/common_credential" } }, "additionalProperties": false }, "postgres": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "image": { "$ref": "#/$defs/common_image" }, "replicas": { "minimum": 0, "maximum": 1, "type": "integer" }, "postgresExporter": { "type": "object", "properties": { "image": { "$ref": "#/$defs/common_image" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" } }, "additionalProperties": false }, "adminPassword": { "$ref": "#/$defs/common_credential" }, "essPasswords": { "type": "object", "properties": { "synapse": { "$ref": "#/$defs/common_credential" }, "matrixAuthenticationService": { "$ref": "#/$defs/common_credential" } }, "additionalProperties": false }, "storage": { "$ref": "#/$defs/common_persistentVolumeClaim" }, "labels": { "$ref": "#/$defs/common_labels" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" }, "serviceMonitors": { "$ref": "#/$defs/common_serviceMonitors" }, "ephemeralStorages": { "type": "object", "properties": { "tmp": { "$ref": "#/$defs/common_ephemeralStorage" }, "varRun": { "$ref": "#/$defs/common_ephemeralStorage" } }, "additionalProperties": false } }, "additionalProperties": false }, "valkey": { "type": "object", "properties": { "maxMemory": { "type": "string" }, "replicas": { "minimum": 0, "maximum": 1, "type": "integer" }, "maxMemoryPolicy": { "type": "string", "enum": [ "noeviction", "allkeys-lru", "allkeys-lfu", "allkeys-random", "volatile-lru", "volatile-lfu", "volatile-random", "volatile-ttl" ] }, "image": { "$ref": "#/$defs/common_image" }, "labels": { "$ref": "#/$defs/common_labels" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" }, "serviceMonitors": { "$ref": "#/$defs/common_serviceMonitors" }, "valkeyExporter": { "type": "object", "properties": { "image": { "$ref": "#/$defs/common_image" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumes" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMounts" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" } }, "additionalProperties": false } }, "additionalProperties": false }, "synapse": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "checkConfigHook": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "labels": { "$ref": "#/$defs/common_labels" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "resources": { "$ref": "#/$defs/common_resources" } }, "additionalProperties": false }, "postgres": { "$ref": "#/$defs/common_postgres-libpq" }, "redisOrValkey": { "$ref": "#/$defs/common_redis" }, "redis": { "$ref": "#/$defs/common_redis" }, "media": { "type": "object", "properties": { "storage": { "$ref": "#/$defs/common_persistentVolumeClaim" }, "ephemeralStorages": { "type": "object", "properties": { "tmp": { "$ref": "#/$defs/common_ephemeralStorage" } }, "additionalProperties": false }, "maxUploadSize": { "type": "string", "pattern": "^[0-9]+[MK]$" } }, "additionalProperties": false }, "macaroon": { "$ref": "#/$defs/common_credential" }, "registrationSharedSecret": { "$ref": "#/$defs/common_credential" }, "signingKey": { "$ref": "#/$defs/common_credential" }, "additional": { "$ref": "#/$defs/common_additional" }, "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" } }, "additionalProperties": false } }, "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" ] } } }, "additionalProperties": false }, "extraArgs": { "type": "array", "items": { "type": "string" } }, "replicas": { "minimum": 0, "maximum": 1, "type": "integer" }, "inboundTrafficHandler": { "$ref": "#/$defs/common_inboundTrafficHandler" }, "httpService": { "$ref": "#/$defs/common_service" }, "ingress": { "$ref": "#/$defs/synapse_ingress_with_additional_paths" }, "image": { "$ref": "#/$defs/common_image" }, "labels": { "$ref": "#/$defs/common_labels" }, "annotations": { "$ref": "#/$defs/common_workloadAnnotations" }, "containersSecurityContext": { "$ref": "#/$defs/common_containersSecurityContext" }, "dnsPolicy": { "type": "string" }, "dnsConfig": { "$ref": "#/$defs/common_dnsConfig" }, "extraEnv": { "$ref": "#/$defs/common_extraEnv" }, "hostAliases": { "$ref": "#/$defs/common_hostAliases" }, "nodeSelector": { "$ref": "#/$defs/common_nodeSelector" }, "priorityClassName": { "type": "string" }, "schedulerName": { "type": "string" }, "runtimeClassName": { "type": "string" }, "affinity": { "$ref": "#/$defs/common_affinity" }, "extraVolumes": { "$ref": "#/$defs/common_extraVolumesWithContext" }, "extraVolumeMounts": { "$ref": "#/$defs/common_extraVolumeMountsWithContext" }, "extraInitContainers": { "$ref": "#/$defs/common_extraInitContainers" }, "podSecurityContext": { "$ref": "#/$defs/common_podSecurityContext" }, "resources": { "$ref": "#/$defs/common_resources" }, "serviceAccount": { "$ref": "#/$defs/common_serviceAccount" }, "serviceMonitors": { "$ref": "#/$defs/common_serviceMonitors" }, "tolerations": { "$ref": "#/$defs/common_tolerations" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" }, "ephemeralStorages": { "type": "object", "properties": { "nonMediaTmp": { "$ref": "#/$defs/common_ephemeralStorage" } }, "additionalProperties": false }, "workers": { "type": "object", "properties": { "account-data": { "$ref": "#/$defs/synapse_single_worker" }, "appservice": { "$ref": "#/$defs/synapse_single_worker" }, "background": { "$ref": "#/$defs/synapse_single_worker" }, "client-reader": { "$ref": "#/$defs/synapse_scalable_worker" }, "encryption": { "$ref": "#/$defs/synapse_single_worker" }, "device-lists": { "$ref": "#/$defs/synapse_scalable_worker" }, "event-creator": { "$ref": "#/$defs/synapse_scalable_worker" }, "event-persister": { "$ref": "#/$defs/synapse_scalable_worker" }, "federation-inbound": { "$ref": "#/$defs/synapse_scalable_worker" }, "federation-reader": { "$ref": "#/$defs/synapse_scalable_worker" }, "federation-sender": { "$ref": "#/$defs/synapse_scalable_worker" }, "initial-synchrotron": { "$ref": "#/$defs/synapse_scalable_worker" }, "mas-helper": { "$ref": "#/$defs/synapse_scalable_worker" }, "media-repository": { "$ref": "#/$defs/synapse_single_worker" }, "presence-writer": { "$ref": "#/$defs/synapse_single_worker" }, "push-rules": { "$ref": "#/$defs/synapse_single_worker" }, "pusher": { "$ref": "#/$defs/synapse_scalable_worker" }, "receipts": { "$ref": "#/$defs/synapse_scalable_worker" }, "sliding-sync": { "$ref": "#/$defs/synapse_scalable_worker" }, "sso-login": { "$ref": "#/$defs/synapse_single_worker" }, "synchrotron": { "$ref": "#/$defs/synapse_scalable_worker" }, "typing-persister": { "$ref": "#/$defs/synapse_single_worker" }, "user-dir": { "$ref": "#/$defs/synapse_single_worker" } }, "additionalProperties": false }, "preStopSleepSeconds": { "minimum": 1, "type": [ "integer", "null" ] } }, "additionalProperties": false }, "synapse_ingress_with_additional_paths": { "type": "object", "properties": { "annotations": { "type": "object", "additionalProperties": { "type": [ "string", "null" ] } }, "host": { "type": "string" }, "className": { "type": "string" }, "tlsEnabled": { "type": "boolean" }, "tlsSecret": { "type": "string" }, "controllerType": { "type": "string", "enum": [ "ingress-nginx" ] }, "service": { "$ref": "#/$defs/common_service" }, "additionalPaths": { "type": "array", "items": { "type": "object", "required": [ "path", "availability" ], "properties": { "path": { "type": "string" }, "availability": { "type": "string", "enum": [ "internally_and_externally", "only_externally", "blocked" ] }, "service": { "type": "object", "required": [ "name", "port" ], "properties": { "name": { "type": "string" }, "port": { "type": "object", "oneOf": [ { "required": [ "name" ], "not": { "required": [ "number" ] } }, { "required": [ "number" ], "not": { "required": [ "name" ] } } ], "properties": { "name": { "type": "string" }, "number": { "type": "integer" } }, "additionalProperties": false } }, "additionalProperties": false } }, "additionalProperties": false } } }, "additionalProperties": false }, "common_extraVolumesWithContext": { "type": "array", "items": { "type": "object", "required": [ "name" ], "additionalProperties": true, "properties": { "mountContext": { "type": [ "string" ], "enum": [ "hook", "both", "runtime" ] }, "name": { "type": "string" } } } }, "common_extraVolumeMountsWithContext": { "type": "array", "items": { "required": [ "name", "mountPath" ], "type": "object", "description": "VolumeMount describes a mounting of a Volume within a container.", "properties": { "readOnly": { "type": "boolean", "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false." }, "mountContext": { "type": [ "string" ], "enum": [ "hook", "both", "runtime" ] }, "mountPath": { "type": [ "string", "null" ], "description": "Path within the container at which the volume should be mounted. Must not contain ':'." }, "subPath": { "type": [ "string", "null" ], "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root)." }, "name": { "type": [ "string", "null" ], "description": "This must match the Name of a Volume." } }, "additionalProperties": false } }, "synapse_single_worker": { "properties": { "enabled": { "type": "boolean" }, "replicas": { "minimum": 0, "maximum": 1, "type": "integer" }, "resources": { "$ref": "#/$defs/common_resources" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" } }, "type": "object", "additionalProperties": false }, "synapse_scalable_worker": { "required": [ "replicas" ], "properties": { "enabled": { "type": "boolean" }, "replicas": { "type": "integer", "minimum": 0 }, "resources": { "$ref": "#/$defs/common_resources" }, "topologySpreadConstraints": { "$ref": "#/$defs/common_topologySpreadConstraints" }, "livenessProbe": { "$ref": "#/$defs/common_probe" }, "readinessProbe": { "$ref": "#/$defs/common_probe" }, "startupProbe": { "$ref": "#/$defs/common_probe" } }, "type": "object", "additionalProperties": false }, "wellKnownDelegation": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "inboundTrafficHandler": { "$ref": "#/$defs/common_inboundTrafficHandler" }, "httpService": { "$ref": "#/$defs/common_service" }, "ingress": { "$ref": "#/$defs/common_ingress_without_host" }, "labels": { "$ref": "#/$defs/common_labels" }, "baseDomainRedirect": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "url": { "type": "string" } }, "additionalProperties": false }, "additional": { "type": "object", "properties": { "client": { "type": "string" }, "server": { "type": "string" }, "support": { "type": "string" } }, "additionalProperties": false }, "headers": { "type": "object", "additionalProperties": { "type": "string" } } }, "additionalProperties": false }, "common_ingress_without_host": { "type": "object", "properties": { "annotations": { "type": "object", "additionalProperties": { "type": [ "string", "null" ] } }, "className": { "type": "string" }, "tlsEnabled": { "type": "boolean" }, "tlsSecret": { "type": "string" }, "controllerType": { "type": "string", "enum": [ "ingress-nginx" ] }, "service": { "$ref": "#/$defs/common_service" } }, "additionalProperties": false } } }