forked from hibernate/hibernate-github-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.properties
76 lines (67 loc) · 4.02 KB
/
application.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
quarkus.application.name=hibernate-github-bot
quarkus.management.enabled=true
quarkus.info.enabled=true
quarkus.qute.suffixes=md
quarkus.qute.content-types."md"=text/markdown
quarkus.cache.caffeine."glob-cache".maximum-size=200
hibernate-github-bot.jenkins.github-app-id=347853
hibernate-github-bot.develocity.uri=https://ge.hibernate.org/
quarkus.openapi-generator.codegen.spec.gradle_enterprise_2023_4_api_yaml.config-key=gradle_enterprise_2023_4_api_yaml
quarkus.openapi-generator.codegen.spec.gradle_enterprise_2023_4_api_yaml.base-package=com.gradle.develocity
quarkus.rest-client."gradle_enterprise_2023_4_api_yaml".uri=${hibernate-github-bot.develocity.uri}
quarkus.openapi-generator.gradle_enterprise_2023_4_api_yaml.auth.DevelocityAccessKey.bearer-token=${hibernate-github-bot.develocity.access-key}
%dev.quarkus.rest-client.logging.scope=request-response
%dev.quarkus.log.category."org.jboss.resteasy.reactive.client.logging".level=DEBUG
#%dev.quarkus.log.category."io.quarkus.arc".level=DEBUG
%dev,test.hibernate-github-bot.dry-run=false
%dev,test.hibernate-github-bot.develocity.access-key=foo
hibernate-github-bot.jira.uri=https://hibernate.atlassian.net/
hibernate-github-bot.jira.username=foo
hibernate-github-bot.jira.token=bar
quarkus.rest-client.jira.url=${hibernate-github-bot.jira.uri}
##############
# Deployment configuration:
#
quarkus.container-image.builder=jib
quarkus.openshift.part-of=hibernate-github-bot
# Renew the SSL certificate automatically
# This requires an additional controller to run on the OpenShift cluster (in our case it does).
# See https://github.com/tnozicka/openshift-acme/#enabling-acme-certificates-for-your-object
quarkus.openshift.annotations."kubernetes.io/tls-acme"=true
quarkus.openshift.env.configmaps=hibernate-github-bot-config,hibernate-github-bot-application-properties-config
quarkus.openshift.env.secrets=hibernate-github-bot-secrets
# mount the config map as an application.properties:
quarkus.openshift.mounts.app-config.path=/home/jboss/config
quarkus.openshift.config-map-volumes.app-config.config-map-name=hibernate-github-bot-application-properties-config
# Resource requirements
quarkus.openshift.resources.limits.cpu=600m
quarkus.openshift.resources.requests.cpu=400m
quarkus.openshift.resources.limits.memory=300Mi
quarkus.openshift.resources.requests.memory=150Mi
# Add routes:
quarkus.openshift.route.expose=true
quarkus.openshift.route.target-port=http
## Route TLS configuration:
quarkus.openshift.route.tls.termination=edge
quarkus.openshift.route.tls.insecure-edge-termination-policy=Redirect
# Don't use the version in (service) selectors,
# otherwise a rollback to an earlier version (due to failing startup) makes the service unavailable
quarkus.openshift.add-version-to-label-selectors=false
quarkus.helm.values."resources.limits.cpu".paths=(kind == Deployment).spec.template.spec.containers.resources.limits.cpu
quarkus.helm.values."resources.requests.cpu".paths=(kind == Deployment).spec.template.spec.containers.resources.requests.cpu
quarkus.helm.values."resources.limits.memory".paths=(kind == Deployment).spec.template.spec.containers.resources.limits.memory
quarkus.helm.values."resources.requests.memory".paths=(kind == Deployment).spec.template.spec.containers.resources.requests.memory
#
# General Helm config
#
# Don't just add any random system property mentioned in application.properties to values.yaml...
# We don't need it but more importantly it doesn't work (leads to marshalling errors)
# for strings that look like numbers (e.g. 2.11)
quarkus.helm.map-system-properties=false
# Set common k8s labels everywhere:
quarkus.helm.values."version".paths=metadata.labels.'app.kubernetes.io/version',spec.template.metadata.labels.'app.kubernetes.io/version'
quarkus.helm.values."version"[email protected]
quarkus.helm.values."version".value=${maven.revision}
quarkus.helm.values."part-of".paths=metadata.labels.'app.kubernetes.io/part-of',spec.template.metadata.labels.'app.kubernetes.io/part-of'
quarkus.helm.values."part-of"[email protected]
quarkus.helm.values."part-of".value=hibernate-github-bot