We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ee257a commit 5d5b595Copy full SHA for 5d5b595
1 file changed
helm-chart/templates/paperdebugger.yaml
@@ -76,6 +76,8 @@ data:
76
INFERENCE_BASE_URL: "{{ .Values.inference_base_url }}"
77
INFERENCE_API_KEY: "{{ .Values.inference_api_key }}"
78
JWT_SIGNING_KEY: "{{ .Values.jwt_signing_key }}"
79
- {{ if not .Values.mongo.in_cluster }}
+ {{- if .Values.mongo.in_cluster }}
80
+ PD_MONGO_URI: "mongodb://mongo.{{ .Values.namespace }}.svc.cluster.local:27017/?replicaSet=in-cluster"
81
+ {{- else }}
82
PD_MONGO_URI: "{{ .Values.mongo.uri }}"
- {{ end }}
83
+ {{- end }}
0 commit comments