aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kubernetes/namespaces/apis/rtex/README.md5
-rw-r--r--kubernetes/namespaces/apis/rtex/deployment.yaml21
-rw-r--r--kubernetes/namespaces/apis/rtex/service.yaml12
-rw-r--r--kubernetes/namespaces/bots/sir-lancebot/secrets.yamlbin962 -> 959 bytes
4 files changed, 38 insertions, 0 deletions
diff --git a/kubernetes/namespaces/apis/rtex/README.md b/kubernetes/namespaces/apis/rtex/README.md
new file mode 100644
index 0000000..d3b96c0
--- /dev/null
+++ b/kubernetes/namespaces/apis/rtex/README.md
@@ -0,0 +1,5 @@
+# rTeX
+
+This contains the deployment for the [rTeX rendering server](https://github.com/DXsmiley/rtex) service.
+
+This is used by Sir-Lancebot to render images for the LaTeX command
diff --git a/kubernetes/namespaces/apis/rtex/deployment.yaml b/kubernetes/namespaces/apis/rtex/deployment.yaml
new file mode 100644
index 0000000..86b585f
--- /dev/null
+++ b/kubernetes/namespaces/apis/rtex/deployment.yaml
@@ -0,0 +1,21 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: rtex
+ namespace: apis
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: rtex
+ template:
+ metadata:
+ labels:
+ app: rtex
+ spec:
+ containers:
+ - name: rtex
+ image: ghcr.io/hassanabouelela/rtex:latest
+ imagePullPolicy: Always
+ ports:
+ - containerPort: 5000
diff --git a/kubernetes/namespaces/apis/rtex/service.yaml b/kubernetes/namespaces/apis/rtex/service.yaml
new file mode 100644
index 0000000..312994f
--- /dev/null
+++ b/kubernetes/namespaces/apis/rtex/service.yaml
@@ -0,0 +1,12 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: rtex
+ namespace: apis
+spec:
+ selector:
+ app: rtex
+ ports:
+ - protocol: TCP
+ port: 80
+ targetPort: 5000
diff --git a/kubernetes/namespaces/bots/sir-lancebot/secrets.yaml b/kubernetes/namespaces/bots/sir-lancebot/secrets.yaml
index 9ba6a98..1356430 100644
--- a/kubernetes/namespaces/bots/sir-lancebot/secrets.yaml
+++ b/kubernetes/namespaces/bots/sir-lancebot/secrets.yaml
Binary files differ