Skip to content

Commit

Permalink
Changed properties username and password as optional.
Browse files Browse the repository at this point in the history
A Mongodb server can be configured without authentication, for example for testing purposes.
  • Loading branch information
valdar authored and oscerd committed Sep 6, 2021
1 parent e89adee commit bdb2eee
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mongodb-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ spec:
required:
- hosts
- collection
- password
- username
- database
type: object
properties:
Expand Down Expand Up @@ -96,7 +94,7 @@ spec:
writeConcern: "{{?writeConcern}}"
hosts: "{{hosts}}"
collection: "{{collection}}"
password: "{{password}}"
username: "{{username}}"
password: "{{?password}}"
username: "{{?username}}"
database: "{{database}}"
operation: "insert"

0 comments on commit bdb2eee

Please sign in to comment.