Skip to content
Snippets Groups Projects
Verified Commit 51d65a0b authored by Vincent Sellier's avatar Vincent Sellier
Browse files

graphql: Configure authentication parameters for staging and production

parent 181c9882
No related branches found
No related tags found
No related merge requests found
......@@ -20,4 +20,13 @@ data:
max_query_cost:
anonymous: {{ .Values.graphql.maxQueryCost}}
{{ if .Values.graphql.auth -}}
auth:
server: {{ .Values.graphql.auth.server | default "" }}
realm: {{ .Values.graphql.auth.realm | default "" }}
client: {{ .Values.graphql.auth.client | default "swh-web" }}
cache:
url: {{ .Values.graphql.auth.cacheUrl | default "memory://" }}
{{- end }}
{{ end }}
......@@ -34,7 +34,13 @@ graphql:
# search:
# host: http://my-search
# port: 5010
auth:
# More information in https://gitlab.softwareheritage.org/swh/devel/swh-auth/-/blob/master/README.rst
# server: https://auth.backend.url/
#realm: MyAuthDomain
client: swh-web
# memory:// or memcached://memcached:port
cacheUrl: memory://
# Allow to specify a specific configuration for pod's /tmp
# directory. Mostly used to configure the loaders to work
......
......@@ -19,6 +19,11 @@ graphql:
threads: 4
workers: 2
timeout: 3600
auth:
server: https://auth.softwareheritage.org/auth/
realm: SoftwareHeritage
client: swh-web
cacheUrl: memcached://memcached:11211
loaders:
enabled: true
......
......@@ -433,6 +433,11 @@ graphql:
httpPath: /
host: graphql.internal.staging.swh.network
logLevel: DEBUG
auth:
server: https://auth.softwareheritage.org/auth/
realm: SoftwareHeritageStaging
client: swh-web
cacheUrl: memcached://memcached:11211
memcached:
enabled: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment