-
Notifications
You must be signed in to change notification settings - Fork 125
/
Copy pathconfig-file.ConfigMap.yaml
26 lines (25 loc) · 1.13 KB
/
config-file.ConfigMap.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# TODO(slimsag): After 3.0 (NOT 3.0-preview), we can remove this. It is
# left here now so that users upgrading to 3.0 will leave it here so
# that the DB will be populated with their old site config file
# (i.e. for migration). This means that for now we have two sources of
# truth for the 'default' cluster configuration: The config-map in this
# repository and the confdefaults.Cluster variable in our main repo.
apiVersion: v1
data:
config.json: |-
{
// Publicly accessible URL to web app (e.g., what you type into your browser).
"externalURL": "http://localhost:3080",
// The authentication provider to use for identifying and signing in users. Only one entry is supported.
//
// The builtin auth provider with signup disallowed (shown below) means that after the initial site admin signs in, all other users must be invited.
//
// Other providers are documented here:
// https://about.sourcegraph.com/docs/config/site#authproviders-array
"auth.providers": [{"type": "builtin", "allowSignup": false}]
}
kind: ConfigMap
metadata:
labels:
deploy: sourcegraph
name: config-file