imfreedom/k8s-cluster

enable muc_mam for the xmpp conferences

2020-05-03, Gary Kramlich
087ea8478cc6
Parents 191040a510e8
Children b40beb2f5a3e
enable muc_mam for the xmpp conferences
--- a/.hgignore Sun May 03 05:42:07 2020 -0500
+++ b/.hgignore Sun May 03 17:58:18 2020 -0500
@@ -1,4 +1,4 @@
syntax: glob
.envrc
*secret*
-
+*monitoring/
--- a/20-ingress.yaml Sun May 03 05:42:07 2020 -0500
+++ b/20-ingress.yaml Sun May 03 17:58:18 2020 -0500
@@ -269,6 +269,32 @@
port: 5269
targetPort: xmpp-s2s
---
+apiVersion: networking.k8s.io/v1
+kind: NetworkPolicy
+metadata:
+ namespace: kube-public
+ name: traefik
+ labels:
+ app: traefik
+ role: controller
+spec:
+ podSelector:
+ matchLabels:
+ app: traefik
+ role: controller
+ ingress:
+ - from:
+ - namespaceSelector:
+ matchLabels:
+ name: monitoring
+ podSelector:
+ matchLabels:
+ app: prometheus
+ prometheus: k8s
+ ports:
+ - port: traefik
+ protocol: TCP
+---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
--- a/50-xmpp.imfreedom.org.yaml Sun May 03 05:42:07 2020 -0500
+++ b/50-xmpp.imfreedom.org.yaml Sun May 03 17:58:18 2020 -0500
@@ -188,6 +188,7 @@
{ "conference.imfreedom.org", "Instant Messaging Freedom MUC" };
}
Component "conference.imfreedom.org" "muc"
+ modules_endabled = { "muc_mam" }
http_host = "conference.imfreedom.org"
http_external_url = "https://conference.imfreedom.org/"
ssl = {
@@ -215,6 +216,7 @@
{ "conference.pidgin.im", "Pidgin Internet Messaging MUC" };
}
Component "conference.pidgin.im" "muc"
+ modules_endabled = { "muc_mam" }
http_host = "conference.pidgin.im"
http_external_url = "https://conference.pidgin.im/"
ssl = {