Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9b43a3a

Browse files
authored
Update codefresh-on-prem.md (#352)
Added note on removing Mongo DB lines from config yaml if upgrading from previous versions
1 parent237bb4c commit9b43a3a

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

‎_docs/administration/codefresh-on-prem.md‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ Codefresh will need an outbound connection to the Internet for the following ser
4949

5050
- GCR - pulling platform images
5151
- 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+
5259
5360
## Security Constraints
5461
@@ -594,6 +601,7 @@ All the configuration comes down to putting a set of correct values into your Co
594601
4. Specify `global.postgresHostname` and optionally `global.postgresPort` (`5432` is a default value).
595602
5. Disable the postgres subchart installation with the `postgresql.enabled:false` value, because it is not needed in this case.
596603

604+
597605
Below is an example of the relevant piece of `config.yaml`:
598606

599607
```yaml
@@ -610,7 +618,6 @@ global:
610618
postgresql:
611619
enabled: false
612620
```
613-
614621
#### Running the seed job manually
615622

616623
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:
645652
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
646653

647654
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+
```
648661

649662
- **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
650663
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.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp