From c8aa78f873cdf2fbc5c3579dfb79fcb547c51510 Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Thu, 9 May 2024 22:16:47 +0200 Subject: [PATCH 1/3] add rsshub template --- services/rsshub/app.yaml | 39 ++++++++++++++++++++++++++++++++++++ services/rsshub/service.yaml | 8 ++++++++ 2 files changed, 47 insertions(+) create mode 100644 services/rsshub/app.yaml create mode 100644 services/rsshub/service.yaml diff --git a/services/rsshub/app.yaml b/services/rsshub/app.yaml new file mode 100644 index 00000000..362632ac --- /dev/null +++ b/services/rsshub/app.yaml @@ -0,0 +1,39 @@ +apiVersion: application.kubero.dev/v1alpha1 +kind: KuberoApp +metadata: + name: rsshub + labels: + manager: kubero +spec: + name: rsshub + deploymentstrategy: docker + envVars: [] + serviceAccount: + annotations: {} + create: true + name: "" + extraVolumes: [] + cronjobs: [] + addons: [] + web: + replicaCount: 1 + worker: + replicaCount: 0 + image: + containerPort: "1200" + pullPolicy: Always + repository: diygod/rsshub + tag: chromium-bundled + run: + command: node index.js + repository: node + securityContext: + runAsUser: 0 + runAsGroup: 0 + allowPrivilegeEscalation: false + readOnlyRootFilesystem: false + runAsNonRoot: false + capabilities: + add: [] + drop: [] + tag: latest diff --git a/services/rsshub/service.yaml b/services/rsshub/service.yaml new file mode 100644 index 00000000..1851129b --- /dev/null +++ b/services/rsshub/service.yaml @@ -0,0 +1,8 @@ +name: RSSHub +description: 'RSSHub is an open source, easy to use, and extensible RSS feed generator. It's capable of generating RSS feeds from pretty much everything.' +tags: +- tools +source: https://github.com/DIYgod/RSSHub +website: https://docs.rsshub.app/ +icon: https://raw.githubusercontent.com/DIYgod/RSSHub/master/lib/assets/logo.png +screenshots: \ No newline at end of file From 94e8cd00e874d18505efe0a74414545831423fda Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Thu, 9 May 2024 22:23:10 +0200 Subject: [PATCH 2/3] some minor cleanup --- services/rsshub/app.yaml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/services/rsshub/app.yaml b/services/rsshub/app.yaml index 362632ac..0cb4dd30 100644 --- a/services/rsshub/app.yaml +++ b/services/rsshub/app.yaml @@ -8,10 +8,6 @@ spec: name: rsshub deploymentstrategy: docker envVars: [] - serviceAccount: - annotations: {} - create: true - name: "" extraVolumes: [] cronjobs: [] addons: [] @@ -24,16 +20,3 @@ spec: pullPolicy: Always repository: diygod/rsshub tag: chromium-bundled - run: - command: node index.js - repository: node - securityContext: - runAsUser: 0 - runAsGroup: 0 - allowPrivilegeEscalation: false - readOnlyRootFilesystem: false - runAsNonRoot: false - capabilities: - add: [] - drop: [] - tag: latest From c01742cc5e81defade8055d7d781d47797821af8 Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Thu, 9 May 2024 22:59:54 +0200 Subject: [PATCH 3/3] fix minor yaml error --- services/rsshub/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/rsshub/service.yaml b/services/rsshub/service.yaml index 1851129b..b906030d 100644 --- a/services/rsshub/service.yaml +++ b/services/rsshub/service.yaml @@ -1,5 +1,5 @@ name: RSSHub -description: 'RSSHub is an open source, easy to use, and extensible RSS feed generator. It's capable of generating RSS feeds from pretty much everything.' +description: 'RSSHub is an open source, easy to use, and extensible RSS feed generator. It is capable of generating RSS feeds from pretty much everything.' tags: - tools source: https://github.com/DIYgod/RSSHub