From d01e1e095717c69089f9d3989472b4cdb4a9413c Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Fri, 15 Nov 2024 22:45:06 +0100 Subject: [PATCH 1/3] Template / Add flightlog --- services/flightlog/app.yaml | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 services/flightlog/app.yaml diff --git a/services/flightlog/app.yaml b/services/flightlog/app.yaml new file mode 100644 index 00000000..c92f6c55 --- /dev/null +++ b/services/flightlog/app.yaml @@ -0,0 +1,43 @@ +apiVersion: application.kubero.dev/v1alpha1 +kind: KuberoApp +metadata: + name: flightlog + annotations: + kubero.dev/template.architecture: "[]" + kubero.dev/template.description: "Flight log web application that keeps track of your personal flight history" + kubero.dev/template.icon: "https://avatars.githubusercontent.com/u/4271779" + kubero.dev/template.installation: "" + kubero.dev/template.links: "[]" + kubero.dev/template.screenshots: "['https://raw.githubusercontent.com/perdian/flightlog/main/docs/screenshots/home.png']" + kubero.dev/template.source: "https://github.com/perdian/flightlog" + kubero.dev/template.tags: "['management']" + kubero.dev/template.title: "Flightlog" + kubero.dev/template.website: "https://github.com/perdian/flightlog" + labels: + manager: kubero +spec: + name: flightlog + deploymentstrategy: docker + envVars: + - name: FLIGHTLOG_SERVER_CONTEXT_PATH + value: / + extraVolumes: + - accessMode: ReadWriteOnce + accessModes: + - ReadWriteOnce + emptyDir: false + mountPath: /var/flightlog/database + name: flightlog-db-volume + size: 1Gi + storageClass: standard + cronjobs: [] + addons: [] + web: + replicaCount: 1 + worker: + replicaCount: 0 + image: + containerPort: 8080 + pullPolicy: Always + repository: perdian/flightlog + tag: latest From 268039aaf104e7072f8aefc75d533242b8ec5b4f Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Tue, 3 Dec 2024 13:41:06 +0100 Subject: [PATCH 2/3] Update flight log template tags in app.yaml to include "log" in addition to "management". --- services/flightlog/app.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/flightlog/app.yaml b/services/flightlog/app.yaml index c92f6c55..6b85ef4a 100644 --- a/services/flightlog/app.yaml +++ b/services/flightlog/app.yaml @@ -8,9 +8,9 @@ metadata: kubero.dev/template.icon: "https://avatars.githubusercontent.com/u/4271779" kubero.dev/template.installation: "" kubero.dev/template.links: "[]" - kubero.dev/template.screenshots: "['https://raw.githubusercontent.com/perdian/flightlog/main/docs/screenshots/home.png']" + kubero.dev/template.screenshots: '["https://raw.githubusercontent.com/perdian/flightlog/main/docs/screenshots/home.png"]' kubero.dev/template.source: "https://github.com/perdian/flightlog" - kubero.dev/template.tags: "['management']" + kubero.dev/template.tags: '["management", "log"]' kubero.dev/template.title: "Flightlog" kubero.dev/template.website: "https://github.com/perdian/flightlog" labels: From dd61d4bad4e4106641d94339459287a0502f4e66 Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Mon, 23 Dec 2024 22:49:40 +0100 Subject: [PATCH 3/3] fix categories in template --- services/flightlog/app.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/flightlog/app.yaml b/services/flightlog/app.yaml index 6b85ef4a..61f13705 100644 --- a/services/flightlog/app.yaml +++ b/services/flightlog/app.yaml @@ -10,7 +10,7 @@ metadata: kubero.dev/template.links: "[]" kubero.dev/template.screenshots: '["https://raw.githubusercontent.com/perdian/flightlog/main/docs/screenshots/home.png"]' kubero.dev/template.source: "https://github.com/perdian/flightlog" - kubero.dev/template.tags: '["management", "log"]' + kubero.dev/template.categories: '["management", "log"]' kubero.dev/template.title: "Flightlog" kubero.dev/template.website: "https://github.com/perdian/flightlog" labels: