Skip to content

Commit

Permalink
update mongo db readme when using existing secret (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
kale-amruta committed Oct 19, 2021
1 parent 0a0a42c commit 37d9246
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/stable/mongodb-deploymentconfig/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,18 @@ data operations such as backup should go. This is stored as a `profiles.cr.kanis
requires a Profile reference to complete the action. This CR (`profiles.cr.kanister.io`)
can be shared between Kanister-enabled application instances.


**NOTE:**

If MongoDB chart is installed specifying existing secret by setting parameter `--set
auth.existingSecret=<mongo-secret-name>` you will need to modify the secret name in
the blueprint `mongo-blueprint.yaml` at following places:

```bash
actions.backup.phases[0].objects.mongosecret.name: <mongo-secret-name>
actions.restore.phases[0].objects.mongosecret.name: <mongo-secret-name>
```

### Create Blueprint

Create Blueprint in the same namespace as the controller (`kanister`)
Expand Down

0 comments on commit 37d9246

Please sign in to comment.