aboutsummaryrefslogtreecommitdiff
path: root/pkg/atlas/config.go
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2023-02-22 13:03:14 -0500
committerpg9182 <96569817+pg9182@users.noreply.github.com>2023-02-25 07:20:18 -0500
commitd905e4eca49f121dbd374254daa6b506d102045e (patch)
tree69c0c250d4fff5f25189be78269c3817e826cd2c /pkg/atlas/config.go
parent65515ba923039b2a4c84e34822fd7c9e4911786d (diff)
downloadAtlas-d905e4eca49f121dbd374254daa6b506d102045e.tar.gz
Atlas-d905e4eca49f121dbd374254daa6b506d102045e.zip
pkg/atlas, pkg/api/api0: Split minimum launcher version by client/server
Diffstat (limited to 'pkg/atlas/config.go')
-rw-r--r--pkg/atlas/config.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/atlas/config.go b/pkg/atlas/config.go
index e8a42c9..d519094 100644
--- a/pkg/atlas/config.go
+++ b/pkg/atlas/config.go
@@ -106,6 +106,16 @@ type Config struct {
// allowed.
API0_MinimumLauncherVersion string `env:"ATLAS_API0_MINIMUM_LAUNCHER_VERSION"`
+ // Minimum launcher semver to allow for authenticated clients, replacing
+ // ATLAS_API0_MINIMUM_LAUNCHER_VERSION. Dev versions are always allowed. If
+ // not provided, API0_MinimumLauncherVersion is used.
+ API0_MinimumLauncherVersionClient string `env:"ATLAS_API0_MINIMUM_LAUNCHER_VERSION_CLIENT"`
+
+ // Minimum launcher semver to allow for servers, replacing
+ // ATLAS_API0_MINIMUM_LAUNCHER_VERSION. Dev versions are always allowed. If
+ // not provided, API0_MinimumLauncherVersion is used.
+ API0_MinimumLauncherVersionServer string `env:"ATLAS_API0_MINIMUM_LAUNCHER_VERSION_SERVER"`
+
// Region mapping to use for server list. If set to an empty string or
// "none", region maps are disabled. Options: none, default.
API0_RegionMap string `env:"ATLAS_API0_REGION_MAP?=default"`