uplink, satellite: use bgp hostnames
Change-Id: I58f5011d3019f8267fa8cbd3096b2cfe42eb5f8b
This commit is contained in:
parent
bfad64a6f0
commit
5fb9ee3cfa
@ -27,7 +27,7 @@ func newCmdAccessRegister(ex ulext.External) *cmdAccessRegister {
|
||||
}
|
||||
|
||||
func (c *cmdAccessRegister) Setup(params clingy.Parameters) {
|
||||
c.authService = params.Flag("auth-service", "The address to the service you wish to register your access with", "auth.us1.storjshare.io:7777").(string)
|
||||
c.authService = params.Flag("auth-service", "The address to the service you wish to register your access with", "auth.storjshare.io:7777").(string)
|
||||
c.caCert = params.Flag("ca-cert", "path to a file in PEM format with certificate(s) or certificate chain(s) to validate the auth service against", "").(string)
|
||||
c.public = params.Flag("public", "If true, the access will be public", false, clingy.Transform(strconv.ParseBool)).(bool)
|
||||
c.format = params.Flag("format", "Format of the output credentials, use 'env' or 'aws' when using in scripts", "").(string)
|
||||
|
@ -32,7 +32,7 @@ func newCmdAccessSetup(ex ulext.External) *cmdAccessSetup {
|
||||
}
|
||||
|
||||
func (c *cmdAccessSetup) Setup(params clingy.Parameters) {
|
||||
c.authService = params.Flag("auth-service", "If generating backwards-compatible S3 Gateway credentials, use this auth service", "https://auth.us1.storjshare.io").(string)
|
||||
c.authService = params.Flag("auth-service", "If generating backwards-compatible S3 Gateway credentials, use this auth service", "https://auth.storjshare.io").(string)
|
||||
}
|
||||
|
||||
func (c *cmdAccessSetup) Execute(ctx clingy.Context) (err error) {
|
||||
|
@ -46,7 +46,7 @@ func (c *cmdShare) Setup(params clingy.Parameters) {
|
||||
params.Break()
|
||||
|
||||
c.exportTo = params.Flag("export-to", "Path to export the shared access to", "").(string)
|
||||
c.baseURL = params.Flag("base-url", "The base url for link sharing", "https://link.us1.storjshare.io").(string)
|
||||
c.baseURL = params.Flag("base-url", "The base url for link sharing", "https://link.storjshare.io").(string)
|
||||
c.register = params.Flag("register", "If true, creates and registers access grant", false,
|
||||
clingy.Transform(strconv.ParseBool), clingy.Boolean,
|
||||
).(bool)
|
||||
@ -54,7 +54,7 @@ func (c *cmdShare) Setup(params clingy.Parameters) {
|
||||
clingy.Transform(strconv.ParseBool), clingy.Boolean,
|
||||
).(bool)
|
||||
c.dns = params.Flag("dns", "Specify your custom hostname. if set, returns dns settings for web hosting. implies --register and --public", "").(string)
|
||||
c.authService = params.Flag("auth-service", "URL for shared auth service", "https://auth.us1.storjshare.io").(string)
|
||||
c.authService = params.Flag("auth-service", "URL for shared auth service", "https://auth.storjshare.io").(string)
|
||||
c.public = params.Flag("public", "If true, the access will be public. --dns and --url override this", false,
|
||||
clingy.Transform(strconv.ParseBool), clingy.Boolean,
|
||||
).(bool)
|
||||
|
@ -81,7 +81,7 @@ type Config struct {
|
||||
PartneredSatellites SatList `help:"names and addresses of partnered satellites in JSON list format" default:"[[\"US1\",\"https://us1.storj.io\"],[\"EU1\",\"https://eu1.storj.io\"],[\"AP1\",\"https://ap1.storj.io\"]]"`
|
||||
GeneralRequestURL string `help:"url link to general request page" default:"https://supportdcs.storj.io/hc/en-us/requests/new?ticket_form_id=360000379291"`
|
||||
ProjectLimitsIncreaseRequestURL string `help:"url link to project limit increase request page" default:"https://supportdcs.storj.io/hc/en-us/requests/new?ticket_form_id=360000683212"`
|
||||
GatewayCredentialsRequestURL string `help:"url link for gateway credentials requests" default:"https://auth.us1.storjshare.io" devDefault:""`
|
||||
GatewayCredentialsRequestURL string `help:"url link for gateway credentials requests" default:"https://auth.storjshare.io" devDefault:""`
|
||||
IsBetaSatellite bool `help:"indicates if satellite is in beta" default:"false"`
|
||||
BetaSatelliteFeedbackURL string `help:"url link for for beta satellite feedback" default:""`
|
||||
BetaSatelliteSupportURL string `help:"url link for for beta satellite support" default:""`
|
||||
@ -90,7 +90,7 @@ type Config struct {
|
||||
CouponCodeSignupUIEnabled bool `help:"indicates if user is allowed to add coupon codes to account from signup" default:"false"`
|
||||
FileBrowserFlowDisabled bool `help:"indicates if file browser flow is disabled" default:"false"`
|
||||
CSPEnabled bool `help:"indicates if Content Security Policy is enabled" devDefault:"false" releaseDefault:"true"`
|
||||
LinksharingURL string `help:"url link for linksharing requests" default:"https://link.us1.storjshare.io" devDefault:""`
|
||||
LinksharingURL string `help:"url link for linksharing requests" default:"https://link.storjshare.io" devDefault:""`
|
||||
PathwayOverviewEnabled bool `help:"indicates if the overview onboarding step should render with pathways" default:"true"`
|
||||
NewProjectDashboard bool `help:"indicates if new project dashboard should be used" default:"false"`
|
||||
NewNavigation bool `help:"indicates if new navigation structure should be rendered" default:"true"`
|
||||
|
4
scripts/testdata/satellite-config.yaml.lock
vendored
4
scripts/testdata/satellite-config.yaml.lock
vendored
@ -200,7 +200,7 @@ compensation.withheld-percents: 75,75,75,50,50,50,25,25,25,0,0,0,0,0,0
|
||||
# console.frame-ancestors: tardigrade.io storj.io
|
||||
|
||||
# url link for gateway credentials requests
|
||||
# console.gateway-credentials-request-url: https://auth.us1.storjshare.io
|
||||
# console.gateway-credentials-request-url: https://auth.storjshare.io
|
||||
|
||||
# url link to general request page
|
||||
# console.general-request-url: https://supportdcs.storj.io/hc/en-us/requests/new?ticket_form_id=360000379291
|
||||
@ -230,7 +230,7 @@ compensation.withheld-percents: 75,75,75,50,50,50,25,25,25,0,0,0,0,0,0
|
||||
# console.let-us-know-url: https://storjlabs.atlassian.net/servicedesk/customer/portals
|
||||
|
||||
# url link for linksharing requests
|
||||
# console.linksharing-url: https://link.us1.storjshare.io
|
||||
# console.linksharing-url: https://link.storjshare.io
|
||||
|
||||
# number of times user can try to login without penalty
|
||||
# console.login-attempts-without-penalty: 3
|
||||
|
Loading…
Reference in New Issue
Block a user