diff --git a/pkg/apis/troubleshoot/v1beta2/hostcollector_shared.go b/pkg/apis/troubleshoot/v1beta2/hostcollector_shared.go index cc1f11ab8..9d17ee47a 100644 --- a/pkg/apis/troubleshoot/v1beta2/hostcollector_shared.go +++ b/pkg/apis/troubleshoot/v1beta2/hostcollector_shared.go @@ -66,11 +66,9 @@ type DiskUsage struct { type HostHTTP struct { HostCollectorMeta `json:",inline" yaml:",inline"` - Get *Get `json:"get,omitempty" yaml:"get,omitempty"` - Post *Post `json:"post,omitempty" yaml:"post,omitempty"` - Put *Put `json:"put,omitempty" yaml:"put,omitempty"` - TLS *TLSParams `json:"tls,omitempty" yaml:"tls,omitempty"` - Proxy string `json:"proxy,omitempty" yaml:"proxy,omitempty"` + Get *Get `json:"get,omitempty" yaml:"get,omitempty"` + Post *Post `json:"post,omitempty" yaml:"post,omitempty"` + Put *Put `json:"put,omitempty" yaml:"put,omitempty"` } type HostCopy struct { diff --git a/pkg/apis/troubleshoot/v1beta2/zz_generated.deepcopy.go b/pkg/apis/troubleshoot/v1beta2/zz_generated.deepcopy.go index 53022551c..6bae21ce0 100644 --- a/pkg/apis/troubleshoot/v1beta2/zz_generated.deepcopy.go +++ b/pkg/apis/troubleshoot/v1beta2/zz_generated.deepcopy.go @@ -2338,11 +2338,6 @@ func (in *HostHTTP) DeepCopyInto(out *HostHTTP) { *out = new(Put) (*in).DeepCopyInto(*out) } - if in.TLS != nil { - in, out := &in.TLS, &out.TLS - *out = new(TLSParams) - (*in).DeepCopyInto(*out) - } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostHTTP.