Skip to content

Commit 88a8c1f

Browse files
onprem: 2.6.0 (#15)
1 parent 649013a commit 88a8c1f

17 files changed

+271
-284
lines changed

codefresh/.ci/runtime-images.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
set -eux
3+
MYDIR=$(dirname $0)
4+
REPO_ROOT="${MYDIR}/../.."
5+
6+
echo $REPO_ROOT
7+
8+
echo "Update value with system/root runtime images"
9+
docker run \
10+
-v "$REPO_ROOT:/codefresh" \
11+
-v $HOME/.cfconfig:/.cfconfig \
12+
-u $(id -u) \
13+
--rm \
14+
quay.io/codefresh/codefresh-shell:0.0.20 \
15+
/bin/bash /codefresh/scripts/update_re_images.sh

codefresh/.ci/values/cfapi-roles-no-rbac.yaml

Lines changed: 0 additions & 60 deletions
This file was deleted.

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

Lines changed: 0 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,105 +1,8 @@
11
seed-e2e:
22
enabled: true
33

4-
# kinda external secrets
5-
secrets:
6-
ext-mongo:
7-
enabled: true
8-
stringData:
9-
mongodb-host: cf-mongodb:27017
10-
mongodb-password: mTiXcU2wafr9
11-
mongodb-user: cfuser
12-
mongodb-root-user: root
13-
mongodb-root-password: XT9nmM8dZD
14-
ext-postgres:
15-
enabled: true
16-
stringData:
17-
postgres-hostname: cf-postgresql
18-
postgres-password: eC9arYka4ZbH
19-
postgres-user: postgres
20-
ext-redis:
21-
enabled: true
22-
stringData:
23-
redis-url: cf-redis-master
24-
redis-password: hoC9szf7NtrU
25-
ext-rabbitmq:
26-
enabled: true
27-
stringData:
28-
rabbitmq-hostname: cf-rabbitmq:5672
29-
rabbitmq-password: cVz9ZdJKYm7u
30-
rabbitmq-username: user
31-
ext-firebase:
32-
enabled: true
33-
stringData:
34-
firebase-url: "" # placeholder for ${FIRBASE_URL}
35-
firebase-secret: "" # placeholder for ${FIREBASE_SECRET}
36-
e2e-mongo-uri:
37-
enabled: true
38-
stringData:
39-
mongo-uri: mongodb://cfuser:mTiXcU2wafr9@cf-mongodb:27017/codefresh
40-
41-
seed:
42-
mongoSeedJob:
43-
mongodbRootUserSecretKeyRef:
44-
name: cf-codefresh-ext-mongo
45-
key: mongodb-root-user
46-
mongodbRootPasswordSecretKeyRef:
47-
name: cf-codefresh-ext-mongo
48-
key: mongodb-root-password
49-
50-
postgresSeedJob:
51-
postgresUserSecretKeyRef:
52-
name: cf-codefresh-ext-postgres
53-
key: postgres-user
54-
postgresPasswordSecretKeyRef:
55-
name: cf-codefresh-ext-postgres
56-
key: postgres-password
57-
584
global:
595
appUrl: "" # placeholder
60-
firebaseUrlSecretKeyRef:
61-
name: cf-codefresh-ext-firebase
62-
key: firebase-url
63-
firebaseSecretSecretKeyRef:
64-
name: cf-codefresh-ext-firebase
65-
key: firebase-secret
66-
67-
mongodbUserSecretKeyRef:
68-
name: cf-codefresh-ext-mongo
69-
key: mongodb-user
70-
mongodbPasswordSecretKeyRef:
71-
name: cf-codefresh-ext-mongo
72-
key: mongodb-password
73-
mongodbHostSecretKeyRef:
74-
name: cf-codefresh-ext-mongo
75-
key: mongodb-host
76-
77-
postgresHostnameSecretKeyRef:
78-
name: cf-codefresh-ext-postgres
79-
key: postgres-hostname
80-
postgresPasswordSecretKeyRef:
81-
name: cf-codefresh-ext-postgres
82-
key: postgres-password
83-
postgresUserSecretKeyRef:
84-
name: cf-codefresh-ext-postgres
85-
key: postgres-user
86-
87-
rabbitmqHostnameSecretKeyRef:
88-
name: cf-codefresh-ext-rabbitmq
89-
key: rabbitmq-hostname
90-
rabbitmqPasswordSecretKeyRef:
91-
name: cf-codefresh-ext-rabbitmq
92-
key: rabbitmq-password
93-
rabbitmqUsernameSecretKeyRef:
94-
name: cf-codefresh-ext-rabbitmq
95-
key: rabbitmq-username
96-
97-
redisPasswordSecretKeyRef:
98-
name: cf-codefresh-ext-redis
99-
key: redis-password
100-
redisUrlSecretKeyRef:
101-
name: cf-codefresh-ext-redis
102-
key: redis-url
1036

1047
cfapi:
1058
rbac:
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# values to emulate external secrets
2+
secrets:
3+
ext-mongo:
4+
enabled: true
5+
stringData:
6+
mongodb-host: cf-mongodb:27017
7+
mongodb-password: mTiXcU2wafr9
8+
mongodb-user: cfuser
9+
mongodb-root-user: root
10+
mongodb-root-password: XT9nmM8dZD
11+
ext-postgres:
12+
enabled: true
13+
stringData:
14+
postgres-hostname: cf-postgresql
15+
postgres-password: eC9arYka4ZbH
16+
postgres-user: postgres
17+
ext-redis:
18+
enabled: true
19+
stringData:
20+
redis-url: cf-redis-master
21+
redis-password: hoC9szf7NtrU
22+
ext-rabbitmq:
23+
enabled: true
24+
stringData:
25+
rabbitmq-hostname: cf-rabbitmq:5672
26+
rabbitmq-password: cVz9ZdJKYm7u
27+
rabbitmq-username: user
28+
ext-firebase:
29+
enabled: true
30+
stringData:
31+
firebase-url: "" # placeholder for ${FIRBASE_URL}
32+
firebase-secret: "" # placeholder for ${FIREBASE_SECRET}
33+
e2e-mongo-uri:
34+
enabled: true
35+
stringData:
36+
mongo-uri: mongodb://cfuser:mTiXcU2wafr9@cf-mongodb:27017/codefresh
37+
38+
seed:
39+
mongoSeedJob:
40+
mongodbRootUserSecretKeyRef:
41+
name: cf-codefresh-ext-mongo
42+
key: mongodb-root-user
43+
mongodbRootPasswordSecretKeyRef:
44+
name: cf-codefresh-ext-mongo
45+
key: mongodb-root-password
46+
47+
postgresSeedJob:
48+
postgresUserSecretKeyRef:
49+
name: cf-codefresh-ext-postgres
50+
key: postgres-user
51+
postgresPasswordSecretKeyRef:
52+
name: cf-codefresh-ext-postgres
53+
key: postgres-password
54+
55+
global:
56+
firebaseUrlSecretKeyRef:
57+
name: cf-codefresh-ext-firebase
58+
key: firebase-url
59+
firebaseSecretSecretKeyRef:
60+
name: cf-codefresh-ext-firebase
61+
key: firebase-secret
62+
63+
mongodbUserSecretKeyRef:
64+
name: cf-codefresh-ext-mongo
65+
key: mongodb-user
66+
mongodbPasswordSecretKeyRef:
67+
name: cf-codefresh-ext-mongo
68+
key: mongodb-password
69+
mongodbHostSecretKeyRef:
70+
name: cf-codefresh-ext-mongo
71+
key: mongodb-host
72+
73+
postgresHostnameSecretKeyRef:
74+
name: cf-codefresh-ext-postgres
75+
key: postgres-hostname
76+
postgresPasswordSecretKeyRef:
77+
name: cf-codefresh-ext-postgres
78+
key: postgres-password
79+
postgresUserSecretKeyRef:
80+
name: cf-codefresh-ext-postgres
81+
key: postgres-user
82+
83+
rabbitmqHostnameSecretKeyRef:
84+
name: cf-codefresh-ext-rabbitmq
85+
key: rabbitmq-hostname
86+
rabbitmqPasswordSecretKeyRef:
87+
name: cf-codefresh-ext-rabbitmq
88+
key: rabbitmq-password
89+
rabbitmqUsernameSecretKeyRef:
90+
name: cf-codefresh-ext-rabbitmq
91+
key: rabbitmq-username
92+
93+
redisPasswordSecretKeyRef:
94+
name: cf-codefresh-ext-redis
95+
key: redis-password
96+
redisUrlSecretKeyRef:
97+
name: cf-codefresh-ext-redis
98+
key: redis-url

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ extraResources:
137137
kind: Service
138138
metadata:
139139
name: cf-redis
140-
namespace: codefresh-mtls
141140
spec:
142141
ports:
143142
- name: tcp-redis
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# -- checking postgresql password with special characters
2+
postgresql:
3+
auth:
4+
postgresPassword: "()e%C9ar$Yka4Zb!H"
5+
6+
global:
7+
postgresPassword: "()e%C9ar$Yka4Zb!H"
8+
9+
seed:
10+
postgresSeedJob:
11+
postgresPassword: "()e%C9ar$Yka4Zb!H"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# values provided for openshift cluster
2+
cfapi:
3+
podSecurityContext:
4+
runAsUser: 1000620000
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# -- test change passwords on upgrade
2+
global:
3+
mongodbPassword: 9rfa2UcXiTm
4+

codefresh/.ci/values/values-upgrade.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)