| 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 |
| 98 | #class: nginx |
| 99 | class: none |
| 100 | annotations: |
| 101 | kubernetes.io/tls-acme: true |
| 102 | cert-manager.io/cluster-issuer: letsencrypt-prod |
| 103 | kubernetes.io/ingress.class: nginx |
| 104 | tls: |
| 105 | secretName: gitlab-wildcard-tls |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 106 | minio: |
| 107 | enabled: false |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 108 | persistence: |
| 109 | storageClass: local-path |
| 110 | psql: |
| 111 | host: postgresql.system |
| 112 | port: 5432 |
| 113 | username: gitlab |
| 114 | database: gitlab |
| 115 | password: |
| 116 | secret: gitlab-infrastructure |
| 117 | key: postgresql-password |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 118 | redis: |
| 119 | host: valkey.gitlab-system.svc.cluster.local |
| 120 | auth: |
| 121 | secret: valkey-auth |
| 122 | key: default-password |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 123 | shell: |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 124 | port: 32222 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 125 | |
| 126 | certmanager: |
| 127 | install: false |
| 128 | |
| 129 | certmanager-issuer: |
| 130 | email: id+acme@mulk.eu |
| 131 | |
| 132 | gitlab: |
| 133 | gitaly: |
| 134 | persistence: |
| 135 | storageClass: local-path |
| 136 | gitlab-shell: |
| 137 | #replicaCount: 1 |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 138 | minReplicas: 2 |
| 139 | maxReplicas: 2 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 140 | service: |
| 141 | type: NodePort |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 142 | nodePort: 32222 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 143 | kas: |
| 144 | ingress: |
| 145 | tls: |
| 146 | secretName: gitlab-kas-tls |
| 147 | minReplicas: 1 |
| 148 | maxReplicas: 1 |
| 149 | sidekiq: |
| 150 | #replicas: 1 |
| 151 | minReplicas: 1 |
| 152 | maxReplicas: 1 |
| 153 | toolbox: |
| 154 | backups: |
| 155 | cron: |
| 156 | persistence: |
| 157 | storageClass: local-path |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 158 | objectStorage: |
| 159 | config: |
| 160 | secret: gitlab-object-storage-s3cmd |
| 161 | key: config |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 162 | persistence: |
| 163 | storageClass: local-path |
| 164 | webservice: |
| 165 | #replicaCount: 1 |
| 166 | workerProcesses: 1 |
| 167 | resources: |
| 168 | requests: |
| 169 | cpu: 1m |
| 170 | memory: 100M |
| 171 | hpa: |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 172 | minReplicas: 2 |
| 173 | maxReplicas: 2 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 174 | ingress: |
| 175 | tls: |
| 176 | secretName: gitlab-gitlab-tls |
| Matthias Andreas Benkard | 1c3a1f2 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 177 | deployment: |
| 178 | livenessProbe: |
| 179 | failureThreshold: 5 |
| 180 | initialDelaySeconds: 900 |
| 181 | timeoutSeconds: 120 |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 182 | # strategy: |
| 183 | # type: Recreate |
| 184 | # deployments: |
| 185 | # default: |
| 186 | # hpa: |
| 187 | # minReplicas: 1 |
| 188 | # maxReplicas: 1 |
| 189 | # workerProcesses: 1 |
| 190 | |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 191 | nginx-ingress: |
| 192 | enabled: false |
| 193 | |
| 194 | postgresql: |
| 195 | install: false |
| 196 | |
| Matthias Andreas Benkard | 6d6faf5 | 2026-10-23 20:29:56 +0200 | [diff] [blame] | 197 | prometheus: |
| 198 | install: false |
| 199 | |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 200 | redis: |
| 201 | install: false |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 202 | |
| 203 | registry: |
| Matthias Andreas Benkard | 9557bc4 | 2026-10-23 16:21:40 +0200 | [diff] [blame] | 204 | storage: |
| 205 | secret: gitlab-registry-storage |
| 206 | key: config |
| 207 | redirect: |
| 208 | disable: true # Garage is not exposed through the ingress. |
| Matthias Andreas Benkard | 47c260d | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 209 | ingress: |
| 210 | tls: |
| 211 | secretName: gitlab-registry-tls |
| 212 | hpa: |
| 213 | minReplicas: 1 |
| 214 | maxReplicas: 1 |
| 215 | |