diff --git a/build/charts/yorkie-cluster/templates/yorkie/deployment.yaml b/build/charts/yorkie-cluster/templates/yorkie/deployment.yaml index c95fba9ee..a07c01a10 100644 --- a/build/charts/yorkie-cluster/templates/yorkie/deployment.yaml +++ b/build/charts/yorkie-cluster/templates/yorkie/deployment.yaml @@ -39,7 +39,7 @@ spec: args: [ "server", "--mongo-connection-uri", - "mongodb://{{ .Values.yorkie.args.dbUrl }}:{{ .Values.yorkie.args.dbPort }}/yorkie-meta", + "{{ .Values.yorkie.args.dbConnectionUri }}", "--enable-pprof", "--rpc-port", "{{ .Values.yorkie.ports.rpcPort }}", diff --git a/build/charts/yorkie-cluster/values.yaml b/build/charts/yorkie-cluster/values.yaml index 0772fa324..29a5b4a96 100644 --- a/build/charts/yorkie-cluster/values.yaml +++ b/build/charts/yorkie-cluster/values.yaml @@ -13,8 +13,7 @@ yorkie: tag: "" args: - dbUrl: mongodb.mongodb.svc.cluster.local - dbPort: 27017 + dbConnectionUri: mongodb://mongodb.mongodb.svc.cluster.local:27017/yorkie-meta ports: rpcPort: 8080