| Giorgi Lekveishvili | 285ab62 | 2023-11-22 13:50:45 +0400 | [diff] [blame] | 1 | storageClasses: |
| 2 | default: |
| 3 | name: standard |
| 4 | shared: |
| 5 | name: shared-storage |
| 6 | |
| 7 | gitGC: |
| 8 | schedule: "*/15 * * * *" |
| 9 | |
| 10 | resources: |
| 11 | requests: |
| 12 | cpu: 50m |
| 13 | memory: 100Mi |
| 14 | limits: |
| 15 | cpu: 50m |
| 16 | memory: 100Mi |
| 17 | |
| 18 | logging: |
| 19 | persistence: |
| 20 | enabled: false |
| 21 | |
| 22 | gerrit: |
| 23 | |
| 24 | resources: |
| 25 | requests: |
| 26 | cpu: 200m |
| 27 | memory: 400Mi |
| 28 | limits: |
| 29 | cpu: 500m |
| 30 | memory: 400Mi |
| 31 | |
| 32 | persistence: |
| 33 | enabled: false |
| 34 | |
| 35 | livenessProbe: |
| 36 | initialDelaySeconds: 90 |
| 37 | periodSeconds: 5 |
| 38 | |
| 39 | ingress: |
| 40 | host: primary.gerrit |
| 41 | |
| 42 | config: |
| 43 | gerrit: |- |
| 44 | [gerrit] |
| 45 | basePath = git |
| 46 | serverId = gerrit-1 |
| 47 | canonicalWebUrl = http://primary.gerrit |
| 48 | [index] |
| 49 | type = LUCENE |
| 50 | [auth] |
| 51 | type = DEVELOPMENT_BECOME_ANY_ACCOUNT |
| 52 | [httpd] |
| 53 | listenUrl = proxy-http://*:8080/ |
| 54 | [sshd] |
| 55 | listenAddress = off |
| 56 | [transfer] |
| 57 | timeout = 120 s |
| 58 | [user] |
| 59 | name = Gerrit Code Review |
| 60 | email = gerrit@example.com |
| 61 | anonymousCoward = Unnamed User |
| 62 | [cache] |
| 63 | directory = cache |
| 64 | [container] |
| 65 | user = gerrit |
| 66 | javaHome = /usr/lib/jvm/java-11-openjdk-amd64 |
| 67 | javaOptions = -Djavax.net.ssl.trustStore=/var/gerrit/etc/keystore |
| 68 | javaOptions = -Xms300m |
| 69 | javaOptions = -Xmx300m |
| 70 | |
| 71 | secure: |- |
| 72 | [remote "replica"] |
| 73 | username = git |
| 74 | password = secret |
| 75 | |
| 76 | replication: |- |
| 77 | [gerrit] |
| 78 | autoReload = false |
| 79 | replicateOnStartup = true |
| 80 | defaultForceUpdate = true |
| 81 | |
| 82 | [remote "replica"] |
| 83 | url = http://gerrit-replica-git-backend-service/git/${name}.git |
| 84 | replicationDelay = 0 |
| 85 | timeout = 30 |