From 7d84ed56d7e9f7b6b04c2207a782ea69c9620658 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 19 Dec 2021 10:56:27 +0100 Subject: [PATCH] workadventure/v1: done All manifests compile --- apps/workadventure/README.md | 12 +++++ apps/workadventure/icon-deployment.yaml | 47 ------------------- ...se-proxy-claim0-persistentvolumeclaim.yaml | 0 .../reverse-proxy-deployment.yaml | 9 ---- .../{ => unused}/reverse-proxy-service.yaml | 3 -- apps/workadventure/v1/icon-deployment.yaml | 25 ++++++++++ 6 files changed, 37 insertions(+), 59 deletions(-) delete mode 100644 apps/workadventure/icon-deployment.yaml rename apps/workadventure/{v1 => unused}/reverse-proxy-claim0-persistentvolumeclaim.yaml (100%) rename apps/workadventure/{ => unused}/reverse-proxy-deployment.yaml (76%) rename apps/workadventure/{ => unused}/reverse-proxy-service.yaml (76%) create mode 100644 apps/workadventure/v1/icon-deployment.yaml diff --git a/apps/workadventure/README.md b/apps/workadventure/README.md index 239ccf0..e93ff37 100644 --- a/apps/workadventure/README.md +++ b/apps/workadventure/README.md @@ -11,3 +11,15 @@ ### Uploader ### Messages + +### Iconserver + +## Missing + +* Service defintions +* Helm integration + + +## Other TODO + +* Checkout whether traefik can be of help for us, too diff --git a/apps/workadventure/icon-deployment.yaml b/apps/workadventure/icon-deployment.yaml deleted file mode 100644 index b6d26c0..0000000 --- a/apps/workadventure/icon-deployment.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - kompose.cmd: /home/nico/Downloads/kompose convert - kompose.version: 1.26.0 (40646f47) - traefik.enable: "true" - traefik.http.routers.icon-ssl.entryPoints: websecure - traefik.http.routers.icon-ssl.rule: Host(`icon.workadventure.localhost`) - traefik.http.routers.icon-ssl.service: icon - traefik.http.routers.icon-ssl.tls: "true" - traefik.http.routers.icon.entryPoints: web - traefik.http.routers.icon.rule: Host(`icon.workadventure.localhost`) - traefik.http.services.icon.loadbalancer.server.port: "8080" - creationTimestamp: null - labels: - io.kompose.service: icon - name: icon -spec: - replicas: 1 - selector: - matchLabels: - io.kompose.service: icon - strategy: {} - template: - metadata: - annotations: - kompose.cmd: /home/nico/Downloads/kompose convert - kompose.version: 1.26.0 (40646f47) - traefik.enable: "true" - traefik.http.routers.icon-ssl.entryPoints: websecure - traefik.http.routers.icon-ssl.rule: Host(`icon.workadventure.localhost`) - traefik.http.routers.icon-ssl.service: icon - traefik.http.routers.icon-ssl.tls: "true" - traefik.http.routers.icon.entryPoints: web - traefik.http.routers.icon.rule: Host(`icon.workadventure.localhost`) - traefik.http.services.icon.loadbalancer.server.port: "8080" - creationTimestamp: null - labels: - io.kompose.service: icon - spec: - containers: - - image: matthiasluedtke/iconserver:v3.13.0 - name: icon - resources: {} - restartPolicy: Always -status: {} diff --git a/apps/workadventure/v1/reverse-proxy-claim0-persistentvolumeclaim.yaml b/apps/workadventure/unused/reverse-proxy-claim0-persistentvolumeclaim.yaml similarity index 100% rename from apps/workadventure/v1/reverse-proxy-claim0-persistentvolumeclaim.yaml rename to apps/workadventure/unused/reverse-proxy-claim0-persistentvolumeclaim.yaml diff --git a/apps/workadventure/reverse-proxy-deployment.yaml b/apps/workadventure/unused/reverse-proxy-deployment.yaml similarity index 76% rename from apps/workadventure/reverse-proxy-deployment.yaml rename to apps/workadventure/unused/reverse-proxy-deployment.yaml index 49dbc25..cfe289c 100644 --- a/apps/workadventure/reverse-proxy-deployment.yaml +++ b/apps/workadventure/unused/reverse-proxy-deployment.yaml @@ -1,10 +1,6 @@ apiVersion: apps/v1 kind: Deployment metadata: - annotations: - kompose.cmd: /home/nico/Downloads/kompose convert - kompose.version: 1.26.0 (40646f47) - creationTimestamp: null labels: io.kompose.service: reverse-proxy name: reverse-proxy @@ -17,12 +13,7 @@ spec: type: Recreate template: metadata: - annotations: - kompose.cmd: /home/nico/Downloads/kompose convert - kompose.version: 1.26.0 (40646f47) - creationTimestamp: null labels: - io.kompose.network/default: "true" io.kompose.service: reverse-proxy spec: containers: diff --git a/apps/workadventure/reverse-proxy-service.yaml b/apps/workadventure/unused/reverse-proxy-service.yaml similarity index 76% rename from apps/workadventure/reverse-proxy-service.yaml rename to apps/workadventure/unused/reverse-proxy-service.yaml index cc651d4..2e84f33 100644 --- a/apps/workadventure/reverse-proxy-service.yaml +++ b/apps/workadventure/unused/reverse-proxy-service.yaml @@ -2,9 +2,6 @@ apiVersion: v1 kind: Service metadata: annotations: - kompose.cmd: /home/nico/Downloads/kompose convert - kompose.version: 1.26.0 (40646f47) - creationTimestamp: null labels: io.kompose.service: reverse-proxy name: reverse-proxy diff --git a/apps/workadventure/v1/icon-deployment.yaml b/apps/workadventure/v1/icon-deployment.yaml new file mode 100644 index 0000000..9f2130a --- /dev/null +++ b/apps/workadventure/v1/icon-deployment.yaml @@ -0,0 +1,25 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + labels: + io.kompose.service: icon + name: icon +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: icon + strategy: {} + template: + metadata: + creationTimestamp: null + labels: + io.kompose.service: icon + spec: + containers: + - image: matthiasluedtke/iconserver:v3.13.0 + name: icon + resources: {} + restartPolicy: Always +status: {}