From 8b35def5c2ef844e1c093374792393bb65e51e33 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Fri, 31 Jan 2020 19:13:01 +0100 Subject: Configure deployment. Change-Id: I724c34c121925831c3eb525b2790386e922652cb --- src/main/resources/application.properties | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/main') diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 161d722..994d3b0 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -14,6 +14,11 @@ quarkus.datasource.min-size = 0 %dev.quarkus.datasource.password = %dev.quarkus.hibernate-orm.log.sql = true +%prod.quarkus.datasource.url = jdbc:postgresql://postgresql.system:5432/mulkcms +%prod.quarkus.datasource.username = mulkcms +%prod.quarkus.datasource.password = +%prod.quarkus.hibernate-orm.log.sql = false + # Authentication quarkus.oidc.auth-server-url = https://login.benkard.de/auth/realms/master quarkus.oidc.client-id = mulkcms @@ -28,3 +33,18 @@ quarkus.security.users.embedded.enabled = false %dev.quarkus.security.users.embedded.plain-text = true %dev.quarkus.security.users.embedded.users.mulk = mulk %dev.quarkus.security.users.embedded.roles.mulk = Admin + +# Deployment +docker.registry = docker.benkard.de + +kubernetes.deployment.target = kubernetes +kubernetes.group = mulk +kubernetes.name = mulkcms2 +kubernetes.namespace = mulk +kubernetes.service-type = ClusterIP +kubernetes.image-pull-policy = Always +kubernetes.headless = true +kubernetes.service-account = default +kubernetes.env-vars[0].name = QUARKUS_DATASOURCE_PASSWORD +kubernetes.env-vars[0].secret = mulkcms2-secrets +kubernetes.env-vars[0].value = database-password -- cgit v1.2.3