diff --git a/pkg/upstream/helm.go b/pkg/upstream/helm.go index 287a723aff..e2b5c0494e 100644 --- a/pkg/upstream/helm.go +++ b/pkg/upstream/helm.go @@ -14,7 +14,6 @@ import ( "strings" "github.com/pkg/errors" - "github.com/replicatedhq/kots/pkg/buildversion" "github.com/replicatedhq/kots/pkg/kotsutil" "github.com/replicatedhq/kots/pkg/upstream/types" "gopkg.in/yaml.v3" @@ -270,7 +269,6 @@ func buildReplicatedValues(u *types.Upstream, options types.WriteOptions) (map[s replicatedValues := map[string]interface{}{ "replicatedID": options.KotsadmID, "appID": options.AppID, - "userAgent": buildversion.GetUserAgent(), "isAirgap": options.IsAirgap, } diff --git a/pkg/upstream/helm_test.go b/pkg/upstream/helm_test.go index a921624e7a..4fd2bbb0d7 100644 --- a/pkg/upstream/helm_test.go +++ b/pkg/upstream/helm_test.go @@ -378,7 +378,6 @@ some: value appID: app-id isAirgap: false replicatedID: kotsadm-id -userAgent: KOTS/v0.0.0-unknown `, }, wantErr: false, @@ -462,7 +461,6 @@ some: value appID: app-id isAirgap: true replicatedID: kotsadm-id -userAgent: KOTS/v0.0.0-unknown global: replicated: channelName: channel-name @@ -573,7 +571,6 @@ image: appID: app-id isAirgap: false replicatedID: kotsadm-id - userAgent: KOTS/v0.0.0-unknown global: replicated: licenseID: online-license-id @@ -702,7 +699,6 @@ image: signature: "" status: {} replicatedID: kotsadm-id - userAgent: KOTS/v0.0.0-unknown global: replicated: channelName: channel-name @@ -854,7 +850,6 @@ global: appID: app-id isAirgap: false replicatedID: kotsadm-id - userAgent: KOTS/v0.0.0-unknown `, chartName), "redis/charts/replicated/Chart.yaml": fmt.Sprintf(`apiVersion: v1 name: %s @@ -994,7 +989,6 @@ global: signature: "" status: {} replicatedID: kotsadm-id - userAgent: KOTS/v0.0.0-unknown `, chartName), "redis/charts/replicated/Chart.yaml": fmt.Sprintf(`apiVersion: v1 name: %s