| 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 | 15c4c2e | 2026-10-24 18:52:51 +0200 | [diff] [blame] | 8 | version: "10.5.1" |
| 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 |
| 155 | toolbox: |
| 156 | backups: |
| 157 | cron: |
| 158 | persistence: |
| 159 | storageClass: local-path |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 160 | objectStorage: |
| 161 | config: |
| 162 | secret: gitlab-object-storage-s3cmd |
| 163 | key: config |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 164 | persistence: |
| 165 | storageClass: local-path |
| 166 | webservice: |
| 167 | #replicaCount: 1 |
| 168 | workerProcesses: 1 |
| 169 | resources: |
| 170 | requests: |
| 171 | cpu: 1m |
| 172 | memory: 100M |
| 173 | hpa: |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 174 | minReplicas: 2 |
| 175 | maxReplicas: 2 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 176 | ingress: |
| 177 | tls: |
| 178 | secretName: gitlab-gitlab-tls |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 179 | deployment: |
| 180 | livenessProbe: |
| 181 | failureThreshold: 5 |
| 182 | initialDelaySeconds: 900 |
| 183 | timeoutSeconds: 120 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 184 | # strategy: |
| 185 | # type: Recreate |
| 186 | # deployments: |
| 187 | # default: |
| 188 | # hpa: |
| 189 | # minReplicas: 1 |
| 190 | # maxReplicas: 1 |
| 191 | # workerProcesses: 1 |
| 192 | |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 193 | nginx-ingress: |
| 194 | enabled: false |
| 195 | |
| 196 | postgresql: |
| 197 | install: false |
| 198 | |
| Matthias Andreas Benkard | 6d6faf5 | 2026-10-23 20:29:56 +0200 | [diff] [blame] | 199 | prometheus: |
| 200 | install: false |
| 201 | |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 202 | redis: |
| 203 | install: false |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 204 | |
| 205 | registry: |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 206 | storage: |
| 207 | secret: gitlab-registry-storage |
| 208 | key: config |
| 209 | redirect: |
| 210 | disable: true # Garage is not exposed through the ingress. |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 211 | ingress: |
| 212 | tls: |
| 213 | secretName: gitlab-registry-tls |
| 214 | hpa: |
| 215 | minReplicas: 1 |
| 216 | maxReplicas: 1 |
| 217 | |