Disable matrix bridges

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2023-04-13 17:30:10 +01:00
parent ccc49c6855
commit 2e13637388
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
2 changed files with 284 additions and 284 deletions

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.1"
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
--- # ---

View File

@ -1,143 +1,143 @@
apiVersion: v1 # apiVersion: v1
kind: Secret # kind: Secret
metadata: # metadata:
name: mautrix-telegram-registration # name: mautrix-telegram-registration
namespace: chat # namespace: chat
annotations: # annotations:
kube-1password: dancy7ogc4gjlxhfntqejgudwi # kube-1password: dancy7ogc4gjlxhfntqejgudwi
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-telegram" # app.kubernetes.io/name: "mautrix-telegram"
component: registration # component: registration
type: Opaque # type: Opaque
--- # ---
apiVersion: v1 # apiVersion: v1
kind: Secret # kind: Secret
metadata: # metadata:
name: mautrix-telegram-config # name: mautrix-telegram-config
namespace: chat # namespace: chat
annotations: # annotations:
kube-1password: nilzdpfum35hhwijnwvasbzmcq # kube-1password: nilzdpfum35hhwijnwvasbzmcq
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-telegram" # app.kubernetes.io/name: "mautrix-telegram"
component: config # component: config
type: Opaque # type: Opaque
--- # ---
apiVersion: v1 # apiVersion: v1
kind: Service # kind: Service
metadata: # metadata:
name: mautrix-telegram # name: mautrix-telegram
namespace: chat # namespace: chat
labels: # labels:
app.kubernetes.io/name: mautrix-telegram # app.kubernetes.io/name: mautrix-telegram
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: 29318 # - port: 29318
targetPort: http # targetPort: http
protocol: TCP # protocol: TCP
name: http # name: http
selector: # selector:
app.kubernetes.io/name: mautrix-telegram # app.kubernetes.io/name: mautrix-telegram
--- # ---
apiVersion: apps/v1 # apiVersion: apps/v1
kind: Deployment # kind: Deployment
metadata: # metadata:
name: mautrix-telegram # name: mautrix-telegram
labels: # labels:
app.kubernetes.io/name: mautrix-telegram # app.kubernetes.io/name: mautrix-telegram
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-telegram # app.kubernetes.io/name: mautrix-telegram
template: # template:
metadata: # metadata:
labels: # labels:
app.kubernetes.io/name: mautrix-telegram # app.kubernetes.io/name: mautrix-telegram
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-telegram-config # - name: mautrix-telegram-config
mountPath: /secrets/config.yaml # mountPath: /secrets/config.yaml
subPath: config.yaml # subPath: config.yaml
- name: mautrix-telegram-registration # - name: mautrix-telegram-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: mautrix-telegram # - name: mautrix-telegram
image: "dock.mau.dev/mautrix/telegram:v0.12.1" # image: "dock.mau.dev/mautrix/telegram:v0.12.1"
imagePullPolicy: IfNotPresent # imagePullPolicy: IfNotPresent
env: # env:
- name: "TZ" # - name: "TZ"
value: "UTC" # value: "UTC"
ports: # ports:
- name: http # - name: http
containerPort: 29318 # containerPort: 29318
protocol: TCP # protocol: TCP
- name: metrics # - name: metrics
containerPort: 9000 # containerPort: 9000
protocol: TCP # protocol: TCP
volumeMounts: # volumeMounts:
- 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: mautrix-telegram-config # - name: mautrix-telegram-config
secret: # secret:
secretName: mautrix-telegram-config # secretName: mautrix-telegram-config
- name: mautrix-telegram-registration # - name: mautrix-telegram-registration
secret: # secret:
secretName: mautrix-telegram-registration # secretName: mautrix-telegram-registration
--- # ---