imfreedom/k8s-cluster

Lower the resources for trac

15 months ago, Gary Kramlich
5e0f351f8ee3
Lower the resources for trac

We haven't had any stability issues with trac since we redirected the issues,
so we're going to lower the resources to reflect that and hopefully bring them
down a bit more over time.
# This is just the http and https ingresses for pidginchat.com and the tls
# certificate. The rest of the xmpp configuration is in the vhost for this
# domain in 50-xmpp.imfreedom.org.
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: pidginchat-http
spec:
entryPoints:
- http
routes:
- match: Host(`pidginchat.com`) || Host(`www.pidginchat.com`)
kind: Rule
services:
- name: prosody
port: 5280
middlewares:
- name: https-redirect
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: pidginchat-https
spec:
entryPoints:
- https
routes:
- match: Host(`pidginchat.com`) || Host(`www.pidginchat.com`)
kind: Rule
services:
- name: prosody
port: 5280
middlewares:
- name: common-headers
- name: hsts-headers
tls:
secretName: pidginchat-tls
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: pidginchat-tls
spec:
secretName: pidginchat-tls
issuerRef:
name: letsencrypt
commonName: pidginchat.com
dnsNames:
- pidginchat.com
- www.pidginchat.com
---