You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/administration/codefresh-on-prem.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,13 @@ Codefresh will need an outbound connection to the Internet for the following ser
49
49
50
50
- GCR - pulling platform images
51
51
- Dockerhub - pulling pipeline images
52
+
>If you are upgrading from the previous version, and have the following lines in`config.yaml`,*before* you upgrade, comment out or remove these lines:
53
+
```yaml
54
+
gitops-dashboard-manager:
55
+
env:
56
+
MONGO_URI:""
57
+
```
58
+
52
59
53
60
## Security Constraints
54
61
@@ -594,6 +601,7 @@ All the configuration comes down to putting a set of correct values into your Co
594
601
4. Specify `global.postgresHostname` and optionally `global.postgresPort` (`5432` is a default value).
595
602
5. Disable the postgres subchart installation with the `postgresql.enabled:false` value, because it is not needed in this case.
596
603
604
+
597
605
Below is an example of the relevant piece of `config.yaml`:
598
606
599
607
```yaml
@@ -610,7 +618,6 @@ global:
610
618
postgresql:
611
619
enabled: false
612
620
```
613
-
614
621
#### Running the seed job manually
615
622
616
623
If you would prefer running the seed job manually, you can do it by using a script present in `your/stage-dir/codefresh/addons/seed-scripts` directory named `postgres-seed.sh`. The script takes the following set of variables that you need to have set before running it:
@@ -645,6 +652,12 @@ postgresql:
645
652
Codefresh recommends to use the Bitnami MongoDB [chart](https://github.com/bitnami/charts/tree/master/bitnami/mongodb) as a Mongo database. The supported version of Mongo is 3.6.x
646
653
647
654
To configure Codefresh on-premises to use an external Mongo service one needs to provide the following values in `config.yaml`:
655
+
> If you are upgrading from the previous version, and have the following lines in `config.yaml`, *before* you upgrade, comment out or remove these lines:
656
+
```yaml
657
+
gitops-dashboard-manager:
658
+
env:
659
+
MONGO_URI: ""
660
+
```
648
661
649
662
- **mongo connection string** - `mongoURI`. This string will be used by all of the services to communicate with mongo. Codefresh will automatically create and add a user with "ReadWrite" permissions to all of the created databases with the username and password from the URI. Optionally, automatic user addition can be disabled - `mongoSkipUserCreation`, in order to use already existing user. In such a case the existing user must have **ReadWrite** permissions to all of newly created databases
650
663
Codefresh does not support [DNS Seedlist Connection Format](https://docs.mongodb.com/manual/reference/connection-string/#connections-dns-seedlist) at the moment, use the [Standard Connection Format](https://docs.mongodb.com/manual/reference/connection-string/#connections-standard-connection-string-format) instead.