Deliver env MEMBERNAMES from k8 deployment

This commit is contained in:
Mirco 2024-06-26 11:55:28 +02:00
parent 5f5db8f49b
commit 3e6a9109af
2 changed files with 2 additions and 2 deletions

View file

@ -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"]

View file

@ -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}