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