Skip to content

Commit

Permalink
Add enabled condition for yorkie-mongodb subchart (#1048)
Browse files Browse the repository at this point in the history
Add capability to conditionally install MongoDB subchart in yorkie-cluster
by adding enabled flag. This allows users to skip MongoDB installation
when using external database.

---------

Co-authored-by: raararaara <[email protected]>
  • Loading branch information
hackerwins and raararaara committed Oct 22, 2024
1 parent b9873ee commit ee6fcf5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/charts/yorkie-cluster/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ dependencies:
- name: yorkie-mongodb
repository: ""
version: 0.4.13
digest: sha256:de02be0ff7ab619effa0be7ca151150552eef1098b4866a8648abcc90ca8e401
generated: "2024-10-19T23:13:22.777257+09:00"
digest: sha256:528f88fd5bbf53fde63242c9a1703d7d3eb21febf4af7fc34485b23096fcc823
generated: "2024-10-22T18:31:15.468835+09:00"
1 change: 1 addition & 0 deletions build/charts/yorkie-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ kubeVersion: ">=1.23.0-0"
dependencies:
- name: yorkie-mongodb
version: 0.4.13
condition: yorkie-mongodb.enabled

keywords:
- yorkie
Expand Down
1 change: 1 addition & 0 deletions build/charts/yorkie-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,4 @@ yorkie-mongodb:
storageClass: standard
sharded:
enabled: true
enabled: true

0 comments on commit ee6fcf5

Please sign in to comment.