diff --git a/swh/templates/graphql/configmap.yaml b/swh/templates/graphql/configmap.yaml --- a/swh/templates/graphql/configmap.yaml +++ b/swh/templates/graphql/configmap.yaml @@ -9,7 +9,10 @@ config.yml: | storage: cls: remote - url: {{ .Values.graphql.storageUrl }} + url: http://{{ .Values.graphql.storage.host }}:{{ .Values.graphql.storage.port }} + search: + cls: remote + url: http://{{ .Values.graphql.search.host }}:{{ .Values.graphql.search.port }} debug: yes diff --git a/swh/values/staging.yaml b/swh/values/staging.yaml --- a/swh/values/staging.yaml +++ b/swh/values/staging.yaml @@ -86,7 +86,12 @@ graphql: enabled: true - storageUrl: http://webapp.internal.staging.swh.network:5002/ + storage: + host: webapp.internal.staging.swh.network + port: 5002 + search: + host: search0.internal.staging.swh.network + port: 5010 replicas: 1 gunicorn: threads: 4