<p>I'm trying to develop a custom resource on kubernetes with kubebuilder.
In this CR, I have a field of type <code>url.URL</code></p>
<p>I get this error :</p>
<pre><code>(*in).DeepCopyInto undefined (type *url.URL has no field or method DeepCopyInto)
</code></pre>
<p>Is there a way to work with type <code>url.URL</code> when developing a CR ?</p>
<p>Thanks</p>

<p>So I found a solution<br />
I don't know if it's the best but I've created a custom type URL with the part which is missing to use <code>net/url</code> with <code>controller-gen</code>.</p>
<p>It works fine
<a href="https://gist.github.com/quentinalbertone/ec00085b57992d836c08d4586295ace7" rel="nofollow noreferrer">https://gist.github.com/quentinalbertone/ec00085b57992d836c08d4586295ace7</a></p>
