From 73f7ffc4937bec06159f8935c6902a1cad8ea486 Mon Sep 17 00:00:00 2001
From: Pinghao Wu <xdavidwuph@gmail.com>
Date: Sun, 2 Mar 2025 15:24:24 +0800
Subject: [PATCH] sourcehut: paste: add api

---
 applications/sourcehut/deployment-paste.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/applications/sourcehut/deployment-paste.yaml b/applications/sourcehut/deployment-paste.yaml
index 4a2a359..6cf4f92 100644
--- a/applications/sourcehut/deployment-paste.yaml
+++ b/applications/sourcehut/deployment-paste.yaml
@@ -19,6 +19,15 @@ spec:
             - name: secrets
               mountPath: /etc/sr.ht/config.ini
               subPath: config.ini
+        - name: api
+          image: ghcr.io/xdavidwu/c/pastesrht:3534
+          command:
+            - /usr/bin/paste.sr.ht-api
+            - pastesrht.app:app
+          volumeMounts:
+            - name: secrets
+              mountPath: /etc/sr.ht/config.ini
+              subPath: config.ini
       volumes:
         - name: secrets
           secret:
-- 
2.45.2