From 99d6d3f008a3e4ae7107b9739dcbc3d76d1ad3e9 Mon Sep 17 00:00:00 2001 From: cskiwi Date: Mon, 11 Nov 2024 12:28:34 +0100 Subject: [PATCH] moved these to single file format --- services/filestash/app.yaml | 48 ++++++++++++++++++++------------- services/filestash/service.yaml | 10 ------- services/typesense/app.yaml | 46 +++++++++++++++++++------------ services/typesense/service.yaml | 12 --------- 4 files changed, 59 insertions(+), 57 deletions(-) delete mode 100644 services/filestash/service.yaml delete mode 100644 services/typesense/service.yaml diff --git a/services/filestash/app.yaml b/services/filestash/app.yaml index 2f62c1c6..6e5c905d 100644 --- a/services/filestash/app.yaml +++ b/services/filestash/app.yaml @@ -1,22 +1,34 @@ apiVersion: application.kubero.dev/v1alpha1 kind: KuberoApp metadata: - name: filestash - labels: - manager: kubero + annotations: + kubero.dev/template.architecture: '[]' + kubero.dev/template.description: A file manager / web client for SFTP, S3, FTP, + WebDAV, Git, Minio, LDAP, CalDAV, CardDAV, Mysql, Backblaze, ... + kubero.dev/template.icon: https://raw.githubusercontent.com/mickael-kerjean/filestash/refs/heads/master/public/assets/logo/favicon.svg + kubero.dev/template.installation: '' + kubero.dev/template.links: '[]' + kubero.dev/template.screenshots: '["https://raw.githubusercontent.com/mickael-kerjean/filestash_images/master/.assets/photo.jpg","https://raw.githubusercontent.com/mickael-kerjean/filestash_images/master/.assets/navigation.gif"]' + kubero.dev/template.source: https://github.com/mickael-kerjean/filestash + kubero.dev/template.tags: '["monitoring"]' + kubero.dev/template.title: Filestash + kubero.dev/template.website: https://www.filestash.app/ + labels: + manager: kubero + name: filestash spec: - name: filestash - deploymentstrategy: docker - envVars: [] - extraVolumes: [] - cronjobs: [] - addons: [] - web: - replicaCount: 1 - worker: - replicaCount: 0 - image: - containerPort: "8334" - pullPolicy: Always - repository: machines/filestash - tag: latest \ No newline at end of file + addons: [] + cronjobs: [] + deploymentstrategy: docker + envVars: [] + extraVolumes: [] + image: + containerPort: '8334' + pullPolicy: Always + repository: machines/filestash + tag: latest + name: filestash + web: + replicaCount: 1 + worker: + replicaCount: 0 diff --git a/services/filestash/service.yaml b/services/filestash/service.yaml deleted file mode 100644 index 957f8e40..00000000 --- a/services/filestash/service.yaml +++ /dev/null @@ -1,10 +0,0 @@ -name: Filestash -description: 'A file manager / web client for SFTP, S3, FTP, WebDAV, Git, Minio, LDAP, CalDAV, CardDAV, Mysql, Backblaze, ...' -tags: -- monitoring -source: https://github.com/mickael-kerjean/filestash -website: https://www.filestash.app/ -icon: https://raw.githubusercontent.com/mickael-kerjean/filestash/refs/heads/master/public/assets/logo/favicon.svg -screenshots: -- https://raw.githubusercontent.com/mickael-kerjean/filestash_images/master/.assets/photo.jpg -- https://raw.githubusercontent.com/mickael-kerjean/filestash_images/master/.assets/navigation.gif \ No newline at end of file diff --git a/services/typesense/app.yaml b/services/typesense/app.yaml index bbde13f0..8c58757d 100644 --- a/services/typesense/app.yaml +++ b/services/typesense/app.yaml @@ -1,29 +1,41 @@ apiVersion: application.kubero.dev/v1alpha1 kind: KuberoApp metadata: + annotations: + kubero.dev/template.architecture: '[]' + kubero.dev/template.description: Typesense is a fast, typo-tolerant open-source + search engine optimized for instant, relevant search results. + kubero.dev/template.icon: https://typesense.org/_nuxt/img/typesense_logo.1be34dd.svg + kubero.dev/template.installation: '' + kubero.dev/template.links: '[]' + kubero.dev/template.screenshots: '["https://github.com/typesense/typesense/blob/v28/assets/typesense_books_demo.gif?raw=true"]' + kubero.dev/template.source: https://github.com/typesense/typesense + kubero.dev/template.tags: '["search","database","open-source","indexing"]' + kubero.dev/template.title: Typesense + kubero.dev/template.website: https://typesense.org name: typesense spec: - name: typesense + addons: [] + cronjobs: [] deploymentstrategy: docker + envVars: + - name: TYPESENSE_API_KEY + value: your-api-key + - name: TYPESENSE_DATA_DIR + value: /data + extraVolumes: + - accessModes: + - ReadWriteOnce + emptyDir: false + mountPath: /data + name: typesense-data + size: 1Gi + storageClass: null image: + containerPort: '8108' repository: typesense/typesense tag: latest - containerPort: '8108' - addons: [] - envVars: - - name: TYPESENSE_API_KEY - value: 'your-api-key' # Replace with your actual API key - - name: TYPESENSE_DATA_DIR - value: '/data' - cronjobs: [] - extraVolumes: - - accessModes: - - ReadWriteOnce - emptyDir: false - mountPath: /data - name: typesense-data - size: 1Gi - storageClass: + name: typesense web: replicaCount: 1 worker: diff --git a/services/typesense/service.yaml b/services/typesense/service.yaml deleted file mode 100644 index 94cc6d60..00000000 --- a/services/typesense/service.yaml +++ /dev/null @@ -1,12 +0,0 @@ -name: Typesense -description: 'Typesense is a fast, typo-tolerant open-source search engine optimized for instant, relevant search results.' -tags: - - search - - database - - open-source - - indexing -source: https://github.com/typesense/typesense -website: https://typesense.org -icon: https://typesense.org/_nuxt/img/typesense_logo.1be34dd.svg -screenshots: - - https://github.com/typesense/typesense/blob/v28/assets/typesense_books_demo.gif?raw=true