1
0
Fork 0

k/website: commit matrix changes, add docs

This commit is contained in:
Ryan Heywood 2024-08-08 21:18:20 -04:00
parent 5dd08dc94d
commit 8951deadb1
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
5 changed files with 61 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": {
"base_url": "https://distrust.ems.host"
"base_url": "https://matrix.distrust.co"
},
"m.identity_server": {
"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:
- distrust.co
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,6 +5,7 @@ resources:
- namespace.yaml
- ingress.yaml
- website.yaml
- docs.yaml
- wellknown.yaml
configMapGenerator:
- name: openpgp-keys