diff --git a/pkg/apis/k0s/v1beta1/extensions.go b/pkg/apis/k0s/v1beta1/extensions.go index 855adfdf44f0..ab43079aa962 100644 --- a/pkg/apis/k0s/v1beta1/extensions.go +++ b/pkg/apis/k0s/v1beta1/extensions.go @@ -181,12 +181,6 @@ type Repository struct { Password string `json:"password,omitempty"` } -func (r *Repository) IsInsecure() bool { - // This defaults to true when not explicitly set to false. - // Better have this the other way round in the next API version. - return r == nil || r.Insecure == nil || *r.Insecure -} - // Validate performs validation func (r *Repository) Validate() error { if r.Name == "" {