<p>Our docker images are pushed to nexus which is hosted on another gcp machine and our k8s cluster is GKE.</p>
<p>is there a way wherein we can configure nexus as a private registry for gke cluster?</p>

Sugatur Deekshith S N
<p>Other users have tried to do this and there's a known issue:</p>
<pre><code>Allow user to use 3rd party repository for GKE. Right now we got a x509 error
saying the certificate is signed by unknown authority, meaning Nexus cannot
trust a self signed certificate from GKE. To overcome that, we need to import
the root ca certificate to GKE so both party has the same root of trust, but we are stuck
because we can't import root ca to GKE master.
</code></pre>
<p>All the reproduction steps are documented in this <a href="https://issuetracker.google.com/195774978" rel="nofollow noreferrer">public thread</a></p>
<p>NOTE: This public thread is being handled currenlty as a Feature Request which means that Google Cloud is working on this to include it in future GKE versions.</p>
<p>However, I have good news, there's a <a href="https://medium.com/google-cloud/gke-and-private-registries-with-self-signed-certificates-b37b5fd1f982" rel="nofollow noreferrer">public guide</a> that seems to provide a workaround to fix the known issue.</p>
<p>I hope this information helps you to get your nexus working as a private container registry.</p>
