summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-31 19:13:01 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-31 19:13:01 +0100
commit8b35def5c2ef844e1c093374792393bb65e51e33 (patch)
tree6fe65d1eeeee16af8357e9f44edc9d80c9a6cb13
parentf7bf7c44664a9f48a8839a961680f17314dcae6e (diff)
Configure deployment.
Change-Id: I724c34c121925831c3eb525b2790386e922652cb
-rw-r--r--src/main/resources/application.properties20
1 files changed, 20 insertions, 0 deletions
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