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

upd onprem mongo mtls doc#366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mikhail-klimko merged 1 commit intomasterfromCR-7645
Jan 31, 2022
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 24 additions & 8 deletions_docs/administration/codefresh-on-prem.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -681,27 +681,43 @@ mongo:

#### MongoDB with Mutual TLS

Codefresh supports enabling SSL/TLS between cf microservices and MongoDB. To enable this option specify in `config.yaml` the following parameters: <br />
>The option available in kcfi **v0.5.10**

Codefresh supports enabling SSL/TLS between cf microservices and MongoDB. To enable this option specify in `config.yaml` the following parameters:

`global.mongoTLS: true` <br />
`global.mongoCaCert` - CA certificate(base64 encoded) <br />
`global.mongoCaKey` - CA certificate private key(base64 encoded)
`global.mongoCaCert` - CA certificatefile path (in kcfi init directory) <br />
`global.mongoCaKey` - CA certificate private keyfile path (in kcfi init directory)

`config.yaml` example:
```yaml
global:
mongodbRootUser:<MONGO_ROOT_USER>
mongodbRootPassword:<MONGO_ROOT_PASSWORD>
mongoURI:<MONGO_URI>
mongodbRootUser:root
mongodbRootPassword:WOIqcSwr0y
mongoURI:mongodb+srv://cfuser:mTiXcU2wafr9@my-mongodb.prod.svc.cluster.local
mongoSkipUserCreation: true
mongoDeploy: false # disables deployment of internal mongo service

mongoTLS: true #enable MongoDB TLS support
mongoCaCert: "LS0tLS1CRUdJTiBD..." #CA certificate (base64 encoded)
mongoCaKey: "LS0tLS1CRUdJTiBS..." #CA certificate private key (base64 encoded)
mongoCaCert: mongodb-ca/ca-cert.pem
mongoCaKey: mongodb-ca/ca-key.pem

### for OfflineLogging feature
runtimeMongoURI: mongodb+srv://cfuser:mTiXcU2wafr9@my-mongodb.prod.svc.cluster.local

### for OfflineLogging feature
cfapi:
env:
RUNTIME_MONGO_TLS: "true"
RUNTIME_MONGO_TLS_VALIDATE: "true" # 'false' if self-signed certificate to avoid x509 errors

mongo:
enabled: false #disable default mongodb subchart installation
```

>Perform an upgarde with `--no-hooks` option: <br />
>`kcfi deploy -c config.yaml --debug --no-hooks` (WIP)

### Configure an external Redis service
Codefresh recommends to use the Bitnami Redis [chart](https://github.com/bitnami/charts/tree/master/bitnami/redis) as a Redis store.

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp