Re-add signal bridge

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2023-11-20 15:12:33 +00:00
parent a075d33e6e
commit f7e2b540f6
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
2 changed files with 153 additions and 153 deletions

View File

@ -474,9 +474,9 @@ spec:
- name: mautrix-whatsapp-registration - name: mautrix-whatsapp-registration
mountPath: /data/mautrix-whatsapp-registration.yaml mountPath: /data/mautrix-whatsapp-registration.yaml
subPath: registration.yaml subPath: registration.yaml
# - name: mautrix-signal-registration - name: mautrix-signal-registration
# mountPath: /data/mautrix-signal-registration.yaml mountPath: /data/mautrix-signal-registration.yaml
# subPath: registration.yaml subPath: registration.yaml
# - name: mautrix-telegram-registration # - name: mautrix-telegram-registration
# mountPath: /data/mautrix-telegram-registration.yaml # mountPath: /data/mautrix-telegram-registration.yaml
# subPath: registration.yaml # subPath: registration.yaml
@ -526,9 +526,9 @@ spec:
- name: mautrix-whatsapp-registration - name: mautrix-whatsapp-registration
secret: secret:
secretName: mautrix-whatsapp-registration secretName: mautrix-whatsapp-registration
# - name: mautrix-signal-registration - name: mautrix-signal-registration
# secret: secret:
# secretName: mautrix-signal-registration secretName: mautrix-signal-registration
# - name: mautrix-telegram-registration # - name: mautrix-telegram-registration
# secret: # secret:
# secretName: mautrix-telegram-registration # secretName: mautrix-telegram-registration

View File

@ -1,153 +1,153 @@
# apiVersion: v1 apiVersion: v1
# kind: Secret kind: Secret
# metadata: metadata:
# name: mautrix-signal-registration name: mautrix-signal-registration
# namespace: chat namespace: chat
# annotations: annotations:
# kube-1password: z6tylu2br724gttcpfyi5egaui kube-1password: z6tylu2br724gttcpfyi5egaui
# kube-1password/vault: Kubernetes kube-1password/vault: Kubernetes
# kube-1password/secret-text-key: registration.yaml kube-1password/secret-text-key: registration.yaml
# labels: labels:
# app.kubernetes.io/name: "mautrix-signal" app.kubernetes.io/name: "mautrix-signal"
# component: registration component: registration
# type: Opaque type: Opaque
# --- ---
# apiVersion: v1 apiVersion: v1
# kind: Secret kind: Secret
# metadata: metadata:
# name: mautrix-signal-config name: mautrix-signal-config
# namespace: chat namespace: chat
# annotations: annotations:
# kube-1password: 5vfaorcudozlq4clkzgmzzszqe kube-1password: 5vfaorcudozlq4clkzgmzzszqe
# kube-1password/vault: Kubernetes kube-1password/vault: Kubernetes
# kube-1password/secret-text-key: config.yaml kube-1password/secret-text-key: config.yaml
# labels: labels:
# app.kubernetes.io/name: "mautrix-signal" app.kubernetes.io/name: "mautrix-signal"
# component: config component: config
# type: Opaque type: Opaque
# --- ---
# apiVersion: v1 apiVersion: v1
# kind: Service kind: Service
# metadata: metadata:
# name: mautrix-signal name: mautrix-signal
# namespace: chat namespace: chat
# labels: labels:
# app.kubernetes.io/name: mautrix-signal app.kubernetes.io/name: mautrix-signal
# annotations: annotations:
# prometheus.io/scrape: "true" prometheus.io/scrape: "true"
# prometheus.io/path: "/metrics" prometheus.io/path: "/metrics"
# prometheus.io/port: "9000" prometheus.io/port: "9000"
# spec: spec:
# type: ClusterIP type: ClusterIP
# ports: ports:
# - port: 29328 - port: 29328
# targetPort: http targetPort: http
# protocol: TCP protocol: TCP
# name: http name: http
# selector: selector:
# app.kubernetes.io/name: mautrix-signal app.kubernetes.io/name: mautrix-signal
# --- ---
# apiVersion: apps/v1 apiVersion: apps/v1
# kind: Deployment kind: Deployment
# metadata: metadata:
# name: mautrix-signal name: mautrix-signal
# labels: labels:
# app.kubernetes.io/name: mautrix-signal app.kubernetes.io/name: mautrix-signal
# spec: spec:
# revisionHistoryLimit: 3 revisionHistoryLimit: 3
# replicas: 1 replicas: 1
# strategy: strategy:
# type: Recreate type: Recreate
# selector: selector:
# matchLabels: matchLabels:
# app.kubernetes.io/name: mautrix-signal app.kubernetes.io/name: mautrix-signal
# template: template:
# metadata: metadata:
# labels: labels:
# app.kubernetes.io/name: mautrix-signal app.kubernetes.io/name: mautrix-signal
# spec: spec:
# serviceAccountName: default serviceAccountName: default
# automountServiceAccountToken: true automountServiceAccountToken: true
# dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst
# enableServiceLinks: true enableServiceLinks: true
# initContainers: initContainers:
# - name: config-copy - name: config-copy
# image: bash:latest image: bash:latest
# imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
# args: args:
# - -c - -c
# - | - |
# cp /secrets/* /data/ cp /secrets/* /data/
# volumeMounts: volumeMounts:
# - name: mautrix-signal-config - name: mautrix-signal-config
# mountPath: /secrets/config.yaml mountPath: /secrets/config.yaml
# subPath: config.yaml subPath: config.yaml
# - name: mautrix-signal-registration - name: mautrix-signal-registration
# mountPath: /secrets/registration.yaml mountPath: /secrets/registration.yaml
# subPath: registration.yaml subPath: registration.yaml
# - name: data - name: data
# mountPath: /data mountPath: /data
# containers: containers:
# - name: signald - name: signald
# image: docker.io/signald/signald:stable image: docker.io/signald/signald:stable
# imagePullPolicy: Always imagePullPolicy: Always
# volumeMounts: volumeMounts:
# - name: signald - name: signald
# mountPath: /signald mountPath: /signald
# - name: mautrix-signal - name: mautrix-signal
# image: "dock.mau.dev/mautrix/signal:v0.4.1" image: "dock.mau.dev/mautrix/signal:v0.4.3"
# imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
# env: env:
# - name: "TZ" - name: "TZ"
# value: "UTC" value: "UTC"
# ports: ports:
# - name: http - name: http
# containerPort: 29328 containerPort: 29328
# protocol: TCP protocol: TCP
# - name: metrics - name: metrics
# containerPort: 9000 containerPort: 9000
# protocol: TCP protocol: TCP
# volumeMounts: volumeMounts:
# - name: signald - name: signald
# mountPath: /signald mountPath: /signald
# - name: data - name: data
# mountPath: /data mountPath: /data
# livenessProbe: livenessProbe:
# tcpSocket: tcpSocket:
# port: 29318 port: 29318
# initialDelaySeconds: 0 initialDelaySeconds: 0
# failureThreshold: 3 failureThreshold: 3
# timeoutSeconds: 1 timeoutSeconds: 1
# periodSeconds: 10 periodSeconds: 10
# readinessProbe: readinessProbe:
# tcpSocket: tcpSocket:
# port: 29318 port: 29318
# initialDelaySeconds: 0 initialDelaySeconds: 0
# failureThreshold: 3 failureThreshold: 3
# timeoutSeconds: 1 timeoutSeconds: 1
# periodSeconds: 10 periodSeconds: 10
# startupProbe: startupProbe:
# tcpSocket: tcpSocket:
# port: 29318 port: 29318
# initialDelaySeconds: 0 initialDelaySeconds: 0
# failureThreshold: 30 failureThreshold: 30
# timeoutSeconds: 1 timeoutSeconds: 1
# periodSeconds: 5 periodSeconds: 5
# volumes: volumes:
# - name: data - name: data
# emptyDir: {} emptyDir: {}
# - name: signald - name: signald
# emptyDir: {} emptyDir: {}
# - name: mautrix-signal-config - name: mautrix-signal-config
# secret: secret:
# secretName: mautrix-signal-config secretName: mautrix-signal-config
# - name: mautrix-signal-registration - name: mautrix-signal-registration
# secret: secret:
# secretName: mautrix-signal-registration secretName: mautrix-signal-registration
# --- ---