Skip to content

Commit cf577e6

Browse files
onprem: 2.2.0-rc.0 pre-release (#1185)
1 parent 9388287 commit cf577e6

File tree

17 files changed

+1553
-222
lines changed

17 files changed

+1553
-222
lines changed

codefresh/.ci/values/defaults-hpa.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ global:
104104
cfapi:
105105
hpa:
106106
enabled: true
107+
resources:
108+
requests:
109+
cpu: 300m
110+
memory: 1024Mi
107111

108112
ingress:
109113
enabled: true
@@ -126,6 +130,10 @@ argo-platform:
126130
api-graphql:
127131
hpa:
128132
enabled: true
133+
resources:
134+
requests:
135+
cpu: 300m
136+
memory: 1024Mi
129137

130138
cron-executor:
131139
hpa:
@@ -134,6 +142,10 @@ argo-platform:
134142
event-handler:
135143
hpa:
136144
enabled: true
145+
resources:
146+
requests:
147+
cpu: 300m
148+
memory: 1024Mi
137149

138150
ui:
139151
hpa:

codefresh/.ci/values/infra-ha.yaml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
seed-e2e:
2+
enabled: true
3+
4+
seed:
5+
mongoSeedJob:
6+
mongodbRootURI: mongodb://root:XT9nmM8dZD@cf-mongodb-0,cf-mongodb-1,cf-mongodb-2:27017/?authSource=admin&replicaSet=rs0&retryWrites=true
7+
8+
secrets:
9+
# default mongouri conn string for e2e
10+
e2e-mongo-uri:
11+
enabled: true
12+
stringData:
13+
mongo-uri: "mongodb://cfuser:mTiXcU2wafr9@cf-mongodb-0,cf-mongodb-1,cf-mongodb-2:27017/codefresh?replicaSet=rs0&retryWrites=true"
14+
15+
ingress:
16+
enabled: true
17+
tls:
18+
enabled: true
19+
cert: "" # placeholder for ${WEB_TLS_CERT}
20+
key: "" # placeholder for ${WEB_TLS_KEY}
21+
22+
global:
23+
appUrl: "" # placeholder for ${CF_APP_HOST}
24+
firebaseSecret: "" # placeholder for ${FIREBASE_SECRET}
25+
26+
postgresService: postgresql-ha-pgpool
27+
mongodbHost: cf-mongodb-0,cf-mongodb-1,cf-mongodb-2
28+
mongodbOptions: replicaSet=rs0&retryWrites=true
29+
redisUrl: cf-redis-ha-haproxy
30+
31+
postgresql-ha:
32+
enabled: true
33+
volumePermissions:
34+
enabled: true
35+
36+
postgresql:
37+
enabled: false
38+
39+
mongodb:
40+
architecture: replicaset
41+
replicaCount: 3
42+
externalAccess:
43+
enabled: true
44+
service:
45+
type: ClusterIP
46+
47+
rabbitmq:
48+
replicaCount: 3
49+
50+
redis:
51+
enabled: false
52+
53+
redis-ha:
54+
enabled: true
55+
56+
consul:
57+
replicaCount: 3
58+
59+
nats:
60+
replicaCount: 3
61+
62+
builder:
63+
controller:
64+
replicas: 3
65+
66+
cfsign:
67+
controller:
68+
replicas: 3
69+
persistence:
70+
certs-data:
71+
enabled: false
72+
volumes:
73+
certs-data:
74+
type: emptyDir
75+
initContainers:
76+
volume-permissions:
77+
enabled: false
78+
79+
cfapi:
80+
hpa:
81+
enabled: true
82+
resources:
83+
requests:
84+
cpu: 300m
85+
memory: 1024Mi

codefresh/.ci/values/mtls-mongodb-redis.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
seed:
22
mongoSeedJob:
3-
mongodbRootURI: mongodb://root:XT9nmM8dZD@cf-mongodb:27017/?authSource=admin
3+
mongodbRootURI: mongodb://root:XT9nmM8dZDZ@cf-mongodb:27017/?authSource=admin
44

55
global:
66
appUrl: "" # placeholder for ${CF_APP_HOST}
77
firebaseSecret: "" # placeholder for ${FIREBASE_SECRET}
88

99
mongoURI: "mongodb://cf-mongodb:27017/?ssl=true&authMechanism=MONGODB-X509&authSource=$external"
10-
1110
redisUrl: cf-redis-master.codefresh.svc.cluster.local
11+
postgresPort: 6432
1212

1313
volumes:
1414
mongodb-tls:
@@ -55,13 +55,17 @@ ingress:
5555
key: "" # placeholder for ${WEB_TLS_KEY}
5656

5757
mongodb:
58+
auth:
59+
enabled: true
60+
rootUser: root
61+
rootPassword: "XT9nmM8dZDZ"
5862
initdbScripts:
5963
my_init_script.sh: |
6064
#!/bin/bash
6165
6266
set -eou xtrace
6367
64-
export MONGODB_ROOT_URI=mongodb://root:XT9nmM8dZD@127.0.0.1/?authSource=admin
68+
export MONGODB_ROOT_URI=mongodb://root:XT9nmM8dZDZ@127.0.0.1/?authSource=admin
6569
MONGODB_DATABASES=(
6670
"archive"
6771
"audit"
@@ -110,6 +114,14 @@ redis:
110114
autoGenerated: true
111115
authClients: true
112116

117+
postgresql:
118+
containerPorts:
119+
postgresql: 6432
120+
primary:
121+
service:
122+
ports:
123+
postgresql: 6432
124+
113125
secrets:
114126
mongodb-tls:
115127
enabled: true

codefresh/.ci/values/upgrade.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ingress:
2+
enabled: true
3+
tls:
4+
enabled: true
5+
cert: "" # placeholder for ${WEB_TLS_CERT}
6+
key: "" # placeholder for ${WEB_TLS_KEY}

0 commit comments

Comments
 (0)