@@ -8,9 +8,6 @@ quarkus.qute.content-types."md"=text/markdown
8
8
9
9
quarkus.cache.caffeine."glob-cache".maximum-size =200
10
10
11
- quarkus.container-image.group =hibernate
12
- quarkus.container-image.registry =quay.io
13
-
14
11
hibernate-github-bot.jenkins.github-app-id =347853
15
12
hibernate-github-bot.develocity.uri =https://ge.hibernate.org/
16
13
@@ -25,3 +22,47 @@ quarkus.openapi-generator.gradle_enterprise_2023_4_api_yaml.auth.DevelocityAcces
25
22
26
23
%dev,test.hibernate-github-bot.dry-run =false
27
24
%dev,test.hibernate-github-bot.develocity.access-key =foo
25
+
26
+ # #############
27
+ # Deployment configuration:
28
+ #
29
+ quarkus.container-image.builder =jib
30
+ quarkus.openshift.part-of =hibernate-github-bot
31
+ # Renew the SSL certificate automatically
32
+ # This requires an additional controller to run on the OpenShift cluster (in our case it does).
33
+ # See https://github.com/tnozicka/openshift-acme/#enabling-acme-certificates-for-your-object
34
+ quarkus.openshift.annotations."kubernetes.io/tls-acme" =true
35
+ quarkus.openshift.env.configmaps =hibernate-github-bot-config
36
+ quarkus.openshift.env.secrets =hibernate-github-bot-secrets
37
+ # Resource requirements
38
+ quarkus.openshift.resources.limits.cpu =600m
39
+ quarkus.openshift.resources.requests.cpu =400m
40
+ quarkus.openshift.resources.limits.memory =300Mi
41
+ quarkus.openshift.resources.requests.memory =150Mi
42
+ # Add routes:
43
+ quarkus.openshift.route.expose =true
44
+ quarkus.openshift.route.target-port =http
45
+ # # Route TLS configuration:
46
+ quarkus.openshift.route.tls.termination =edge
47
+ quarkus.openshift.route.tls.insecure-edge-termination-policy =Redirect
48
+ # Don't use the version in (service) selectors,
49
+ # otherwise a rollback to an earlier version (due to failing startup) makes the service unavailable
50
+ quarkus.openshift.add-version-to-label-selectors =false
51
+ quarkus.helm.values."resources.limits.cpu".paths =(kind == Deployment).spec.template.spec.containers.resources.limits.cpu
52
+ quarkus.helm.values."resources.requests.cpu".paths =(kind == Deployment).spec.template.spec.containers.resources.requests.cpu
53
+ quarkus.helm.values."resources.limits.memory".paths =(kind == Deployment).spec.template.spec.containers.resources.limits.memory
54
+ quarkus.helm.values."resources.requests.memory".paths =(kind == Deployment).spec.template.spec.containers.resources.requests.memory
55
+ #
56
+ # General Helm config
57
+ #
58
+ # Don't just add any random system property mentioned in application.properties to values.yaml...
59
+ # We don't need it but more importantly it doesn't work (leads to marshalling errors)
60
+ # for strings that look like numbers (e.g. 2.11)
61
+ quarkus.helm.map-system-properties =false
62
+ # Set common k8s labels everywhere:
63
+ quarkus.helm.values."version".paths =metadata.labels.'app.kubernetes.io/version',spec.template.metadata.labels.'app.kubernetes.io/version'
64
+ quarkus.helm.values."version".property =@.app.version
65
+ quarkus.helm.values."version".value =${maven.revision}
66
+ quarkus.helm.values."part-of".paths =metadata.labels.'app.kubernetes.io/part-of',spec.template.metadata.labels.'app.kubernetes.io/part-of'
67
+ quarkus.helm.values."part-of".property =@.app.name
68
+ quarkus.helm.values."part-of".value =hibernate-github-bot
0 commit comments