Compare commits

..

2 Commits

5 changed files with 63 additions and 2 deletions

View File

@ -0,0 +1,32 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: docs
spec:
replicas: 2
selector:
matchLabels:
app: docs
template:
metadata:
labels:
app: docs
spec:
containers:
- name: docs
image: git.distrust.co/public/docs
imagePullPolicy: Always
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: docs
spec:
ports:
- name: http
port: 80
targetPort: 8080
selector:
app: docs

View File

@ -1,6 +1,6 @@
{ {
"m.homeserver": { "m.homeserver": {
"base_url": "https://distrust.ems.host" "base_url": "https://matrix.distrust.co"
}, },
"m.identity_server": { "m.identity_server": {
"base_url": "https://vector.im" "base_url": "https://vector.im"

View File

@ -1,3 +1,3 @@
{ {
"m.server": "distrust.ems.host:443" "m.server": "matrix.distrust.co:443"
} }

View File

@ -37,3 +37,29 @@ spec:
- hosts: - hosts:
- distrust.co - distrust.co
secretName: website-tls secretName: website-tls
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: docs
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/hostname: docs.distrust.co
nginx.ingress.kubernetes.io/enable-cors: "true"
spec:
ingressClassName: nginx
rules:
- host: docs.distrust.co
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: docs
port:
number: 80
tls:
- hosts:
- docs.distrust.co
secretName: docs-tls

View File

@ -5,11 +5,14 @@ resources:
- namespace.yaml - namespace.yaml
- ingress.yaml - ingress.yaml
- website.yaml - website.yaml
- docs.yaml
- wellknown.yaml - wellknown.yaml
configMapGenerator: configMapGenerator:
- name: openpgp-keys - name: openpgp-keys
files: files:
- keys/88823A75ECAA786B0FF38B148E401478A3FBEF72.asc - keys/88823A75ECAA786B0FF38B148E401478A3FBEF72.asc
- keys/6B61ECD76088748C70590D55E90A401336C8AAA9.asc
- keys/3D7C8D39E8C4DF771583D3F0A8A091FD346001CA.asc
- name: wellknown-matrix - name: wellknown-matrix
files: files:
- files/matrix/client - files/matrix/client