-
Notifications
You must be signed in to change notification settings - Fork 1
/
uds-bundle.yaml
267 lines (254 loc) · 9.27 KB
/
uds-bundle.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
kind: UDSBundle
metadata:
name: k3d-swf-demo
description: A UDS bundle for deploying the UDS Software Factory with full uds-core on a development cluster
# x-release-please-start-version
version: 0.2.2
# x-release-please-end
packages:
- name: uds-k3d-dev
repository: ghcr.io/defenseunicorns/packages/uds-k3d
ref: 0.7.0
- name: init
repository: ghcr.io/defenseunicorns/packages/init
ref: v0.34.0
- name: uds-core #for now
repository: ghcr.io/defenseunicorns/packages/uds/core
ref: "0.22.0-upstream"
overrides:
keycloak:
keycloak:
variables:
- name: INSECURE_ADMIN_PASSWORD_GENERATION
description: "Generate an insecure admin password for dev/test"
path: insecureAdminPasswordGeneration.enabled
default: true
- name: dev-minio
repository: ghcr.io/defenseunicorns/packages/uds/dev-minio
ref: 0.0.2
# Namespaces are deployed prior to the packages to faciliate use of the postgres-operator cross namespace secret creation
- name: dev-namespaces
path: ../../
ref: 0.1.0
- name: postgres-operator
repository: ghcr.io/defenseunicorns/packages/uds/postgres-operator
ref: 1.10.1-uds.4-upstream
overrides:
postgres-operator:
uds-postgres-config:
variables:
- name: POSTGRESQL
description: "Configure postgres using CRs via the uds-postgres-config chart"
path: postgresql
default:
enabled: true
teamId: "uds"
volume:
size: "10Gi"
numberOfInstances: 2
users:
gitlab.gitlab: []
sonarqube.sonarqube: []
mattermost.mattermost: []
databases:
gitlabdb: gitlab.gitlab
mattermost: mattermost.mattermost
sonarqubedb: sonarqube.sonarqube
version: "13"
ingress:
remoteGenerated: Anywhere
- name: dev-redis
repository: ghcr.io/defenseunicorns/packages/uds/dev-redis
ref: 0.0.2
overrides:
redis:
redis:
variables:
- name: REDIS_RESOURCES
path: "master.resources"
default:
limits:
cpu: 100m
memory: 300Mi
requests:
cpu: 100m
memory: 300Mi
- name: dev-secrets
path: ../../
ref: 0.1.0
exports:
- name: ACCESS_KEY
- name: SECRET_KEY
- name: gitlab
repository: ghcr.io/defenseunicorns/packages/uds/gitlab
ref: 17.0.1-uds.1-upstream
overrides:
gitlab:
uds-gitlab-config:
variables:
- name: GITLAB_SSO_ENABLED
description: "Boolean to enable or disable sso things"
path: "sso.enabled"
gitlab:
variables:
- name: GITLAB_SSO_ENABLED
description: "Boolean to enable or disable sso things"
path: "global.appConfig.omniauth.enabled"
- name: MIGRATIONS_RESOURCES
description: "Gitlab Migrations Resources"
path: "gitlab.migrations.resources"
default:
limits:
cpu: 500m
memory: 4G
- name: WEBSERVICE_REPLICAS
description: "Gitlab Webservice Min Replicas"
path: "gitlab.webservice.minReplicas"
default: 1
- name: WEBSERVICE_RESOURCES
description: "Gitlab Webservice Resources"
path: "gitlab.webservice.resources"
default:
limits:
memory: 2.5G
requests:
cpu: 300m
memory: 2.5G
- name: WORKHORSE_RESOURCES
description: "Gitlab Workhorse Resources"
path: "gitlab.webservice.workhorse.resources"
default:
limits:
memory: 100M
requests:
cpu: 10m
memory: 10M
- name: TOOLBOX_RESOURCES
description: "Gitlab Toolbox Resources"
path: "gitlab.toolbox.resources"
default:
limits:
cpu: 2000m
memory: 3584M
requests:
cpu: 500m
memory: 1000M
- name: SIDEKIQ_REPLICAS
description: "Gitlab Sidekiq Min Replicas"
path: "gitlab.sidekiq.minReplicas"
default: 1
- name: SIDEKIQ_RESOURCES
description: "Gitlab Sidekiq Resources"
path: "gitlab.sidekiq.resources"
default:
limits:
memory: 1.5G
requests:
cpu: 50m
memory: 625M
- name: PAGES_RESOURCES
description: "GitLab Pages Resources"
path: "gitlab.gitlab-pages.resources"
default:
limits:
memory: 1.5G
requests:
cpu: 50m
memory: 625M
- name: REGISTRY_REPLICAS
description: "Gitlab Registry Min Replicas"
path: "registry.hpa.minReplicas"
default: 1
- name: DISABLE_REGISTRY_REDIRECT
description: "Gitlab Registry Disable Redirect"
path: "registry.storage.redirect.disable"
default: "true"
- name: SHELL_REPLICAS
description: "Gitlab Shell Min Replicas"
path: "gitlab.gitlab-shell.minReplicas"
default: 1
- name: POSTGRES_USERNAME
description: "Gitlab Postgres Username"
path: "global.psql.username"
default: "gitlab.gitlab"
- name: POSTGRES_SECRET_REF
description: "Gitlab Postgres Password Secret Ref"
path: "global.psql.password.secret"
default: "gitlab.gitlab.pg-cluster.credentials.postgresql.acid.zalan.do"
- name: POSTGRES_ENDPOINT
description: "Gitlab Postgres endpoint"
path: "global.psql.host"
default: "pg-cluster.postgres.svc.cluster.local"
- name: REDIS_ENDPOINT
description: "Gitlab Redis endpoint"
path: "global.redis.host"
default: "redis-master.dev-redis.svc.cluster.local"
- name: REDIS_SCHEME
description: "Gitlab Redis SCHEME"
path: "global.redis.scheme"
default: "redis"
- name: gitlab-runner
repository: ghcr.io/defenseunicorns/packages/uds/gitlab-runner
ref: 17.0.0-uds.0-upstream
- name: sonarqube
repository: ghcr.io/defenseunicorns/packages/uds/sonarqube
ref: 9.9.5-uds.0-upstream
overrides:
sonarqube:
sonarqube:
variables:
- name: SONARQUBE_POSTGRES_USERNAME
description: "Sonarqube Postgres Username"
path: "jdbcOverwrite.jdbcUsername"
default: "sonarqube.sonarqube"
- name: SONARQUBE_POSTGRES_SECRET_REF
description: "Sonarqube Postgres Password Secret Ref"
path: "jdbcOverwrite.jdbcSecretName"
default: "sonarqube.sonarqube.pg-cluster.credentials.postgresql.acid.zalan.do"
- name: SONARQUBE_POSTGRES_CONNECTION_STRING
description: "Sonarqube Postgres DB Endpoint"
path: "jdbcOverwrite.jdbcUrl"
default: "jdbc:postgresql://pg-cluster.postgres.svc.cluster.local:5432/sonarqubedb"
- name: SONARQUBE_POSTGRES_ENDPOINT
description: "Sonarqube Postgres DB Endpoint"
path: "postgresql.postgresqlServer"
default: "pg-cluster.postgres.svc.cluster.local"
- name: mattermost
repository: ghcr.io/defenseunicorns/packages/uds/mattermost
ref: 9.7.2-uds.1-upstream
imports:
- name: ACCESS_KEY
package: dev-secrets
- name: SECRET_KEY
package: dev-secrets
overrides:
mattermost:
uds-mattermost-config:
variables:
- name: MATTERMOST_DB_ENDPOINT
path: "postgres.host"
default: "pg-cluster.postgres.svc.cluster.local"
- name: MATTERMOST_DB_CONNECTION_OPTIONS
path: "postgres.connectionOptions"
default: "?connect_timeout=10"
- name: MATTERMOST_DB_USERNAME
path: "postgres.username"
default: "mattermost.mattermost"
- name: MATTERMOST_OBJECT_STORAGE_SECURE
path: "objectStorage.secure"
default: "false"
- name: MATTERMOST_OBJECT_STORAGE_ENDPOINT
path: "objectStorage.endpoint"
default: "minio.dev-minio.svc.cluster.local:9000"
- name: MATTERMOST_OBJECT_STORAGE_BUCKET
path: "objectStorage.bucket"
default: "uds-mattermost-dev"
- name: MATTERMOST_RESOURCES
path: "resources"
default:
limits:
cpu: 100m
memory: 300Mi
requests:
cpu: 100m
memory: 300Mi