From 665b29506855d5becebe04e34f163d76d5097427 Mon Sep 17 00:00:00 2001 From: Mirco Date: Fri, 28 Jun 2024 10:18:38 +0200 Subject: [PATCH] Added ModeratorElection App --- src/main/cljc/dda/c4k_jitsi/jitsi.cljc | 3 ++- src/main/resources/jitsi/meapp-deployment.yaml | 4 +++- src/main/resources/jitsi/meapp-fullstack-service.yaml | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/main/cljc/dda/c4k_jitsi/jitsi.cljc b/src/main/cljc/dda/c4k_jitsi/jitsi.cljc index 109e0d7..f4bb238 100644 --- a/src/main/cljc/dda/c4k_jitsi/jitsi.cljc +++ b/src/main/cljc/dda/c4k_jitsi/jitsi.cljc @@ -58,7 +58,7 @@ (ing/generate-ingress-and-cert (merge {:service-name "meapp-fullstack" - :service-port 6333 + :service-port 80 :fqdns [(str "meapp-fullstack." (:fqdn config))]} config))) @@ -94,6 +94,7 @@ (cm/replace-all-matching "REPLACE_JITSI_FQDN" fqdn) (cm/replace-all-matching "REPLACE_ETHERPAD_URL" (str "https://etherpad." fqdn "/p/")) + (cm/replace-all-matching "REPLACE_EXCALIDRAW_BACKEND_URL" (str "https://excalidraw-backend." fqdn))))) diff --git a/src/main/resources/jitsi/meapp-deployment.yaml b/src/main/resources/jitsi/meapp-deployment.yaml index 1770032..1586514 100644 --- a/src/main/resources/jitsi/meapp-deployment.yaml +++ b/src/main/resources/jitsi/meapp-deployment.yaml @@ -5,6 +5,7 @@ metadata: app: meapp-fullstack name: meapp-fullstack spec: + replicas: 1 strategy: type: Recreate selector: @@ -18,6 +19,7 @@ spec: containers: - name: meapp-fullstack image: domaindrivenarchitecture/moderator-election-vaadin_fullstack + imagePullPolicy: IfNotPresent env: - name: MEMBERNAMES - value: Micha,Ansgar,Clemens,Mattis,Eric,Mirco \ No newline at end of file + value: "Micha,Ansgar,Clemens,Mattis,Eric,Mirco" diff --git a/src/main/resources/jitsi/meapp-fullstack-service.yaml b/src/main/resources/jitsi/meapp-fullstack-service.yaml index 35056cc..94579f6 100644 --- a/src/main/resources/jitsi/meapp-fullstack-service.yaml +++ b/src/main/resources/jitsi/meapp-fullstack-service.yaml @@ -6,8 +6,8 @@ metadata: name: meapp-fullstack spec: ports: - - name: meapp-fullstack - port: 6333 - targetPort: 8080 + - name: "http" + port: 80 + targetPort: 8080 selector: app: meapp-fullstack \ No newline at end of file