# 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
