Skip to content

Commit

Permalink
Extract db name as an argument to value.yaml (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins authored Dec 19, 2024
1 parent 3a615c6 commit 74e3457
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/charts/yorkie-cluster/templates/yorkie/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ spec:
"server",
"--mongo-connection-uri",
"{{ .Values.yorkie.args.dbConnectionUri }}",
"--mongo-yorkie-database"
"{{ .Values.yorkie.args.dbName }}",
"--enable-pprof",
"--rpc-port",
"{{ .Values.yorkie.ports.rpcPort }}",
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 @@ -14,6 +14,7 @@ yorkie:

args:
dbConnectionUri: mongodb://mongodb.mongodb.svc.cluster.local:27017/yorkie-meta
dbName: yorkie-meta

ports:
rpcPort: 8080
Expand Down

0 comments on commit 74e3457

Please sign in to comment.