k/website: commit matrix changes, add docs
This commit is contained in:
parent
5dd08dc94d
commit
8951deadb1
|
@ -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
|
|
@ -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"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"m.server": "distrust.ems.host:443"
|
||||
"m.server": "matrix.distrust.co:443"
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -5,6 +5,7 @@ resources:
|
|||
- namespace.yaml
|
||||
- ingress.yaml
|
||||
- website.yaml
|
||||
- docs.yaml
|
||||
- wellknown.yaml
|
||||
configMapGenerator:
|
||||
- name: openpgp-keys
|
||||
|
|
Loading…
Reference in New Issue