File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -686,12 +686,11 @@ spec:
686686 image : ghcr.io/splunk/online-boutique/rumloadgen:5.6
687687 imagePullPolicy : Always
688688 env :
689- - name : NODE_IP
690- value : " api-gateway-external"
691- - name : RUM_PROTOCOL
692- value : " http"
693- - name : RUM_PORT
694- value : " 81"
689+ - name : RUM_FRONTEND_IP
690+ valueFrom :
691+ secretKeyRef :
692+ name : workshop-secret
693+ key : url
695694 volumeMounts :
696695 - name : puppeteer
697696 subPath : local-file
@@ -737,7 +736,7 @@ data:
737736 const context = await browser.createBrowserContext();
738737 const page = await context.newPage();
739738 await page.setUserAgent('Mozilla/5.0 (X11; Linux x86_64; Splunk RUMLoadGen) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.7339.133 Safari/537.36')
740- const urls= ["http://"+ process.env.NODE_IP +":81 /#!/welcome"];
739+ const urls= [process.env.RUM_FRONTEND_IP + " /#!/welcome"];
741740 const timeout = 30000;
742741 for (const element of urls) {
743742 const url = element;
You can’t perform that action at this time.
0 commit comments