mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-24 11:01:33 -08:00
Merge pull request #45 from element-hq/gaelg/merge-synapse-down
charts: merge synapse down into matrix-stack
This commit is contained in:
49 files changed
+3034
-3936
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ SPDX-FileCopyrightText = "Copyright 2024 New Vector Ltd"
|
||||
SPDX-License-Identifier = "AGPL-3.0-only OR LicenseRef-Element-Commercial"
|
||||
|
||||
[[annotations]]
|
||||
path = "charts/**/source/sub_schemas/*.json"
|
||||
path = "charts/**/sub_schemas/*.json"
|
||||
SPDX-FileCopyrightText = "Copyright 2024 New Vector Ltd"
|
||||
SPDX-License-Identifier = "AGPL-3.0-only OR LicenseRef-Element-Commercial"
|
||||
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
dependencies:
|
||||
- name: synapse
|
||||
repository: file://../synapse
|
||||
version: 0.0.0-dev
|
||||
- name: ess-library
|
||||
repository: file://../ess-library
|
||||
version: 0.0.0-dev
|
||||
digest: sha256:ff4fa7d0f7eb859e0c55c36e9a462f03b045e9b2c3dcf0b9315d08bad918d5d8
|
||||
generated: "2024-11-27T16:08:11.722897922+01:00"
|
||||
digest: sha256:1f7a32667f6336fd19d1b6e3a24fd2cb51f3d728bf5ec086d7718c5350352f26
|
||||
generated: "2024-11-27T16:30:57.671623029+01:00"
|
||||
@@ -8,10 +8,6 @@ description: A Helm meta-chart for deploying a Matrix Stack from Element
|
||||
type: application
|
||||
version: "0.0.0-dev"
|
||||
dependencies:
|
||||
- name: "synapse"
|
||||
version: "0.0.0-dev"
|
||||
repository: "file://../synapse"
|
||||
condition: synapse.enabled
|
||||
- name: ess-library
|
||||
repository: file://../ess-library
|
||||
version: 0.0.0-dev
|
||||
@@ -6,5 +6,4 @@ elementWeb:
|
||||
enabled: false
|
||||
|
||||
synapse:
|
||||
synapse:
|
||||
enabled: false
|
||||
enabled: false
|
||||
@@ -2,59 +2,59 @@
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
|
||||
ess:
|
||||
serverName: ess.localhost
|
||||
|
||||
synapse:
|
||||
ess:
|
||||
serverName: ess.localhost
|
||||
synapse:
|
||||
enabled: true
|
||||
registrationSharedSecret:
|
||||
secret: ess-secrets
|
||||
secretKey: registrationSharedSecret
|
||||
macaroon:
|
||||
secret: ess-secrets
|
||||
secretKey: macaroon
|
||||
signingKey:
|
||||
secret: ess-secrets
|
||||
secretKey: signingKey
|
||||
enabled: true
|
||||
registrationSharedSecret:
|
||||
secret: ess-secrets
|
||||
secretKey: registrationSharedSecret
|
||||
macaroon:
|
||||
secret: ess-secrets
|
||||
secretKey: macaroon
|
||||
signingKey:
|
||||
secret: ess-secrets
|
||||
secretKey: signingKey
|
||||
|
||||
postgres:
|
||||
host: synapse-postgresql
|
||||
user: synapse_user
|
||||
database: synapse_db
|
||||
password:
|
||||
secret: synapse-postgres-db
|
||||
secretKey: password
|
||||
postgres:
|
||||
host: synapse-postgresql
|
||||
user: synapse_user
|
||||
database: synapse_db
|
||||
password:
|
||||
secret: synapse-postgres-db
|
||||
secretKey: password
|
||||
|
||||
ingress:
|
||||
host: synapse.ess.localhost
|
||||
tlsSecret: synapse-web-tls
|
||||
ingress:
|
||||
host: synapse.ess.localhost
|
||||
tlsSecret: synapse-web-tls
|
||||
|
||||
tolerations:
|
||||
- key: context
|
||||
operator: Equal
|
||||
value: pytest
|
||||
effect: NoSchedule
|
||||
|
||||
workers:
|
||||
sliding-sync:
|
||||
enabled: true
|
||||
media-repository:
|
||||
enabled: true
|
||||
|
||||
haproxy:
|
||||
replicas: 1
|
||||
tolerations:
|
||||
- key: context
|
||||
operator: Equal
|
||||
value: pytest
|
||||
effect: NoSchedule
|
||||
|
||||
workers:
|
||||
sliding-sync:
|
||||
enabled: true
|
||||
media-repository:
|
||||
enabled: true
|
||||
|
||||
haproxy:
|
||||
replicas: 1
|
||||
tolerations:
|
||||
- key: context
|
||||
operator: Equal
|
||||
value: pytest
|
||||
effect: NoSchedule
|
||||
|
||||
redis:
|
||||
tolerations:
|
||||
- key: context
|
||||
operator: Equal
|
||||
value: pytest
|
||||
effect: NoSchedule
|
||||
redis:
|
||||
tolerations:
|
||||
- key: context
|
||||
operator: Equal
|
||||
value: pytest
|
||||
effect: NoSchedule
|
||||
|
||||
elementWeb:
|
||||
enabled: false
|
||||
File renamed without changes.
+3
@@ -5,6 +5,9 @@
|
||||
ess:
|
||||
serverName: ess.localhost
|
||||
|
||||
elementWeb:
|
||||
enabled: false
|
||||
|
||||
synapse:
|
||||
enabled: true
|
||||
ingress:
|
||||
+3
@@ -5,6 +5,9 @@
|
||||
ess:
|
||||
serverName: ess.localhost
|
||||
|
||||
elementWeb:
|
||||
enabled: false
|
||||
|
||||
synapse:
|
||||
enabled: true
|
||||
ingress:
|
||||
+3
@@ -5,6 +5,9 @@
|
||||
ess:
|
||||
serverName: ess.localhost
|
||||
|
||||
elementWeb:
|
||||
enabled: false
|
||||
|
||||
synapse:
|
||||
enabled: true
|
||||
ingress:
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,274 @@
|
||||
{
|
||||
"$id": "file://synapse",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"postgres": {
|
||||
"$ref": "file://../sub_schemas/postgres-libpq.json"
|
||||
},
|
||||
"media": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"storage": {
|
||||
"$ref": "file://../sub_schemas/persistentVolumeClaim.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"macaroon": {
|
||||
"$ref": "file://../sub_schemas/credential.json"
|
||||
},
|
||||
"registrationSharedSecret": {
|
||||
"$ref": "file://../sub_schemas/credential.json"
|
||||
},
|
||||
"signingKey": {
|
||||
"$ref": "file://../sub_schemas/credential.json"
|
||||
},
|
||||
"additional": {
|
||||
"type": "object",
|
||||
"anyOf": [
|
||||
{
|
||||
"required": []
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"config"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"configSecret",
|
||||
"configSecretKey"
|
||||
]
|
||||
}
|
||||
],
|
||||
"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://../sub_schemas/global.json"
|
||||
},
|
||||
"ess-library": {
|
||||
"$ref": "file://../sub_schemas/essLibrary.json"
|
||||
},
|
||||
"ingress": {
|
||||
"$ref": "file://./synapse/sub_schemas/ingress_with_additional_paths.json"
|
||||
},
|
||||
"image": {
|
||||
"$ref": "file://../sub_schemas/image.json"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "file://../sub_schemas/labels.json"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "file://../sub_schemas/workloadAnnotations.json"
|
||||
},
|
||||
"containersSecurityContext": {
|
||||
"$ref": "file://../sub_schemas/containersSecurityContext.json"
|
||||
},
|
||||
"extraEnv": {
|
||||
"$ref": "file://../sub_schemas/extraEnv.json"
|
||||
},
|
||||
"hostAliases": {
|
||||
"$ref": "file://../sub_schemas/hostAliases.json"
|
||||
},
|
||||
"nodeSelector": {
|
||||
"$ref": "file://../sub_schemas/nodeSelector.json"
|
||||
},
|
||||
"podSecurityContext": {
|
||||
"$ref": "file://../sub_schemas/podSecurityContext.json"
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "file://../sub_schemas/resources.json"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"$ref": "file://../sub_schemas/serviceAccount.json"
|
||||
},
|
||||
"serviceMonitors": {
|
||||
"$ref": "file://../sub_schemas/serviceMonitors.json"
|
||||
},
|
||||
"tolerations": {
|
||||
"$ref": "file://../sub_schemas/tolerations.json"
|
||||
},
|
||||
"workers": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"appservice": {
|
||||
"$ref": "file://./synapse/sub_schemas/single_worker.json"
|
||||
},
|
||||
"background": {
|
||||
"$ref": "file://./synapse/sub_schemas/single_worker.json"
|
||||
},
|
||||
"client-reader": {
|
||||
"$ref": "file://./synapse/sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"encryption": {
|
||||
"$ref": "file://./synapse/sub_schemas/single_worker.json"
|
||||
},
|
||||
"event-creator": {
|
||||
"$ref": "file://./synapse/sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"event-persister": {
|
||||
"$ref": "file://./synapse/sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"federation-reader": {
|
||||
"$ref": "file://./synapse/sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"federation-sender": {
|
||||
"$ref": "file://./synapse/sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"initial-synchrotron": {
|
||||
"$ref": "file://./synapse/sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"media-repository": {
|
||||
"$ref": "file://./synapse/sub_schemas/single_worker.json"
|
||||
},
|
||||
"presence-writer": {
|
||||
"$ref": "file://./synapse/sub_schemas/single_worker.json"
|
||||
},
|
||||
"pusher": {
|
||||
"$ref": "file://./synapse/sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"receipts-account": {
|
||||
"$ref": "file://./synapse/sub_schemas/single_worker.json"
|
||||
},
|
||||
"sliding-sync": {
|
||||
"$ref": "file://./synapse/sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"sso-login": {
|
||||
"$ref": "file://./synapse/sub_schemas/single_worker.json"
|
||||
},
|
||||
"synchrotron": {
|
||||
"$ref": "file://./synapse/sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"typing-persister": {
|
||||
"$ref": "file://./synapse/sub_schemas/single_worker.json"
|
||||
},
|
||||
"user-dir": {
|
||||
"$ref": "file://./synapse/sub_schemas/single_worker.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"haproxy": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"replicas": {
|
||||
"minimum": 1,
|
||||
"type": "integer"
|
||||
},
|
||||
"image": {
|
||||
"$ref": "file://../sub_schemas/image.json"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "file://../sub_schemas/labels.json"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "file://../sub_schemas/workloadAnnotations.json"
|
||||
},
|
||||
"containersSecurityContext": {
|
||||
"$ref": "file://../sub_schemas/containersSecurityContext.json"
|
||||
},
|
||||
"nodeSelector": {
|
||||
"$ref": "file://../sub_schemas/nodeSelector.json"
|
||||
},
|
||||
"podSecurityContext": {
|
||||
"$ref": "file://../sub_schemas/podSecurityContext.json"
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "file://../sub_schemas/resources.json"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"$ref": "file://../sub_schemas/serviceAccount.json"
|
||||
},
|
||||
"serviceMonitors": {
|
||||
"$ref": "file://../sub_schemas/serviceMonitors.json"
|
||||
},
|
||||
"tolerations": {
|
||||
"$ref": "file://../sub_schemas/tolerations.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"redis": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"image": {
|
||||
"$ref": "file://../sub_schemas/image.json"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "file://../sub_schemas/labels.json"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "file://../sub_schemas/workloadAnnotations.json"
|
||||
},
|
||||
"containersSecurityContext": {
|
||||
"$ref": "file://../sub_schemas/containersSecurityContext.json"
|
||||
},
|
||||
"nodeSelector": {
|
||||
"$ref": "file://../sub_schemas/nodeSelector.json"
|
||||
},
|
||||
"podSecurityContext": {
|
||||
"$ref": "file://../sub_schemas/podSecurityContext.json"
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "file://../sub_schemas/resources.json"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"$ref": "file://../sub_schemas/serviceAccount.json"
|
||||
},
|
||||
"tolerations": {
|
||||
"$ref": "file://../sub_schemas/tolerations.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
{#
|
||||
Copyright 2024 New Vector Ltd
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
#}
|
||||
|
||||
{% import 'sub_schema_values.yaml.j2' as sub_schema_values -%}
|
||||
{% import 'synapse_sub_schema_values.yaml.j2' as synapse_sub_schema_values -%}
|
||||
enabled: true
|
||||
{{- sub_schema_values.postgresLibPQ() }}
|
||||
## Configures the media store for Synapse
|
||||
media:
|
||||
{{- sub_schema_values.persistentVolumeClaim("storage") | indent(2) }}
|
||||
|
||||
{{- sub_schema_values.credential("Key used to sign events and federation requests.\n## This needs to be the full signing key starting `ed25519 ...`", "signingKey") }}
|
||||
{{- sub_schema_values.credential("Shared Secret to registering users without having any users provisioned", "registrationSharedSecret") }}
|
||||
{{- sub_schema_values.credential("Secret used to sign Synapse issued tokens", "macaroon") }}
|
||||
|
||||
## Additional configuration to provide to all Synapse processes.
|
||||
## This can be provided in-line in the Helm Chart and/or via an existing Secret
|
||||
## e.g.
|
||||
## additional:
|
||||
## config: |
|
||||
## allow_guest_access: true
|
||||
##
|
||||
## or
|
||||
## additional:
|
||||
## configSecret: custom-synapse-config
|
||||
## configSecretKey: shared.yaml
|
||||
additional: {}
|
||||
|
||||
## Details of Application Service registration files to give to Synapse
|
||||
## e.g.
|
||||
## appservices:
|
||||
## - registrationFileConfigMap: test-appservice
|
||||
appservices: []
|
||||
|
||||
## Additional Synapse processes managed by this chart
|
||||
## e.g.
|
||||
## workers:
|
||||
## client-reader:
|
||||
## instances: 2
|
||||
## event-creator: {}
|
||||
workers:
|
||||
{{- synapse_sub_schema_values.single_worker('appservice') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.single_worker('background') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('client-reader') | indent(2) }}
|
||||
{{- 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-reader') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('federation-sender') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('initial-synchrotron') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.single_worker('media-repository') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.single_worker('presence-writer') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('pusher') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.single_worker('receipts-account') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('sliding-sync') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.single_worker('sso-login') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('synchrotron') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.single_worker('typing-persister') | indent(2) }}
|
||||
{{- synapse_sub_schema_values.single_worker('user-dir') | indent(2) }}
|
||||
|
||||
## Synapse's logging settings
|
||||
logging:
|
||||
## The maximum level of Synapse log output before any overrides
|
||||
rootLevel: INFO
|
||||
|
||||
## Override the log level of specific loggers
|
||||
## e.g.
|
||||
## levelOverrides:
|
||||
## synapse.util.caches.lrucache: WARNING
|
||||
levelOverrides: {}
|
||||
{{- sub_schema_values.image(registry='docker.io', repository='matrixdotorg/synapse', tag='v1.116.0') }}
|
||||
{{- sub_schema_values.ingress() }}
|
||||
{{- sub_schema_values.labels() }}
|
||||
{{- sub_schema_values.workloadAnnotations() }}
|
||||
{{- sub_schema_values.containersSecurityContext() }}
|
||||
{{- sub_schema_values.extraEnv() }}
|
||||
{{- sub_schema_values.hostAliases() }}
|
||||
{{- sub_schema_values.nodeSelector() }}
|
||||
{{- sub_schema_values.podSecurityContext(user_id='10091', group_id='10091') }}
|
||||
{{- sub_schema_values.resources(requests_memory='100Mi', requests_cpu='100m', limits_memory='4Gi') }}
|
||||
{{- sub_schema_values.serviceAccount() }}
|
||||
{{- sub_schema_values.serviceMonitors() }}
|
||||
{{- sub_schema_values.tolerations() }}
|
||||
|
||||
haproxy:
|
||||
replicas: 2
|
||||
{{- sub_schema_values.image(registry='docker.io', repository='library/haproxy', tag='3.0-alpine') | indent(2) }}
|
||||
{{- sub_schema_values.labels() | indent(2) }}
|
||||
{{- sub_schema_values.workloadAnnotations() | indent(2) }}
|
||||
{{- sub_schema_values.containersSecurityContext() | indent(2) }}
|
||||
{{- sub_schema_values.nodeSelector() | indent(2) }}
|
||||
{{- sub_schema_values.podSecurityContext(user_id='10001', group_id='10001') | indent(2) }}
|
||||
{{- sub_schema_values.resources(requests_memory='100Mi', requests_cpu='100m', limits_memory='200Mi') | indent(2) }}
|
||||
{{- sub_schema_values.serviceAccount() | indent(2) }}
|
||||
{{- sub_schema_values.serviceMonitors() | indent(2) }}
|
||||
{{- sub_schema_values.tolerations() | indent(2) }}
|
||||
|
||||
redis:
|
||||
{{- sub_schema_values.image(registry='docker.io', repository='library/redis', tag='7.4-alpine') | indent(2) }}
|
||||
{{- sub_schema_values.labels() | indent(2) }}
|
||||
{{- sub_schema_values.workloadAnnotations() | indent(2) }}
|
||||
{{- sub_schema_values.containersSecurityContext() | indent(2) }}
|
||||
{{- sub_schema_values.nodeSelector() | indent(2) }}
|
||||
{{- sub_schema_values.podSecurityContext(user_id='10002', group_id='10002') | indent(2) }}
|
||||
{{- sub_schema_values.resources(requests_memory='50Mi', requests_cpu='50m', limits_memory='50Mi') | indent(2) }}
|
||||
{{- sub_schema_values.serviceAccount() | indent(2) }}
|
||||
{{- sub_schema_values.tolerations() | indent(2) }}
|
||||
@@ -17,8 +17,7 @@
|
||||
"$ref": "file://./element-web/values.schema.json"
|
||||
},
|
||||
"synapse": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
"$ref": "file://./synapse/values.schema.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,5 +14,5 @@ elementWeb:
|
||||
{{- elementWebValues() | trim | indent(2) }}
|
||||
|
||||
synapse:
|
||||
{% macro synapseValues() %}{% include 'synapse/source/values.yaml.j2'%}{% endmacro %}
|
||||
{% macro synapseValues() %}{% include 'synapse/values.yaml.j2'%}{% endmacro %}
|
||||
{{- synapseValues() | trim | indent(2) }}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -15,7 +15,7 @@ metadata:
|
||||
namespace: {{ $.Release.Namespace }}
|
||||
data:
|
||||
haproxy.cfg: |
|
||||
{{- tpl ($.Files.Get "configs/haproxy/haproxy.cfg.tpl") (dict "root" $ "context" .) | nindent 4 }}
|
||||
{{- tpl ($.Files.Get "configs/synapse/haproxy.cfg.tpl") (dict "root" $ "context" .) | nindent 4 }}
|
||||
path_map_file: |
|
||||
# A map file that is used in haproxy config to map from matrix paths to the
|
||||
# named backend. The format is: path_regexp backend_name
|
||||
+2
-2
@@ -17,7 +17,7 @@ metadata:
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "element-io.synapse.haproxy.labels" (dict "root" $ "context" .) | nindent 4 }}
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/haproxy_configmap.yaml") $ | sha1sum }}"
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/synapse/haproxy_configmap.yaml") $ | sha1sum }}"
|
||||
name: {{ $.Release.Name }}-synapse-haproxy
|
||||
namespace: {{ $.Release.Namespace }}
|
||||
spec:
|
||||
@@ -34,7 +34,7 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "element-io.synapse.haproxy.labels" (dict "root" $ "context" .) | nindent 8 }}
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/haproxy_configmap.yaml") $ | sha1sum }}"
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/synapse/haproxy_configmap.yaml") $ | sha1sum }}"
|
||||
{{- with .annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2
-2
@@ -17,7 +17,7 @@ metadata:
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "element-io.synapse.redis.labels" (dict "root" $ "context" .) | nindent 4 }}
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/redis_configmap.yaml") $ | sha1sum }}"
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/synapse/redis_configmap.yaml") $ | sha1sum }}"
|
||||
name: {{ $.Release.Name }}-synapse-redis
|
||||
namespace: {{ $.Release.Namespace }}
|
||||
spec:
|
||||
@@ -34,7 +34,7 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "element-io.synapse.redis.labels" (dict "root" $ "context" .) | nindent 8 }}
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/redis_configmap.yaml") $ | sha1sum }}"
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/synapse/redis_configmap.yaml") $ | sha1sum }}"
|
||||
{{- with .annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+4
-4
@@ -19,8 +19,8 @@ metadata:
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "element-io.synapse.process.labels" (dict "root" $ "context" $perProcessRoot) | nindent 4 }}
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/synapse_secret.yaml") $ | sha1sum }}"
|
||||
k8s.element.io/logconfighash: "{{ include (print $.Template.BasePath "/synapse_configmap.yaml") $ | sha1sum }}"
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/synapse/synapse_secret.yaml") $ | sha1sum }}"
|
||||
k8s.element.io/logconfighash: "{{ include (print $.Template.BasePath "/synapse/synapse_configmap.yaml") $ | sha1sum }}"
|
||||
{{- range $index, $appservice := .appservices }}
|
||||
k8s.element.io/as-registration-{{ $index }}-hash: "{{ (lookup "v1" "ConfigMap" $.Release.Namespace $appservice.registrationFileConfigMap) | toJson | sha1sum }}"
|
||||
{{- end }}
|
||||
@@ -40,8 +40,8 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "element-io.synapse.process.labels" (dict "root" $ "context" $perProcessRoot) | nindent 8 }}
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/synapse_secret.yaml") $ | sha1sum }}"
|
||||
k8s.element.io/logconfighash: "{{ include (print $.Template.BasePath "/synapse_configmap.yaml") $ | sha1sum }}"
|
||||
k8s.element.io/confighash: "{{ include (print $.Template.BasePath "/synapse/synapse_secret.yaml") $ | sha1sum }}"
|
||||
k8s.element.io/logconfighash: "{{ include (print $.Template.BasePath "/synapse/synapse_configmap.yaml") $ | sha1sum }}"
|
||||
{{- range $index, $appservice := .appservices }}
|
||||
k8s.element.io/as-registration-{{ $index }}-hash: "{{ (lookup "v1" "ConfigMap" $.Release.Namespace $appservice.registrationFileConfigMap) | toJson | sha1sum }}"
|
||||
{{- end }}
|
||||
File diff suppressed because it is too large.
Load diff
+572
-590
File diff suppressed because it is too large.
Load diff
@@ -1,8 +0,0 @@
|
||||
# Copyright 2024 New Vector Ltd
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
|
||||
.helmignore
|
||||
synapse-*.tgz
|
||||
source/
|
||||
user_values/
|
||||
@@ -1,6 +0,0 @@
|
||||
dependencies:
|
||||
- name: ess-library
|
||||
repository: file://../ess-library
|
||||
version: 0.0.0-dev
|
||||
digest: sha256:1f7a32667f6336fd19d1b6e3a24fd2cb51f3d728bf5ec086d7718c5350352f26
|
||||
generated: "2024-11-20T09:08:36.320541167Z"
|
||||
@@ -1,14 +0,0 @@
|
||||
# Copyright 2024 New Vector Ltd
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
|
||||
apiVersion: v2
|
||||
name: synapse
|
||||
description: A Helm chart for deploying Synapse
|
||||
type: application
|
||||
version: "0.0.0-dev"
|
||||
appVersion: "v1.116.0"
|
||||
dependencies:
|
||||
- name: ess-library
|
||||
repository: file://../ess-library
|
||||
version: 0.0.0-dev
|
||||
@@ -1,289 +0,0 @@
|
||||
{
|
||||
"$id": "file://synapse",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"global": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/global.json"
|
||||
},
|
||||
"ess": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/ess.json"
|
||||
},
|
||||
"ess-library": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"synapse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"postgres": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/postgres-libpq.json"
|
||||
},
|
||||
"media": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"storage": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/persistentVolumeClaim.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"macaroon": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/credential.json"
|
||||
},
|
||||
"registrationSharedSecret": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/credential.json"
|
||||
},
|
||||
"signingKey": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/credential.json"
|
||||
},
|
||||
"additional": {
|
||||
"type": "object",
|
||||
"anyOf": [
|
||||
{
|
||||
"required": []
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"config"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"configSecret",
|
||||
"configSecretKey"
|
||||
]
|
||||
}
|
||||
],
|
||||
"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://./../../matrix-stack/sub_schemas/global.json"
|
||||
},
|
||||
"ess-library": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/essLibrary.json"
|
||||
},
|
||||
"ingress": {
|
||||
"$ref": "file://sub_schemas/ingress_with_additional_paths.json"
|
||||
},
|
||||
"image": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/image.json"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/labels.json"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/workloadAnnotations.json"
|
||||
},
|
||||
"containersSecurityContext": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/containersSecurityContext.json"
|
||||
},
|
||||
"extraEnv": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/extraEnv.json"
|
||||
},
|
||||
"hostAliases": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/hostAliases.json"
|
||||
},
|
||||
"nodeSelector": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/nodeSelector.json"
|
||||
},
|
||||
"podSecurityContext": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/podSecurityContext.json"
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/resources.json"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/serviceAccount.json"
|
||||
},
|
||||
"serviceMonitors": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/serviceMonitors.json"
|
||||
},
|
||||
"tolerations": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/tolerations.json"
|
||||
},
|
||||
"workers": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"appservice": {
|
||||
"$ref": "file://sub_schemas/single_worker.json"
|
||||
},
|
||||
"background": {
|
||||
"$ref": "file://sub_schemas/single_worker.json"
|
||||
},
|
||||
"client-reader": {
|
||||
"$ref": "file://sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"encryption": {
|
||||
"$ref": "file://sub_schemas/single_worker.json"
|
||||
},
|
||||
"event-creator": {
|
||||
"$ref": "file://sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"event-persister": {
|
||||
"$ref": "file://sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"federation-reader": {
|
||||
"$ref": "file://sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"federation-sender": {
|
||||
"$ref": "file://sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"initial-synchrotron": {
|
||||
"$ref": "file://sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"media-repository": {
|
||||
"$ref": "file://sub_schemas/single_worker.json"
|
||||
},
|
||||
"presence-writer": {
|
||||
"$ref": "file://sub_schemas/single_worker.json"
|
||||
},
|
||||
"pusher": {
|
||||
"$ref": "file://sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"receipts-account": {
|
||||
"$ref": "file://sub_schemas/single_worker.json"
|
||||
},
|
||||
"sliding-sync": {
|
||||
"$ref": "file://sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"sso-login": {
|
||||
"$ref": "file://sub_schemas/single_worker.json"
|
||||
},
|
||||
"synchrotron": {
|
||||
"$ref": "file://sub_schemas/scalable_worker.json"
|
||||
},
|
||||
"typing-persister": {
|
||||
"$ref": "file://sub_schemas/single_worker.json"
|
||||
},
|
||||
"user-dir": {
|
||||
"$ref": "file://sub_schemas/single_worker.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"haproxy": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"replicas": {
|
||||
"minimum": 1,
|
||||
"type": "integer"
|
||||
},
|
||||
"image": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/image.json"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/labels.json"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/workloadAnnotations.json"
|
||||
},
|
||||
"containersSecurityContext": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/containersSecurityContext.json"
|
||||
},
|
||||
"nodeSelector": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/nodeSelector.json"
|
||||
},
|
||||
"podSecurityContext": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/podSecurityContext.json"
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/resources.json"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/serviceAccount.json"
|
||||
},
|
||||
"serviceMonitors": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/serviceMonitors.json"
|
||||
},
|
||||
"tolerations": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/tolerations.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"redis": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"image": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/image.json"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/labels.json"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/workloadAnnotations.json"
|
||||
},
|
||||
"containersSecurityContext": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/containersSecurityContext.json"
|
||||
},
|
||||
"nodeSelector": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/nodeSelector.json"
|
||||
},
|
||||
"podSecurityContext": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/podSecurityContext.json"
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/resources.json"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/serviceAccount.json"
|
||||
},
|
||||
"tolerations": {
|
||||
"$ref": "file://./../../matrix-stack/sub_schemas/tolerations.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,116 +0,0 @@
|
||||
{#
|
||||
Copyright 2024 New Vector Ltd
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
#}
|
||||
|
||||
{% import 'sub_schema_values.yaml.j2' as sub_schema_values -%}
|
||||
{% import 'synapse_sub_schema_values.yaml.j2' as synapse_sub_schema_values -%}
|
||||
{{- sub_schema_values.generatedFileWarning() }}
|
||||
|
||||
{{- sub_schema_values.ess() }}
|
||||
|
||||
|
||||
synapse:
|
||||
enabled: true
|
||||
{{- sub_schema_values.postgresLibPQ() | indent(2) }}
|
||||
## Configures the media store for Synapse
|
||||
media:
|
||||
{{- sub_schema_values.persistentVolumeClaim("storage") | indent(4) }}
|
||||
|
||||
{{- sub_schema_values.credential("Key used to sign events and federation requests.\n## This needs to be the full signing key starting `ed25519 ...`", "signingKey") | indent(2) }}
|
||||
{{- sub_schema_values.credential("Shared Secret to registering users without having any users provisioned", "registrationSharedSecret") | indent(2) }}
|
||||
{{- sub_schema_values.credential("Secret used to sign Synapse issued tokens", "macaroon") | indent(2) }}
|
||||
|
||||
## Additional configuration to provide to all Synapse processes.
|
||||
## This can be provided in-line in the Helm Chart and/or via an existing Secret
|
||||
## e.g.
|
||||
## additional:
|
||||
## config: |
|
||||
## allow_guest_access: true
|
||||
##
|
||||
## or
|
||||
## additional:
|
||||
## configSecret: custom-synapse-config
|
||||
## configSecretKey: shared.yaml
|
||||
additional: {}
|
||||
|
||||
## Details of Application Service registration files to give to Synapse
|
||||
## e.g.
|
||||
## appservices:
|
||||
## - registrationFileConfigMap: test-appservice
|
||||
appservices: []
|
||||
|
||||
## Additional Synapse processes managed by this chart
|
||||
## e.g.
|
||||
## workers:
|
||||
## client-reader:
|
||||
## instances: 2
|
||||
## event-creator: {}
|
||||
workers:
|
||||
{{- synapse_sub_schema_values.single_worker('appservice') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.single_worker('background') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('client-reader') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.single_worker('encryption') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('event-creator') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('event-persister') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('federation-reader') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('federation-sender') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('initial-synchrotron') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.single_worker('media-repository') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.single_worker('presence-writer') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('pusher') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.single_worker('receipts-account') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('sliding-sync') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.single_worker('sso-login') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.scalable_worker('synchrotron') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.single_worker('typing-persister') | indent(4) }}
|
||||
{{- synapse_sub_schema_values.single_worker('user-dir') | indent(4) }}
|
||||
|
||||
## Synapse's logging settings
|
||||
logging:
|
||||
## The maximum level of Synapse log output before any overrides
|
||||
rootLevel: INFO
|
||||
|
||||
## Override the log level of specific loggers
|
||||
## e.g.
|
||||
## levelOverrides:
|
||||
## synapse.util.caches.lrucache: WARNING
|
||||
levelOverrides: {}
|
||||
{{- sub_schema_values.image(registry='docker.io', repository='matrixdotorg/synapse') | indent(2) }}
|
||||
{{- sub_schema_values.ingress() | indent(2) }}
|
||||
{{- sub_schema_values.labels() | indent(2) }}
|
||||
{{- sub_schema_values.workloadAnnotations() | indent(2) }}
|
||||
{{- sub_schema_values.containersSecurityContext() | indent(2) }}
|
||||
{{- sub_schema_values.extraEnv() | indent(2) }}
|
||||
{{- sub_schema_values.hostAliases() | indent(2) }}
|
||||
{{- sub_schema_values.nodeSelector() | indent(2) }}
|
||||
{{- sub_schema_values.podSecurityContext(user_id='10091', group_id='10091') | indent(2) }}
|
||||
{{- sub_schema_values.resources(requests_memory='100Mi', requests_cpu='100m', limits_memory='4Gi') | indent(2) }}
|
||||
{{- sub_schema_values.serviceAccount() | indent(2) }}
|
||||
{{- sub_schema_values.serviceMonitors() | indent(2) }}
|
||||
{{- sub_schema_values.tolerations() | indent(2) }}
|
||||
|
||||
haproxy:
|
||||
replicas: 2
|
||||
{{- sub_schema_values.image(registry='docker.io', repository='library/haproxy', tag='3.0-alpine') | indent(4) }}
|
||||
{{- sub_schema_values.labels() | indent(4) }}
|
||||
{{- sub_schema_values.workloadAnnotations() | indent(4) }}
|
||||
{{- sub_schema_values.containersSecurityContext() | indent(4) }}
|
||||
{{- sub_schema_values.nodeSelector() | indent(4) }}
|
||||
{{- sub_schema_values.podSecurityContext(user_id='10001', group_id='10001') | indent(4) }}
|
||||
{{- sub_schema_values.resources(requests_memory='100Mi', requests_cpu='100m', limits_memory='200Mi') | indent(4) }}
|
||||
{{- sub_schema_values.serviceAccount() | indent(4) }}
|
||||
{{- sub_schema_values.serviceMonitors() | indent(4) }}
|
||||
{{- sub_schema_values.tolerations() | indent(4) }}
|
||||
|
||||
redis:
|
||||
{{- sub_schema_values.image(registry='docker.io', repository='library/redis', tag='7.4-alpine') | indent(4) }}
|
||||
{{- sub_schema_values.labels() | indent(4) }}
|
||||
{{- sub_schema_values.workloadAnnotations() | indent(4) }}
|
||||
{{- sub_schema_values.containersSecurityContext() | indent(4) }}
|
||||
{{- sub_schema_values.nodeSelector() | indent(4) }}
|
||||
{{- sub_schema_values.podSecurityContext(user_id='10002', group_id='10002') | indent(4) }}
|
||||
{{- sub_schema_values.resources(requests_memory='50Mi', requests_cpu='50m', limits_memory='50Mi') | indent(4) }}
|
||||
{{- sub_schema_values.serviceAccount() | indent(4) }}
|
||||
{{- sub_schema_values.tolerations() | indent(4) }}
|
||||
Whitespace-only changes.
File diff suppressed because it is too large.
Load diff
@@ -1,761 +0,0 @@
|
||||
# Copyright 2024 New Vector Ltd
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
|
||||
# This file is generated. Do not edit directly. Edit source/values.yaml.j2 instead to make changes
|
||||
## ESS specific globals, namespaced to avoid interference with other charts
|
||||
ess:
|
||||
## The server name of the Matrix Stack. This gets embedded in user IDs & room IDs
|
||||
## It can not change after the initial deployment.
|
||||
# serverName: ess.localhost
|
||||
## Labels to add to all manifest in this chart
|
||||
labels: {}
|
||||
|
||||
## A list of Secrets in this namespace to use as pull Secrets.
|
||||
## Ignored if a given component specifies its own pull Secrets.
|
||||
## e.g.
|
||||
## imagePullSecrets:
|
||||
## - name: ess-pull-secret
|
||||
imagePullSecrets: []
|
||||
|
||||
|
||||
synapse:
|
||||
enabled: true
|
||||
## Details of the Postgres Database to use
|
||||
postgres:
|
||||
## PostgreSQL database host
|
||||
# host:
|
||||
|
||||
## PostgreSQL port
|
||||
port: 5432
|
||||
|
||||
## PostgreSQL username
|
||||
# user:
|
||||
|
||||
## PostgreSQL database name
|
||||
# database:
|
||||
|
||||
## TLS settins to use for the PostgreSQL connection
|
||||
sslMode: prefer
|
||||
|
||||
## PostgreSQL password.
|
||||
## It can either be provided inline in the Helm chart e.g.:
|
||||
## password:
|
||||
## value: SecretValue
|
||||
##
|
||||
## Or it can be provided via an existing Secret e.g.:
|
||||
## password:
|
||||
## secret: existing-secret
|
||||
## secretKey: key-in-secret
|
||||
password: {}
|
||||
## Configures the media store for Synapse
|
||||
media:
|
||||
## Configures the PersistentVolumeClaim to be used for storage
|
||||
storage:
|
||||
## Name of an existing PersistentVolumeClaim in this namespace that should be used
|
||||
# existingClaim:
|
||||
|
||||
## The size of a PersistentVolumeClaim to be constructed
|
||||
## Ignored if existingClaim is provided
|
||||
size: 10Gi
|
||||
|
||||
## The StorageClass to be used by the constructed PersistentVolumeClaim.
|
||||
## Will use the cluster default if not provided
|
||||
## Ignored if existingClaim is provided
|
||||
# storageClass:
|
||||
## Key used to sign events and federation requests.
|
||||
## This needs to be the full signing key starting `ed25519 ...`.
|
||||
## It can either be provided inline in the Helm chart e.g.:
|
||||
## signingKey:
|
||||
## value: SecretValue
|
||||
##
|
||||
## Or it can be provided via an existing Secret e.g.:
|
||||
## signingKey:
|
||||
## secret: existing-secret
|
||||
## secretKey: key-in-secret
|
||||
signingKey: {}
|
||||
## Shared Secret to registering users without having any users provisioned.
|
||||
## It can either be provided inline in the Helm chart e.g.:
|
||||
## registrationSharedSecret:
|
||||
## value: SecretValue
|
||||
##
|
||||
## Or it can be provided via an existing Secret e.g.:
|
||||
## registrationSharedSecret:
|
||||
## secret: existing-secret
|
||||
## secretKey: key-in-secret
|
||||
registrationSharedSecret: {}
|
||||
## Secret used to sign Synapse issued tokens.
|
||||
## It can either be provided inline in the Helm chart e.g.:
|
||||
## macaroon:
|
||||
## value: SecretValue
|
||||
##
|
||||
## Or it can be provided via an existing Secret e.g.:
|
||||
## macaroon:
|
||||
## secret: existing-secret
|
||||
## secretKey: key-in-secret
|
||||
macaroon: {}
|
||||
|
||||
## Additional configuration to provide to all Synapse processes.
|
||||
## This can be provided in-line in the Helm Chart and/or via an existing Secret
|
||||
## e.g.
|
||||
## additional:
|
||||
## config: |
|
||||
## allow_guest_access: true
|
||||
##
|
||||
## or
|
||||
## additional:
|
||||
## configSecret: custom-synapse-config
|
||||
## configSecretKey: shared.yaml
|
||||
additional: {}
|
||||
|
||||
## Details of Application Service registration files to give to Synapse
|
||||
## e.g.
|
||||
## appservices:
|
||||
## - registrationFileConfigMap: test-appservice
|
||||
appservices: []
|
||||
|
||||
## Additional Synapse processes managed by this chart
|
||||
## e.g.
|
||||
## workers:
|
||||
## client-reader:
|
||||
## instances: 2
|
||||
## event-creator: {}
|
||||
workers:
|
||||
appservice:
|
||||
## Set to true to deploy a single instance of this worker
|
||||
enabled: false
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
background:
|
||||
## Set to true to deploy a single instance of this worker
|
||||
enabled: false
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
client-reader:
|
||||
## Set to true to deploy instances of this worker
|
||||
enabled: false
|
||||
|
||||
## The number of instances of this worker to run
|
||||
instances: 1
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
encryption:
|
||||
## Set to true to deploy a single instance of this worker
|
||||
enabled: false
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
event-creator:
|
||||
## Set to true to deploy instances of this worker
|
||||
enabled: false
|
||||
|
||||
## The number of instances of this worker to run
|
||||
instances: 1
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
event-persister:
|
||||
## Set to true to deploy instances of this worker
|
||||
enabled: false
|
||||
|
||||
## The number of instances of this worker to run
|
||||
instances: 1
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
federation-reader:
|
||||
## Set to true to deploy instances of this worker
|
||||
enabled: false
|
||||
|
||||
## The number of instances of this worker to run
|
||||
instances: 1
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
federation-sender:
|
||||
## Set to true to deploy instances of this worker
|
||||
enabled: false
|
||||
|
||||
## The number of instances of this worker to run
|
||||
instances: 1
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
initial-synchrotron:
|
||||
## Set to true to deploy instances of this worker
|
||||
enabled: false
|
||||
|
||||
## The number of instances of this worker to run
|
||||
instances: 1
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
media-repository:
|
||||
## Set to true to deploy a single instance of this worker
|
||||
enabled: false
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
presence-writer:
|
||||
## Set to true to deploy a single instance of this worker
|
||||
enabled: false
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
pusher:
|
||||
## Set to true to deploy instances of this worker
|
||||
enabled: false
|
||||
|
||||
## The number of instances of this worker to run
|
||||
instances: 1
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
receipts-account:
|
||||
## Set to true to deploy a single instance of this worker
|
||||
enabled: false
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
sliding-sync:
|
||||
## Set to true to deploy instances of this worker
|
||||
enabled: false
|
||||
|
||||
## The number of instances of this worker to run
|
||||
instances: 1
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
sso-login:
|
||||
## Set to true to deploy a single instance of this worker
|
||||
enabled: false
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
synchrotron:
|
||||
## Set to true to deploy instances of this worker
|
||||
enabled: false
|
||||
|
||||
## The number of instances of this worker to run
|
||||
instances: 1
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
typing-persister:
|
||||
## Set to true to deploy a single instance of this worker
|
||||
enabled: false
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
user-dir:
|
||||
## Set to true to deploy a single instance of this worker
|
||||
enabled: false
|
||||
|
||||
## Resources for this worker.
|
||||
## If omitted the global Synapse resources are used
|
||||
# resources: {}
|
||||
|
||||
## Synapse's logging settings
|
||||
logging:
|
||||
## The maximum level of Synapse log output before any overrides
|
||||
rootLevel: INFO
|
||||
|
||||
## Override the log level of specific loggers
|
||||
## e.g.
|
||||
## levelOverrides:
|
||||
## synapse.util.caches.lrucache: WARNING
|
||||
levelOverrides: {}
|
||||
# Details of the image to be used
|
||||
image:
|
||||
## The host and (optional) port of the container image registry for this component.
|
||||
## If not specified Docker Hub is implied
|
||||
registry: docker.io
|
||||
|
||||
## The path in the registry where the container image is located
|
||||
repository: matrixdotorg/synapse
|
||||
|
||||
## The tag of the container image to use.
|
||||
## Defaults to the Chart's appVersion if not set
|
||||
# tag:
|
||||
|
||||
## Container digest to use. Used to pull the image instead of the image tag / Chart appVersion if set
|
||||
# digest:
|
||||
|
||||
## Whether the image should be pulled on container startup. Valid values are Always, IfNotPresent and Never
|
||||
## If this isn't provided it defaults to Always when using the image tag / Chart appVersion or
|
||||
## IfNotPresent if using a digest
|
||||
# pullPolicy:
|
||||
|
||||
## A list of pull secrets to use for this image
|
||||
## e.g.
|
||||
## pullSecrets:
|
||||
## - name: dockerhub
|
||||
pullSecrets: []
|
||||
## How this ingress should be constructed
|
||||
ingress:
|
||||
## What hostname should be used for this Ingress
|
||||
# host:
|
||||
|
||||
## Annotations to be added to this Ingress
|
||||
annotations: {}
|
||||
|
||||
## What Ingress Class Name should be used for this Ingress
|
||||
# className:
|
||||
|
||||
## The name of the Secret containing the TLS certificate and key should be used for this Ingress
|
||||
# tlsSecret:
|
||||
|
||||
## How the service behind the ingress is constructed
|
||||
service:
|
||||
type: ClusterIP
|
||||
## Labels to add to all manifest in this chart
|
||||
labels: {}
|
||||
## Defines the annotations to add to the workload
|
||||
# annotations: {}
|
||||
## A subset of SecurityContext. ContainersSecurityContext holds pod-level security attributes and common container settings
|
||||
containersSecurityContext:
|
||||
## Controls whether a process can gain more privileges than its parent process.
|
||||
## This bool directly controls whether the no_new_privs flag gets set on the container process.
|
||||
## allowPrivilegeEscalation is always true when the container is run as privileged, or has CAP_SYS_ADMIN
|
||||
allowPrivilegeEscalation: false
|
||||
|
||||
## Give a process some privileges, but not all the privileges of the root user.
|
||||
capabilities:
|
||||
## Privileges to add.
|
||||
# add: []
|
||||
## Privileges to drop.
|
||||
drop:
|
||||
- ALL
|
||||
|
||||
## Mounts the container's root filesystem as read-only.
|
||||
readOnlyRootFilesystem: true
|
||||
|
||||
## To set the Seccomp profile for a Container, include the seccompProfile field in the securityContext section of your Pod or Container manifest.
|
||||
## The seccompProfile field is a SeccompProfile object consisting of type and localhostProfile. Valid options for type include RuntimeDefault, Unconfined, and Localhost.
|
||||
## localhostProfile must only be set set if type Localhost. It indicates the path of the pre-configured profile on the node, relative to the kubelet's configured Seccomp profile location (configured with the --root-dir flag).
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
## Defines additional environment variables to be injected onto this workload
|
||||
## e.g.
|
||||
## extraEnv:
|
||||
## - name: FOO
|
||||
## value: "bar"
|
||||
extraEnv: []
|
||||
## The list of hosts aliases to configure on the pod spec.
|
||||
## It should be avoid as much as possible to use this feature.
|
||||
## Please prefer using an DNS entry to resolve your hostnames.
|
||||
## This can be used as a workaround when entries cannot be resolved using DNS, for example for our automated testings.
|
||||
## e.g.
|
||||
## hostAliases:
|
||||
## - ip: 192.0.2.1 # An IP resolution to add to /etc/hosts
|
||||
## # A list of hostnames to be associated with the above IP
|
||||
## hostnames:
|
||||
## - ess.localhost
|
||||
## - synapse.ess.localhost
|
||||
hostAliases: []
|
||||
## NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
||||
# nodeSelector: {}
|
||||
## A subset of PodSecurityContext. PodSecurityContext holds pod-level security attributes and common container settings
|
||||
podSecurityContext:
|
||||
## A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to
|
||||
## change the ownership of that volume to be owned by the pod:
|
||||
##
|
||||
## 1. The owning GID will be the FSGroup
|
||||
## 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)## 3. The permission bits are OR'd with rw-rw----
|
||||
##
|
||||
## If unset, the Kubelet will not modify the ownership and permissions of any volume.
|
||||
fsGroup: 10091
|
||||
|
||||
## fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod.
|
||||
## This field will only apply to volume types which support fsGroup based ownership(and permissions).
|
||||
## It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
|
||||
# fsGroupChangePolicy:
|
||||
|
||||
## The GID to run the entrypoint of the container process. Uses runtime default if unset.
|
||||
runAsGroup: 10091
|
||||
|
||||
## Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed.
|
||||
runAsNonRoot: true
|
||||
|
||||
## The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified.
|
||||
runAsUser: 10091
|
||||
|
||||
## SELinuxOptions are the labels to be applied to all the pod containers
|
||||
# seLinuxOptions:
|
||||
## Level is SELinux level label that applies to the container.
|
||||
# level:
|
||||
|
||||
## Role is a SELinux role label that applies to the container.
|
||||
# role:
|
||||
|
||||
## Type is a SELinux type label that applies to the container.
|
||||
# type:
|
||||
|
||||
## User is a SELinux user label that applies to the container.
|
||||
# user:
|
||||
|
||||
## "To set the Seccomp profile for a Container, include the seccompProfile field in the securityContext section of your Pod or Container manifest.
|
||||
## The seccompProfile field is a SeccompProfile object consisting of type and localhostProfile.
|
||||
## Valid options for type include RuntimeDefault, Unconfined, and Localhost. localhostProfile must only be set set if type Localhost.
|
||||
## It indicates the path of the pre-configured profile on the node, relative to the kubelet's configured Seccomp profile location (configured with the --root-dir flag).
|
||||
# seccompProfile:
|
||||
# localhostProfile:
|
||||
# type:
|
||||
|
||||
## A list of groups applied to the first process run in each container, in addition to the container's primary GID.
|
||||
## If unspecified, no groups will be added to any container.
|
||||
supplementalGroups: []
|
||||
## Kubernetes resources to allocate to each instance.
|
||||
resources:
|
||||
## Requests describes the minimum amount of compute resources required. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
||||
requests:
|
||||
memory: 100Mi
|
||||
cpu: 100m
|
||||
|
||||
## Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
||||
limits:
|
||||
memory: 4Gi
|
||||
## Controls configuration of the ServiceAccount for this component
|
||||
serviceAccount:
|
||||
## Whether a ServiceAccount should be created by the chart or not
|
||||
create: true
|
||||
|
||||
## What name to give the ServiceAccount. If not provided the chart will provide the name automatically
|
||||
name: ""
|
||||
|
||||
## Annotations to add to the service account
|
||||
annotations: {}
|
||||
## Whether to deploy ServiceMonitors into the cluster for this component
|
||||
## Requires the ServiceMonitor CRDs to be in the cluster
|
||||
serviceMonitors:
|
||||
enabled: true
|
||||
## Workload tolerations
|
||||
## The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
|
||||
##
|
||||
## * effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
|
||||
## * key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
|
||||
## * operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
|
||||
## * value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
|
||||
##
|
||||
## * tolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
|
||||
## e.g.
|
||||
## tolerations:
|
||||
## - effect:
|
||||
## key:
|
||||
## operator:
|
||||
## value:
|
||||
|
||||
tolerations: []
|
||||
|
||||
haproxy:
|
||||
replicas: 2
|
||||
# Details of the image to be used
|
||||
image:
|
||||
## The host and (optional) port of the container image registry for this component.
|
||||
## If not specified Docker Hub is implied
|
||||
registry: docker.io
|
||||
|
||||
## The path in the registry where the container image is located
|
||||
repository: library/haproxy
|
||||
|
||||
## The tag of the container image to use.
|
||||
## Defaults to the Chart's appVersion if not set
|
||||
tag: 3.0-alpine
|
||||
|
||||
## Container digest to use. Used to pull the image instead of the image tag / Chart appVersion if set
|
||||
# digest:
|
||||
|
||||
## Whether the image should be pulled on container startup. Valid values are Always, IfNotPresent and Never
|
||||
## If this isn't provided it defaults to Always when using the image tag / Chart appVersion or
|
||||
## IfNotPresent if using a digest
|
||||
# pullPolicy:
|
||||
|
||||
## A list of pull secrets to use for this image
|
||||
## e.g.
|
||||
## pullSecrets:
|
||||
## - name: dockerhub
|
||||
pullSecrets: []
|
||||
## Labels to add to all manifest in this chart
|
||||
labels: {}
|
||||
## Defines the annotations to add to the workload
|
||||
# annotations: {}
|
||||
## A subset of SecurityContext. ContainersSecurityContext holds pod-level security attributes and common container settings
|
||||
containersSecurityContext:
|
||||
## Controls whether a process can gain more privileges than its parent process.
|
||||
## This bool directly controls whether the no_new_privs flag gets set on the container process.
|
||||
## allowPrivilegeEscalation is always true when the container is run as privileged, or has CAP_SYS_ADMIN
|
||||
allowPrivilegeEscalation: false
|
||||
|
||||
## Give a process some privileges, but not all the privileges of the root user.
|
||||
capabilities:
|
||||
## Privileges to add.
|
||||
# add: []
|
||||
## Privileges to drop.
|
||||
drop:
|
||||
- ALL
|
||||
|
||||
## Mounts the container's root filesystem as read-only.
|
||||
readOnlyRootFilesystem: true
|
||||
|
||||
## To set the Seccomp profile for a Container, include the seccompProfile field in the securityContext section of your Pod or Container manifest.
|
||||
## The seccompProfile field is a SeccompProfile object consisting of type and localhostProfile. Valid options for type include RuntimeDefault, Unconfined, and Localhost.
|
||||
## localhostProfile must only be set set if type Localhost. It indicates the path of the pre-configured profile on the node, relative to the kubelet's configured Seccomp profile location (configured with the --root-dir flag).
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
## NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
||||
# nodeSelector: {}
|
||||
## A subset of PodSecurityContext. PodSecurityContext holds pod-level security attributes and common container settings
|
||||
podSecurityContext:
|
||||
## A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to
|
||||
## change the ownership of that volume to be owned by the pod:
|
||||
##
|
||||
## 1. The owning GID will be the FSGroup
|
||||
## 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)## 3. The permission bits are OR'd with rw-rw----
|
||||
##
|
||||
## If unset, the Kubelet will not modify the ownership and permissions of any volume.
|
||||
fsGroup: 10001
|
||||
|
||||
## fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod.
|
||||
## This field will only apply to volume types which support fsGroup based ownership(and permissions).
|
||||
## It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
|
||||
# fsGroupChangePolicy:
|
||||
|
||||
## The GID to run the entrypoint of the container process. Uses runtime default if unset.
|
||||
runAsGroup: 10001
|
||||
|
||||
## Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed.
|
||||
runAsNonRoot: true
|
||||
|
||||
## The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified.
|
||||
runAsUser: 10001
|
||||
|
||||
## SELinuxOptions are the labels to be applied to all the pod containers
|
||||
# seLinuxOptions:
|
||||
## Level is SELinux level label that applies to the container.
|
||||
# level:
|
||||
|
||||
## Role is a SELinux role label that applies to the container.
|
||||
# role:
|
||||
|
||||
## Type is a SELinux type label that applies to the container.
|
||||
# type:
|
||||
|
||||
## User is a SELinux user label that applies to the container.
|
||||
# user:
|
||||
|
||||
## "To set the Seccomp profile for a Container, include the seccompProfile field in the securityContext section of your Pod or Container manifest.
|
||||
## The seccompProfile field is a SeccompProfile object consisting of type and localhostProfile.
|
||||
## Valid options for type include RuntimeDefault, Unconfined, and Localhost. localhostProfile must only be set set if type Localhost.
|
||||
## It indicates the path of the pre-configured profile on the node, relative to the kubelet's configured Seccomp profile location (configured with the --root-dir flag).
|
||||
# seccompProfile:
|
||||
# localhostProfile:
|
||||
# type:
|
||||
|
||||
## A list of groups applied to the first process run in each container, in addition to the container's primary GID.
|
||||
## If unspecified, no groups will be added to any container.
|
||||
supplementalGroups: []
|
||||
## Kubernetes resources to allocate to each instance.
|
||||
resources:
|
||||
## Requests describes the minimum amount of compute resources required. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
||||
requests:
|
||||
memory: 100Mi
|
||||
cpu: 100m
|
||||
|
||||
## Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
||||
limits:
|
||||
memory: 200Mi
|
||||
## Controls configuration of the ServiceAccount for this component
|
||||
serviceAccount:
|
||||
## Whether a ServiceAccount should be created by the chart or not
|
||||
create: true
|
||||
|
||||
## What name to give the ServiceAccount. If not provided the chart will provide the name automatically
|
||||
name: ""
|
||||
|
||||
## Annotations to add to the service account
|
||||
annotations: {}
|
||||
## Whether to deploy ServiceMonitors into the cluster for this component
|
||||
## Requires the ServiceMonitor CRDs to be in the cluster
|
||||
serviceMonitors:
|
||||
enabled: true
|
||||
## Workload tolerations
|
||||
## The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
|
||||
##
|
||||
## * effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
|
||||
## * key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
|
||||
## * operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
|
||||
## * value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
|
||||
##
|
||||
## * tolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
|
||||
## e.g.
|
||||
## tolerations:
|
||||
## - effect:
|
||||
## key:
|
||||
## operator:
|
||||
## value:
|
||||
|
||||
tolerations: []
|
||||
|
||||
redis:
|
||||
# Details of the image to be used
|
||||
image:
|
||||
## The host and (optional) port of the container image registry for this component.
|
||||
## If not specified Docker Hub is implied
|
||||
registry: docker.io
|
||||
|
||||
## The path in the registry where the container image is located
|
||||
repository: library/redis
|
||||
|
||||
## The tag of the container image to use.
|
||||
## Defaults to the Chart's appVersion if not set
|
||||
tag: 7.4-alpine
|
||||
|
||||
## Container digest to use. Used to pull the image instead of the image tag / Chart appVersion if set
|
||||
# digest:
|
||||
|
||||
## Whether the image should be pulled on container startup. Valid values are Always, IfNotPresent and Never
|
||||
## If this isn't provided it defaults to Always when using the image tag / Chart appVersion or
|
||||
## IfNotPresent if using a digest
|
||||
# pullPolicy:
|
||||
|
||||
## A list of pull secrets to use for this image
|
||||
## e.g.
|
||||
## pullSecrets:
|
||||
## - name: dockerhub
|
||||
pullSecrets: []
|
||||
## Labels to add to all manifest in this chart
|
||||
labels: {}
|
||||
## Defines the annotations to add to the workload
|
||||
# annotations: {}
|
||||
## A subset of SecurityContext. ContainersSecurityContext holds pod-level security attributes and common container settings
|
||||
containersSecurityContext:
|
||||
## Controls whether a process can gain more privileges than its parent process.
|
||||
## This bool directly controls whether the no_new_privs flag gets set on the container process.
|
||||
## allowPrivilegeEscalation is always true when the container is run as privileged, or has CAP_SYS_ADMIN
|
||||
allowPrivilegeEscalation: false
|
||||
|
||||
## Give a process some privileges, but not all the privileges of the root user.
|
||||
capabilities:
|
||||
## Privileges to add.
|
||||
# add: []
|
||||
## Privileges to drop.
|
||||
drop:
|
||||
- ALL
|
||||
|
||||
## Mounts the container's root filesystem as read-only.
|
||||
readOnlyRootFilesystem: true
|
||||
|
||||
## To set the Seccomp profile for a Container, include the seccompProfile field in the securityContext section of your Pod or Container manifest.
|
||||
## The seccompProfile field is a SeccompProfile object consisting of type and localhostProfile. Valid options for type include RuntimeDefault, Unconfined, and Localhost.
|
||||
## localhostProfile must only be set set if type Localhost. It indicates the path of the pre-configured profile on the node, relative to the kubelet's configured Seccomp profile location (configured with the --root-dir flag).
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
## NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
||||
# nodeSelector: {}
|
||||
## A subset of PodSecurityContext. PodSecurityContext holds pod-level security attributes and common container settings
|
||||
podSecurityContext:
|
||||
## A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to
|
||||
## change the ownership of that volume to be owned by the pod:
|
||||
##
|
||||
## 1. The owning GID will be the FSGroup
|
||||
## 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)## 3. The permission bits are OR'd with rw-rw----
|
||||
##
|
||||
## If unset, the Kubelet will not modify the ownership and permissions of any volume.
|
||||
fsGroup: 10002
|
||||
|
||||
## fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod.
|
||||
## This field will only apply to volume types which support fsGroup based ownership(and permissions).
|
||||
## It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
|
||||
# fsGroupChangePolicy:
|
||||
|
||||
## The GID to run the entrypoint of the container process. Uses runtime default if unset.
|
||||
runAsGroup: 10002
|
||||
|
||||
## Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed.
|
||||
runAsNonRoot: true
|
||||
|
||||
## The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified.
|
||||
runAsUser: 10002
|
||||
|
||||
## SELinuxOptions are the labels to be applied to all the pod containers
|
||||
# seLinuxOptions:
|
||||
## Level is SELinux level label that applies to the container.
|
||||
# level:
|
||||
|
||||
## Role is a SELinux role label that applies to the container.
|
||||
# role:
|
||||
|
||||
## Type is a SELinux type label that applies to the container.
|
||||
# type:
|
||||
|
||||
## User is a SELinux user label that applies to the container.
|
||||
# user:
|
||||
|
||||
## "To set the Seccomp profile for a Container, include the seccompProfile field in the securityContext section of your Pod or Container manifest.
|
||||
## The seccompProfile field is a SeccompProfile object consisting of type and localhostProfile.
|
||||
## Valid options for type include RuntimeDefault, Unconfined, and Localhost. localhostProfile must only be set set if type Localhost.
|
||||
## It indicates the path of the pre-configured profile on the node, relative to the kubelet's configured Seccomp profile location (configured with the --root-dir flag).
|
||||
# seccompProfile:
|
||||
# localhostProfile:
|
||||
# type:
|
||||
|
||||
## A list of groups applied to the first process run in each container, in addition to the container's primary GID.
|
||||
## If unspecified, no groups will be added to any container.
|
||||
supplementalGroups: []
|
||||
## Kubernetes resources to allocate to each instance.
|
||||
resources:
|
||||
## Requests describes the minimum amount of compute resources required. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
||||
requests:
|
||||
memory: 50Mi
|
||||
cpu: 50m
|
||||
|
||||
## Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
|
||||
limits:
|
||||
memory: 50Mi
|
||||
## Controls configuration of the ServiceAccount for this component
|
||||
serviceAccount:
|
||||
## Whether a ServiceAccount should be created by the chart or not
|
||||
create: true
|
||||
|
||||
## What name to give the ServiceAccount. If not provided the chart will provide the name automatically
|
||||
name: ""
|
||||
|
||||
## Annotations to add to the service account
|
||||
annotations: {}
|
||||
## Workload tolerations
|
||||
## The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
|
||||
##
|
||||
## * effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
|
||||
## * key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
|
||||
## * operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
|
||||
## * value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
|
||||
##
|
||||
## * tolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
|
||||
## e.g.
|
||||
## tolerations:
|
||||
## - effect:
|
||||
## key:
|
||||
## operator:
|
||||
## value:
|
||||
|
||||
tolerations: []
|
||||
Reference in new issue
Block a user