From 8cab76f9ab7d11bb6c40974d1c27d4d365cdb49b Mon Sep 17 00:00:00 2001 From: Vaughn Woerpel Date: Tue, 18 Jun 2024 23:22:28 -0400 Subject: [PATCH] Add kubernetes deployment --- eternalpose.yaml | 32 ++++++++++++++++++++++++++++++++ manga.json | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 eternalpose.yaml diff --git a/eternalpose.yaml b/eternalpose.yaml new file mode 100644 index 0000000..303202e --- /dev/null +++ b/eternalpose.yaml @@ -0,0 +1,32 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: eternalpose + namespace: eternalpose +spec: + replicas: 1 + selector: + matchLabels: + app: "eternalpose" + template: + metadata: + labels: + app: "eternalpose" + spec: + containers: + - name: "eternalpose" + image: "ghcr.io/vaughnw128/eternalpose:latest" + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + env: + - name: WEBHOOK_URL + valueFrom: + secretKeyRef: + name: discord-webhook + key: discord-webhook \ No newline at end of file diff --git a/manga.json b/manga.json index 16b4a20..40fbc4d 100644 --- a/manga.json +++ b/manga.json @@ -1 +1 @@ -[{"title":"One Piece","regex":"One Piece Chapter (?P\u003cChapter\u003e\\d{4})$","users":["\u003c@173232081575346178\u003e"],"currentChapter":1117},{"title":"Jujutsu Kaisen","regex":"Jujutsu Kaisen Chapter (?P\u003cChapter\u003e\\d{3})$","users":["\u003cc@228997488563060736\u003e","\u003c@262637906865291264\u003e"],"currentChapter":262}] \ No newline at end of file +[{"title":"One Piece","regex":"One Piece Chapter (?P\u003cChapter\u003e\\d{4})$","users":["\u003c@173232081575346178\u003e"],"currentChapter":1116},{"title":"Jujutsu Kaisen","regex":"Jujutsu Kaisen Chapter (?P\u003cChapter\u003e\\d{3})$","users":["\u003cc@228997488563060736\u003e","\u003c@262637906865291264\u003e"],"currentChapter":262}] \ No newline at end of file