Skip to content

Commit 6ad2c0e

Browse files
authored
Merge pull request #8 from LearnWithHomer/DEV-792_cleanup_and_docs
Dev 792 cleanup and docs
2 parents 8a88826 + 9d2910b commit 6ad2c0e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Jenkinsfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@ pipeline {
3737
full_image_name = "${homer_image_name}:${tag}"
3838
}
3939
cluster = params.cluster
40-
namespace = params.namespace
40+
/* in production the 'content-v1' namespace is named 'squidex',
41+
so we are overriding it here */
42+
if (params.namespace == 'content-v1' && cluster == 'production') {
43+
namespace = 'squidex'
44+
} else {
45+
namespace = params.namespace
46+
}
4147
helm_data_file = "${cluster}/${namespace}.yaml"
4248
}
4349
}

k8s/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ spec:
4444
- containerPort: 80
4545
env:
4646
# The following can be set to create an admin user
47+
- name: ASSETS__DEFAULTPAGESIZE
48+
value: '400'
4749
- name: CONTENTS__DEFAULTPAGESIZE
4850
value: '400'
4951
- name: IDENTITY__ADMINRECREATE

0 commit comments

Comments
 (0)