File tree Expand file tree Collapse file tree 5 files changed +1
-14
lines changed Expand file tree Collapse file tree 5 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -119,13 +119,6 @@ jobs:
119119 exit 1
120120 fi
121121
122- output=$(helm template oci://ttl.sh/automated-${{ github.run_id }}/replicated --version 0.0.0 --set userAgent=test-user-agent)
123-
124- if ! echo $output | grep -q 'value: "test-user-agent"'; then
125- printf "user-set userAgent should exist:\n\n%s\n\n" "$output"
126- exit 1
127- fi
128-
129122 cat << EOF > test-values.yaml
130123 extraEnv:
131124 - name: TEST_EXTRA_ENV
Original file line number Diff line number Diff line change 8989 name : {{ include "replicated.secretName" . }}
9090 key : integration-license-id
9191 {{- end }}
92- - name : REPLICATED_USER_AGENT
93- value : {{ .Values.userAgent | default "" | quote }}
9492 ports :
9593 - containerPort : 3000
9694 name : http
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ integration:
5353
5454isAirgap: false
5555
56- userAgent: ""
5756replicatedID: ""
5857appID: ""
5958
Original file line number Diff line number Diff line change 3333 value: '2050-01-01T01:23:46Z'
3434 valueType: String
3535 signature: {}
36+ isNewKotsUiEnabled: true
3637 isKotsInstallEnabled: true
3738`
3839
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package buildversion
22
33import (
44 "fmt"
5- "os"
65 "runtime"
76 "time"
87)
@@ -77,8 +76,5 @@ func getGoInfo() GoInfo {
7776}
7877
7978func GetUserAgent () string {
80- if os .Getenv ("REPLICATED_USER_AGENT" ) != "" {
81- return os .Getenv ("REPLICATED_USER_AGENT" )
82- }
8379 return fmt .Sprintf ("Replicated-SDK/%s" , Version ())
8480}
You can’t perform that action at this time.
0 commit comments