File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
setup/cmd/kots-field-labs Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,15 +81,15 @@ get_api_token () {
8181 password=$( get_password)
8282 login=$( jq -n -c --arg email " ${INSTRUQT_PARTICIPANT_ID} @replicated-labs.com" --arg password " ${password} " ' $ARGS.named' )
8383 set +eu pipefail
84- token=$( curl -s -H " Content-Type: application/json" --request POST -d " $login " https://id .replicated.com/v1/login | jq -r " .token" )
84+ token=$( curl -s -H " Content-Type: application/json" --request POST -d " $login " https://api .replicated.com/vendor /v1/login | jq -r " .token" )
8585 set -eu pipefail
8686
8787 i=0
8888 while [[ ( -z " $token " || " $token " == " null" ) && $i -lt 20 ]]
8989 do
9090 sleep $(( i* 5 ))
9191 set +eu pipefail
92- token=$( curl -s -H " Content-Type: application/json" --request POST -d " $login " https://id .replicated.com/v1/login | jq -r " .token" )
92+ token=$( curl -s -H " Content-Type: application/json" --request POST -d " $login " https://api .replicated.com/vendor /v1/login | jq -r " .token" )
9393 set -eu pipefail
9494 i=$(( i+ 1 ))
9595 done
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ func HandleRequest(event fieldlabs.LambdaEvent) error {
4040 APIOrigin : "https://api.replicated.com/vendor" ,
4141 GraphQLOrigin : "https://g.replicated.com/graphql" ,
4242 KURLSHOrigin : "https://kurl.sh" ,
43- IDOrigin : "https://id .replicated.com" ,
43+ IDOrigin : "https://api .replicated.com/vendor " ,
4444 }
4545
4646 action , ok := actions [event .Action ]
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ func GetParams() (*fieldlabs.Params, error) {
6060 params .KURLSHOrigin = "https://kurl.sh"
6161 }
6262 if params .IDOrigin == "" {
63- params .IDOrigin = "https://id .replicated.com"
63+ params .IDOrigin = "https://api .replicated.com/vendor "
6464 }
6565
6666 actionString := os .Getenv ("REPLICATED_ACTION" )
You can’t perform that action at this time.
0 commit comments