Automated Manifest Update (#2488)
This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow. Reviewed-on: #2488 Co-authored-by: gitea-bot <gitea-bot@alexlebens.net> Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
This commit was merged in pull request #2488.
This commit is contained in:
@@ -30,4 +30,4 @@ data:
|
|||||||
root:
|
root:
|
||||||
level: INFO
|
level: INFO
|
||||||
handlers: [console]
|
handlers: [console]
|
||||||
homeserver.yaml: "# NOTE:\n# Secrets are stored in separate configs to better fit K8s concepts\n\n## Server ##\n\nserver_name: \"alexlebens.dev\"\npublic_baseurl: \"https://matrix.alexlebens.dev\"\npid_file: /homeserver.pid\nweb_client: False\nsoft_file_limit: 0\nlog_config: \"/synapse/config/log.yaml\"\nreport_stats: false\n\ninstance_map:\n main:\n host: matrix-synapse-replication\n port: 9093\n\n## Ports ##\n\nlisteners:\n - port: 8008\n tls: false\n bind_addresses: [\"::\"]\n type: http\n x_forwarded: true\n\n resources:\n - names: \n - client\n - federation\n compress: false\n\n - port: 9090\n tls: false\n bind_addresses: [\"::\"]\n type: http\n\n resources:\n - names: [metrics]\n compress: false\n\n - port: 9093\n tls: false\n bind_addresses: [\"::\"]\n type: http\n\n resources:\n - names: [replication]\n compress: false\n\n## Files ##\n\nmedia_store_path: \"/synapse/data/media\"\nuploads_path: \"/synapse/data/uploads\"\n\n## Registration ##\n\nenable_registration: true\n\n## Metrics ###\n\nenable_metrics: true\n\n## Signing Keys ##\n\nsigning_key_path: \"/synapse/keys/signing.key\"\n\n# The trusted servers to download signing keys from.\ntrusted_key_servers:\n []\n\n## Workers ##\n\n## Extra config ##\n\napp_service_config_files:\n- /synapse/config/conf.d/hookshot-registration.yaml\n- /synapse/config/conf.d/double-puppet-registration.yaml\n- /synapse/config/conf.d/mautrix-whatsapp-registration.yaml\nenable_metrics: true\nenable_registration_without_verification: true\nexperimental_features:\n msc2409_to_device_messages_enabled: true\n msc3202_device_masquerading: true\n msc3202_transaction_extensions: true\npassword_config:\n enabled: false\nsso:\n client_whitelist:\n - https://chat.alexlebens.dev/\n update_profile_information: true\n"
|
homeserver.yaml: "# NOTE:\n# Secrets are stored in separate configs to better fit K8s concepts\n\n## Server ##\n\nserver_name: \"alexlebens.dev\"\npublic_baseurl: \"https://matrix.alexlebens.dev\"\npid_file: /homeserver.pid\nweb_client: False\nsoft_file_limit: 0\nlog_config: \"/synapse/config/log.yaml\"\nreport_stats: false\n\ninstance_map:\n main:\n host: matrix-synapse-replication\n port: 9093\n\n## Ports ##\n\nlisteners:\n - port: 8008\n tls: false\n bind_addresses: [\"::\"]\n type: http\n x_forwarded: true\n\n resources:\n - names: \n - client\n - federation\n compress: false\n\n - port: 9090\n tls: false\n bind_addresses: [\"::\"]\n type: http\n\n resources:\n - names: [metrics]\n compress: false\n\n - port: 9093\n tls: false\n bind_addresses: [\"::\"]\n type: http\n\n resources:\n - names: [replication]\n compress: false\n\n## Files ##\n\nmedia_store_path: \"/synapse/data/media\"\nuploads_path: \"/synapse/data/uploads\"\n\n## Registration ##\n\nenable_registration: true\n\n## Metrics ###\n\nenable_metrics: true\n\n## Signing Keys ##\n\nsigning_key_path: \"/synapse/keys/signing.key\"\n\n# The trusted servers to download signing keys from.\ntrusted_key_servers:\n []\n\n## Workers ##\n\n## Extra config ##\n\napp_service_config_files:\n- /synapse/config/conf.d/hookshot-registration.yaml\n- /synapse/config/conf.d/double-puppet-registration.yaml\n- /synapse/config/conf.d/mautrix-whatsapp-registration.yaml\n- /synapse/config/conf.d/mautrix-discord-registration.yaml\nenable_metrics: true\nenable_registration_without_verification: true\nexperimental_features:\n msc2409_to_device_messages_enabled: true\n msc3202_device_masquerading: true\n msc3202_transaction_extensions: true\npassword_config:\n enabled: false\nsso:\n client_whitelist:\n - https://chat.alexlebens.dev/\n update_profile_information: true\n"
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
|
kind: Database
|
||||||
|
metadata:
|
||||||
|
name: matrix-synapse-postgresql-18-cluster-mautrix-discord-database
|
||||||
|
namespace: matrix-synapse
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: matrix-synapse-postgresql-18-cluster-mautrix-discord-database
|
||||||
|
app.kubernetes.io/instance: matrix-synapse
|
||||||
|
app.kubernetes.io/part-of: matrix-synapse
|
||||||
|
spec:
|
||||||
|
cluster:
|
||||||
|
name: matrix-synapse-postgresql-18-cluster
|
||||||
|
name: mautrix-discord
|
||||||
|
owner: app
|
||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
checksum/config: dd867cbb882daaa24b433564e5063ecb025704d60f6cfbaad99d07e1a44e5c25
|
checksum/config: 99cc47bdaaa9abc66fa53ed857425c9b00984629e702ba1b8fb3619fdd4d7e6d
|
||||||
checksum/secrets: 77c25644da166bfcea38f650cda8968f95f472cde7bd328de2f211ded12b73d0
|
checksum/secrets: 77c25644da166bfcea38f650cda8968f95f472cde7bd328de2f211ded12b73d0
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: matrix-synapse
|
app.kubernetes.io/name: matrix-synapse
|
||||||
@@ -124,6 +124,10 @@ spec:
|
|||||||
name: matrix-hookshot-config-secret
|
name: matrix-hookshot-config-secret
|
||||||
readOnly: true
|
readOnly: true
|
||||||
subPath: hookshot-registration.yaml
|
subPath: hookshot-registration.yaml
|
||||||
|
- mountPath: /synapse/config/conf.d/mautrix-discord-registration.yaml
|
||||||
|
name: mautrix-discord-config-secret
|
||||||
|
readOnly: true
|
||||||
|
subPath: mautrix-discord-registration.yaml
|
||||||
- mountPath: /synapse/config/conf.d/mautrix-whatsapp-registration.yaml
|
- mountPath: /synapse/config/conf.d/mautrix-whatsapp-registration.yaml
|
||||||
name: mautrix-whatsapp-config-secret
|
name: mautrix-whatsapp-config-secret
|
||||||
readOnly: true
|
readOnly: true
|
||||||
@@ -162,6 +166,9 @@ spec:
|
|||||||
- name: matrix-hookshot-config-secret
|
- name: matrix-hookshot-config-secret
|
||||||
secret:
|
secret:
|
||||||
secretName: matrix-hookshot-config-secret
|
secretName: matrix-hookshot-config-secret
|
||||||
|
- name: mautrix-discord-config-secret
|
||||||
|
secret:
|
||||||
|
secretName: mautrix-discord-config-secret
|
||||||
- name: mautrix-whatsapp-config-secret
|
- name: mautrix-whatsapp-config-secret
|
||||||
secret:
|
secret:
|
||||||
secretName: mautrix-whatsapp-config-secret
|
secretName: mautrix-whatsapp-config-secret
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: mautrix-discord-config-secret
|
||||||
|
namespace: matrix-synapse
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: matrix-synapse
|
||||||
|
app.kubernetes.io/instance: matrix-synapse
|
||||||
|
spec:
|
||||||
|
secretStoreRef:
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
name: vault
|
||||||
|
data:
|
||||||
|
- secretKey: config.yaml
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /cl01tl/matrix-synapse/mautrix-discord
|
||||||
|
metadataPolicy: None
|
||||||
|
property: config
|
||||||
|
- secretKey: mautrix-discord-registration.yaml
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /cl01tl/matrix-synapse/mautrix-discord
|
||||||
|
metadataPolicy: None
|
||||||
|
property: registration
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: mautrix-discord-data-backup-secret
|
||||||
|
namespace: matrix-synapse
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: matrix-synapse
|
||||||
|
app.kubernetes.io/instance: matrix-synapse
|
||||||
|
spec:
|
||||||
|
secretStoreRef:
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
name: vault
|
||||||
|
target:
|
||||||
|
template:
|
||||||
|
mergePolicy: Merge
|
||||||
|
engineVersion: v2
|
||||||
|
data:
|
||||||
|
RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/matrix-synapse/mautrix-discord-data"
|
||||||
|
data:
|
||||||
|
- secretKey: BUCKET_ENDPOINT
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /cl01tl/volsync/restic/config
|
||||||
|
metadataPolicy: None
|
||||||
|
property: S3_BUCKET_ENDPOINT
|
||||||
|
- secretKey: RESTIC_PASSWORD
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /cl01tl/volsync/restic/config
|
||||||
|
metadataPolicy: None
|
||||||
|
property: RESTIC_PASSWORD
|
||||||
|
- secretKey: AWS_DEFAULT_REGION
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /cl01tl/volsync/restic/config
|
||||||
|
metadataPolicy: None
|
||||||
|
property: AWS_DEFAULT_REGION
|
||||||
|
- secretKey: AWS_ACCESS_KEY_ID
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /digital-ocean/home-infra/volsync-backups
|
||||||
|
metadataPolicy: None
|
||||||
|
property: access_key
|
||||||
|
- secretKey: AWS_SECRET_ACCESS_KEY
|
||||||
|
remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: /digital-ocean/home-infra/volsync-backups
|
||||||
|
metadataPolicy: None
|
||||||
|
property: secret_key
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: mautrix-discord
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: matrix-synapse
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: mautrix-discord
|
||||||
|
helm.sh/chart: mautrix-discord-4.5.0
|
||||||
|
annotations:
|
||||||
|
helm.sh/resource-policy: keep
|
||||||
|
namespace: matrix-synapse
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- "ReadWriteOnce"
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: "500Mi"
|
||||||
|
storageClassName: "ceph-block"
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: volsync.backube/v1alpha1
|
||||||
|
kind: ReplicationSource
|
||||||
|
metadata:
|
||||||
|
name: mautrix-discord-data-backup-source
|
||||||
|
namespace: matrix-synapse
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: mautrix-discord-data-backup-source
|
||||||
|
app.kubernetes.io/instance: matrix-synapse
|
||||||
|
app.kubernetes.io/part-of: matrix-synapse
|
||||||
|
spec:
|
||||||
|
sourcePVC: mautrix-discord
|
||||||
|
trigger:
|
||||||
|
schedule: 0 4 * * *
|
||||||
|
restic:
|
||||||
|
pruneIntervalDays: 7
|
||||||
|
repository: mautrix-discord-data-backup-secret
|
||||||
|
retain:
|
||||||
|
hourly: 1
|
||||||
|
daily: 3
|
||||||
|
weekly: 2
|
||||||
|
monthly: 2
|
||||||
|
yearly: 4
|
||||||
|
moverSecurityContext:
|
||||||
|
runAsUser: 1337
|
||||||
|
runAsGroup: 1337
|
||||||
|
copyMethod: Snapshot
|
||||||
|
storageClassName: ceph-block
|
||||||
|
volumeSnapshotClassName: ceph-blockpool-snapshot
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: volsync.backube/v1alpha1
|
||||||
|
kind: ReplicationSource
|
||||||
|
metadata:
|
||||||
|
name: mautrix-whatsapp-data-backup-source
|
||||||
|
namespace: matrix-synapse
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: mautrix-whatsapp-data-backup-source
|
||||||
|
app.kubernetes.io/instance: matrix-synapse
|
||||||
|
app.kubernetes.io/part-of: matrix-synapse
|
||||||
|
spec:
|
||||||
|
sourcePVC: mautrix-whatsapp
|
||||||
|
trigger:
|
||||||
|
schedule: 0 4 * * *
|
||||||
|
restic:
|
||||||
|
pruneIntervalDays: 7
|
||||||
|
repository: mautrix-whatsapp-data-backup-secret
|
||||||
|
retain:
|
||||||
|
hourly: 1
|
||||||
|
daily: 3
|
||||||
|
weekly: 2
|
||||||
|
monthly: 2
|
||||||
|
yearly: 4
|
||||||
|
moverSecurityContext:
|
||||||
|
runAsUser: 1337
|
||||||
|
runAsGroup: 1337
|
||||||
|
copyMethod: Snapshot
|
||||||
|
storageClassName: ceph-block
|
||||||
|
volumeSnapshotClassName: ceph-blockpool-snapshot
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: mautrix-discord
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: matrix-synapse
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: mautrix-discord
|
||||||
|
app.kubernetes.io/service: mautrix-discord
|
||||||
|
helm.sh/chart: mautrix-discord-4.5.0
|
||||||
|
namespace: matrix-synapse
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 29334
|
||||||
|
targetPort: 29334
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/controller: main
|
||||||
|
app.kubernetes.io/instance: matrix-synapse
|
||||||
|
app.kubernetes.io/name: mautrix-discord
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: StatefulSet
|
||||||
|
metadata:
|
||||||
|
name: mautrix-discord
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/controller: main
|
||||||
|
app.kubernetes.io/instance: matrix-synapse
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: mautrix-discord
|
||||||
|
helm.sh/chart: mautrix-discord-4.5.0
|
||||||
|
namespace: matrix-synapse
|
||||||
|
spec:
|
||||||
|
revisionHistoryLimit: 3
|
||||||
|
replicas: 1
|
||||||
|
podManagementPolicy: OrderedReady
|
||||||
|
updateStrategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/controller: main
|
||||||
|
app.kubernetes.io/name: mautrix-discord
|
||||||
|
app.kubernetes.io/instance: matrix-synapse
|
||||||
|
serviceName: mautrix-discord
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/controller: main
|
||||||
|
app.kubernetes.io/instance: matrix-synapse
|
||||||
|
app.kubernetes.io/name: mautrix-discord
|
||||||
|
spec:
|
||||||
|
enableServiceLinks: false
|
||||||
|
serviceAccountName: default
|
||||||
|
automountServiceAccountToken: true
|
||||||
|
hostIPC: false
|
||||||
|
hostNetwork: false
|
||||||
|
hostPID: false
|
||||||
|
dnsPolicy: ClusterFirst
|
||||||
|
initContainers:
|
||||||
|
- command:
|
||||||
|
- /bin/sh
|
||||||
|
- -ec
|
||||||
|
- |
|
||||||
|
echo ">> Coping files ..."
|
||||||
|
ls /tmp
|
||||||
|
cp -fv /tmp/config.yaml /data/config.yaml
|
||||||
|
cp -fv /tmp/mautrix-discord-registration.yaml /data/registration.yaml
|
||||||
|
echo ">> Files in data:"
|
||||||
|
ls /data
|
||||||
|
image: busybox:1.37.0
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
name: init-copy-config
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 128Mi
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /tmp/config.yaml
|
||||||
|
mountPropagation: None
|
||||||
|
name: config
|
||||||
|
readOnly: true
|
||||||
|
subPath: config.yaml
|
||||||
|
- mountPath: /data
|
||||||
|
name: data
|
||||||
|
- mountPath: /tmp/mautrix-discord-registration.yaml
|
||||||
|
mountPropagation: None
|
||||||
|
name: registration
|
||||||
|
readOnly: true
|
||||||
|
subPath: mautrix-discord-registration.yaml
|
||||||
|
containers:
|
||||||
|
- image: dock.mau.dev/mautrix/discord:v0.7.5
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
name: main
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 128Mi
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /data
|
||||||
|
name: data
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
secret:
|
||||||
|
secretName: mautrix-discord-config-secret
|
||||||
|
- name: data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: mautrix-discord
|
||||||
|
- name: registration
|
||||||
|
secret:
|
||||||
|
secretName: mautrix-discord-config-secret
|
||||||
Reference in New Issue
Block a user