From 3e6a9109af4d2b5d437de006cdb4a0501f9900a2 Mon Sep 17 00:00:00 2001 From: Mirco Date: Wed, 26 Jun 2024 11:55:28 +0200 Subject: [PATCH] Deliver env MEMBERNAMES from k8 deployment --- image/Dockerfile | 2 +- src/main/resources/application.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/image/Dockerfile b/image/Dockerfile index 23bf449..bf5eebe 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -21,4 +21,4 @@ WORKDIR /usr/local/src/ModeratorElection/ #copy graalvm binary COPY --from=build-env /usr/local/src/ModeratorElection/build/native/nativeCompile/ /usr/local/src/ModeratorElection/ RUN chmod 0740 ./ModeratorElection -ENTRYPOINT ["./ModeratorElection"] +ENTRYPOINT ["MEMBERNAMES ./ModeratorElection"] diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 8b93e58..fe2ecea 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -12,4 +12,4 @@ vaadin.launch-browser=true # For more information https://vaadin.com/docs/latest/integrations/spring/configuration#special-configuration-parameters vaadin.allowed-packages = com.vaadin,org.vaadin,dev.hilla,com.ModeratorElection.MEApplication spring.jpa.defer-datasource-initialization = true -membernames=${MEMBERNAMES:Ali,Günter,Ulli,Andrea} +membernames=${MEMBERNAMES}