Matthias Andreas Benkard | c058c56 | 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 | 2a12e5f | 2023-01-21 18:54:50 +0100 | [diff] [blame] | 8 | version: "6.7.5" |
Matthias Andreas Benkard | c058c56 | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 9 | values: |
| 10 | global: |
| 11 | appConfig: |
| 12 | incomingEmail: |
| 13 | enabled: true |
| 14 | address: gitlab@benkard.de |
| 15 | user: gitlab@benkard.de |
| 16 | host: mail.benkard.de |
| 17 | startTls: true |
| 18 | port: 143 |
| 19 | ssl: false |
| 20 | #host: mailcow.mulk.svc.cluster.local. |
| 21 | password: |
| 22 | secret: gitlab-infrastructure |
| 23 | key: email-password |
| 24 | omniauth: |
| 25 | enabled: true |
| 26 | syncProfileAttributes: ['email'] |
| 27 | allowSingleSignOn: [] |
| 28 | blockAutoCreatedUsers: true |
| 29 | autoLinkUser: ['openid_connect'] |
| 30 | externalProviders: ['github'] |
| 31 | allowBypassTwoFactor: [] |
| 32 | providers: |
| 33 | - secret: gitlab-keycloak |
| 34 | - secret: gitlab-github |
| 35 | edition: ce |
| 36 | #deployment: |
| 37 | # strategy: |
| 38 | # type: Recreate |
| 39 | email: |
| 40 | display_name: Benkard GitLab |
| 41 | from: gitlab@benkard.de |
| 42 | reply_to: gitlab@benkard.de |
| 43 | smtp: |
| 44 | enabled: true |
| 45 | address: mail.benkard.de |
| 46 | tls: false |
| 47 | starttls_auto: true |
| 48 | port: 587 |
| 49 | #address: mailcow.mulk.svc.cluster.local. |
| 50 | #tls: false |
| 51 | authentication: plain |
| 52 | user_name: gitlab@benkard.de |
| 53 | password: |
| 54 | secret: gitlab-infrastructure |
| 55 | key: email-password |
| 56 | hosts: |
| 57 | domain: gitlab.benkard.de |
| 58 | gitlab: |
| 59 | name: gitlab.benkard.de |
| 60 | ssh: gitlab.benkard.de |
| 61 | hpa: |
| 62 | minReplicas: 1 |
| 63 | maxReplicas: 1 |
| 64 | ingress: |
| 65 | configureCertmanager: false |
| 66 | #class: nginx |
| 67 | class: none |
| 68 | annotations: |
| 69 | kubernetes.io/tls-acme: true |
| 70 | cert-manager.io/cluster-issuer: letsencrypt-prod |
| 71 | kubernetes.io/ingress.class: nginx |
| 72 | tls: |
| 73 | secretName: gitlab-wildcard-tls |
| 74 | #object_store: |
| 75 | # enabled: true |
| 76 | persistence: |
| 77 | storageClass: local-path |
| 78 | psql: |
| 79 | host: postgresql.system |
| 80 | port: 5432 |
| 81 | username: gitlab |
| 82 | database: gitlab |
| 83 | password: |
| 84 | secret: gitlab-infrastructure |
| 85 | key: postgresql-password |
| 86 | #redis: |
| 87 | #host: redis.system |
| 88 | #password: |
| 89 | # secret: gitlab-infrastructure |
| 90 | # key: redis-password |
| 91 | shell: |
Matthias Andreas Benkard | b0a91e0 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 92 | port: 32222 |
Matthias Andreas Benkard | c058c56 | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 93 | |
| 94 | certmanager: |
| 95 | install: false |
| 96 | |
| 97 | certmanager-issuer: |
| 98 | email: id+acme@mulk.eu |
| 99 | |
| 100 | gitlab: |
| 101 | gitaly: |
| 102 | persistence: |
| 103 | storageClass: local-path |
| 104 | gitlab-shell: |
| 105 | #replicaCount: 1 |
Matthias Andreas Benkard | b0a91e0 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 106 | minReplicas: 2 |
| 107 | maxReplicas: 2 |
Matthias Andreas Benkard | c058c56 | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 108 | service: |
| 109 | type: NodePort |
Matthias Andreas Benkard | b0a91e0 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 110 | nodePort: 32222 |
Matthias Andreas Benkard | c058c56 | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 111 | kas: |
| 112 | ingress: |
| 113 | tls: |
| 114 | secretName: gitlab-kas-tls |
| 115 | minReplicas: 1 |
| 116 | maxReplicas: 1 |
| 117 | sidekiq: |
| 118 | #replicas: 1 |
| 119 | minReplicas: 1 |
| 120 | maxReplicas: 1 |
| 121 | toolbox: |
| 122 | backups: |
| 123 | cron: |
| 124 | persistence: |
| 125 | storageClass: local-path |
| 126 | persistence: |
| 127 | storageClass: local-path |
| 128 | webservice: |
| 129 | #replicaCount: 1 |
| 130 | workerProcesses: 1 |
| 131 | resources: |
| 132 | requests: |
| 133 | cpu: 1m |
| 134 | memory: 100M |
| 135 | hpa: |
Matthias Andreas Benkard | b0a91e0 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 136 | minReplicas: 2 |
| 137 | maxReplicas: 2 |
Matthias Andreas Benkard | c058c56 | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 138 | ingress: |
| 139 | tls: |
| 140 | secretName: gitlab-gitlab-tls |
Matthias Andreas Benkard | b0a91e0 | 2023-01-10 18:57:18 +0100 | [diff] [blame] | 141 | deployment: |
| 142 | livenessProbe: |
| 143 | failureThreshold: 5 |
| 144 | initialDelaySeconds: 900 |
| 145 | timeoutSeconds: 120 |
Matthias Andreas Benkard | c058c56 | 2023-01-08 19:04:34 +0100 | [diff] [blame] | 146 | # strategy: |
| 147 | # type: Recreate |
| 148 | # deployments: |
| 149 | # default: |
| 150 | # hpa: |
| 151 | # minReplicas: 1 |
| 152 | # maxReplicas: 1 |
| 153 | # workerProcesses: 1 |
| 154 | |
| 155 | minio: |
| 156 | persistence: |
| 157 | storageClass: local-path |
| 158 | replicas: 1 |
| 159 | ingress: |
| 160 | tls: |
| 161 | secretName: gitlab-minio-tls |
| 162 | |
| 163 | nginx-ingress: |
| 164 | enabled: false |
| 165 | |
| 166 | postgresql: |
| 167 | install: false |
| 168 | |
| 169 | #redis: |
| 170 | # install: false |
| 171 | |
| 172 | registry: |
| 173 | ingress: |
| 174 | tls: |
| 175 | secretName: gitlab-registry-tls |
| 176 | hpa: |
| 177 | minReplicas: 1 |
| 178 | maxReplicas: 1 |
| 179 | |