| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 1 | apiVersion: apps.gitlab.com/v1beta1 |
| 2 | kind: GitLab |
| 3 | metadata: |
| 4 | name: gitlab |
| 5 | namespace: gitlab-system |
| 6 | spec: |
| 7 | chart: |
| Matthias Andreas Benkard | e4807d8 | 2026-11-05 15:24:38 +0100 | [diff] [blame] | 8 | version: "10.5.4" |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 9 | values: |
| 10 | global: |
| 11 | appConfig: |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 12 | object_store: |
| 13 | enabled: true |
| 14 | proxy_download: true # Garage is not exposed through the ingress. |
| 15 | connection: |
| 16 | secret: gitlab-object-storage |
| 17 | key: config |
| 18 | artifacts: |
| 19 | bucket: gitlab-artifacts |
| 20 | lfs: |
| 21 | bucket: git-lfs |
| 22 | uploads: |
| 23 | bucket: gitlab-uploads |
| 24 | packages: |
| 25 | bucket: gitlab-packages |
| 26 | externalDiffs: |
| 27 | enabled: true |
| 28 | bucket: gitlab-mr-diffs |
| 29 | terraformState: |
| 30 | enabled: true |
| 31 | bucket: gitlab-terraform-state |
| 32 | ciSecureFiles: |
| 33 | enabled: true |
| 34 | bucket: gitlab-ci-secure-files |
| 35 | dependencyProxy: |
| 36 | enabled: true |
| 37 | bucket: gitlab-dependency-proxy |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 38 | incomingEmail: |
| 39 | enabled: true |
| 40 | address: gitlab@benkard.de |
| 41 | user: gitlab@benkard.de |
| 42 | host: mail.benkard.de |
| 43 | startTls: true |
| 44 | port: 143 |
| 45 | ssl: false |
| 46 | #host: mailcow.mulk.svc.cluster.local. |
| 47 | password: |
| 48 | secret: gitlab-infrastructure |
| 49 | key: email-password |
| 50 | omniauth: |
| 51 | enabled: true |
| 52 | syncProfileAttributes: ['email'] |
| 53 | allowSingleSignOn: [] |
| 54 | blockAutoCreatedUsers: true |
| 55 | autoLinkUser: ['openid_connect'] |
| 56 | externalProviders: ['github'] |
| 57 | allowBypassTwoFactor: [] |
| 58 | providers: |
| 59 | - secret: gitlab-keycloak |
| 60 | - secret: gitlab-github |
| 61 | edition: ce |
| 62 | #deployment: |
| 63 | # strategy: |
| 64 | # type: Recreate |
| 65 | email: |
| 66 | display_name: Benkard GitLab |
| 67 | from: gitlab@benkard.de |
| 68 | reply_to: gitlab@benkard.de |
| 69 | smtp: |
| 70 | enabled: true |
| 71 | address: mail.benkard.de |
| 72 | tls: false |
| 73 | starttls_auto: true |
| 74 | port: 587 |
| 75 | #address: mailcow.mulk.svc.cluster.local. |
| 76 | #tls: false |
| 77 | authentication: plain |
| 78 | user_name: gitlab@benkard.de |
| 79 | password: |
| 80 | secret: gitlab-infrastructure |
| 81 | key: email-password |
| 82 | hosts: |
| 83 | domain: gitlab.benkard.de |
| 84 | gitlab: |
| 85 | name: gitlab.benkard.de |
| 86 | ssh: gitlab.benkard.de |
| 87 | hpa: |
| 88 | minReplicas: 1 |
| 89 | maxReplicas: 1 |
| Matthias Andreas Benkard | 42af404 | 2026-10-23 16:21:47 +0200 | [diff] [blame] | 90 | # Chart 10 defaults to Gateway API with a bundled Envoy Gateway; |
| 91 | # keep using the cluster's ingress-nginx instead. |
| 92 | gatewayApi: |
| 93 | enabled: false |
| 94 | installEnvoy: false |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 95 | ingress: |
| Matthias Andreas Benkard | 42af404 | 2026-10-23 16:21:47 +0200 | [diff] [blame] | 96 | enabled: true |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 97 | configureCertmanager: false |
| Matthias Andreas Benkard | 38590bb | 2026-11-04 11:41:17 +0100 | [diff] [blame] | 98 | class: nginx |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 99 | annotations: |
| 100 | kubernetes.io/tls-acme: true |
| 101 | cert-manager.io/cluster-issuer: letsencrypt-prod |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 102 | tls: |
| 103 | secretName: gitlab-wildcard-tls |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 104 | minio: |
| 105 | enabled: false |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 106 | persistence: |
| 107 | storageClass: local-path |
| 108 | psql: |
| 109 | host: postgresql.system |
| 110 | port: 5432 |
| 111 | username: gitlab |
| 112 | database: gitlab |
| 113 | password: |
| 114 | secret: gitlab-infrastructure |
| 115 | key: postgresql-password |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 116 | redis: |
| 117 | host: valkey.gitlab-system.svc.cluster.local |
| 118 | auth: |
| 119 | secret: valkey-auth |
| 120 | key: default-password |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 121 | shell: |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 122 | port: 32222 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 123 | |
| 124 | certmanager: |
| 125 | install: false |
| 126 | |
| 127 | certmanager-issuer: |
| 128 | email: id+acme@mulk.eu |
| 129 | |
| 130 | gitlab: |
| 131 | gitaly: |
| 132 | persistence: |
| 133 | storageClass: local-path |
| 134 | gitlab-shell: |
| 135 | #replicaCount: 1 |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 136 | minReplicas: 2 |
| 137 | maxReplicas: 2 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 138 | service: |
| 139 | type: NodePort |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 140 | nodePort: 32222 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 141 | kas: |
| 142 | ingress: |
| 143 | tls: |
| 144 | secretName: gitlab-kas-tls |
| 145 | minReplicas: 1 |
| 146 | maxReplicas: 1 |
| Matthias Andreas Benkard | 3d64caf | 2026-11-04 11:43:54 +0100 | [diff] [blame] | 147 | mailroom: |
| 148 | hpa: |
| 149 | minReplicas: 1 |
| 150 | maxReplicas: 1 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 151 | sidekiq: |
| 152 | #replicas: 1 |
| 153 | minReplicas: 1 |
| 154 | maxReplicas: 1 |
| Matthias Andreas Benkard | c5a9391 | 2026-11-05 15:58:35 +0100 | [diff] [blame] | 155 | # Sidekiq takes more than the default ~3 min to boot on ifirn, and |
| 156 | # the default liveness probe kills it before it is up. |
| 157 | livenessProbe: |
| 158 | failureThreshold: 5 |
| 159 | initialDelaySeconds: 900 |
| 160 | timeoutSeconds: 120 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 161 | toolbox: |
| 162 | backups: |
| 163 | cron: |
| 164 | persistence: |
| 165 | storageClass: local-path |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 166 | objectStorage: |
| 167 | config: |
| 168 | secret: gitlab-object-storage-s3cmd |
| 169 | key: config |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 170 | persistence: |
| 171 | storageClass: local-path |
| 172 | webservice: |
| 173 | #replicaCount: 1 |
| 174 | workerProcesses: 1 |
| 175 | resources: |
| 176 | requests: |
| 177 | cpu: 1m |
| 178 | memory: 100M |
| 179 | hpa: |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 180 | minReplicas: 2 |
| 181 | maxReplicas: 2 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 182 | ingress: |
| 183 | tls: |
| 184 | secretName: gitlab-gitlab-tls |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 185 | deployment: |
| 186 | livenessProbe: |
| 187 | failureThreshold: 5 |
| 188 | initialDelaySeconds: 900 |
| 189 | timeoutSeconds: 120 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 190 | # strategy: |
| 191 | # type: Recreate |
| 192 | # deployments: |
| 193 | # default: |
| 194 | # hpa: |
| 195 | # minReplicas: 1 |
| 196 | # maxReplicas: 1 |
| 197 | # workerProcesses: 1 |
| 198 | |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 199 | nginx-ingress: |
| 200 | enabled: false |
| 201 | |
| 202 | postgresql: |
| 203 | install: false |
| 204 | |
| Matthias Andreas Benkard | 6d6faf5 | 2026-10-23 20:29:56 +0200 | [diff] [blame] | 205 | prometheus: |
| 206 | install: false |
| 207 | |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 208 | redis: |
| 209 | install: false |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 210 | |
| 211 | registry: |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 212 | storage: |
| 213 | secret: gitlab-registry-storage |
| 214 | key: config |
| 215 | redirect: |
| 216 | disable: true # Garage is not exposed through the ingress. |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 217 | ingress: |
| 218 | tls: |
| 219 | secretName: gitlab-registry-tls |
| 220 | hpa: |
| 221 | minReplicas: 1 |
| 222 | maxReplicas: 1 |
| 223 | |