<div dir="ltr"><div>- You can reproduce the error if you git clone my project within your $GOPATH folder </div><div>  git clone <a href="https://github.com/snowdrop/k8s-supervisor.git">https://github.com/snowdrop/k8s-supervisor.git</a> or go get ...</div><div>- Next run this command with openshift 3.10 + ASB broker running and namespace `crud` created</div><div>  go run *.go catalog create</div><div><br></div><div>Remark : minishift has been started as such -> <a href="https://goo.gl/b3mcZQ">https://goo.gl/b3mcZQ</a></div><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px"><div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Aug 27, 2018 at 6:33 PM, Charles Moulliard <span dir="ltr"><<a href="mailto:cmoullia@redhat.com" target="_blank">cmoullia@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm using golang kubernetes service catalog API to create a service instance using openshift automation service broker</div><div><br></div><div>Code to create the service [1]</div><div>To do the binding [2]</div><div><br></div><div>The service instance is well created but when I do the binding I get an error reporing that secret already exists</div><div><br></div><div><div>svcat describe bindings my-postgresql-db                                            </div><div>  Name:        my-postgresql-db                                                                                                                                                                                                                                 </div><div>  Namespace:   crud                                                                                                                                                                                                                                             </div><div>  Status:      Failed - ServiceBroker returned failure; bind operation will not be retried: Status: 400; ErrorMessage: <nil>; Description: secrets "a7c00676-4398-11e8-842f-<wbr>0ed5f89f718b" already exists; ResponseError: <nil> @ 2018-08-27 16:27:28 +0000 UTC  </div><div>  Secret:      my-postgresql-db-credentials                                                                                                                                                                                                                     </div><div>  Instance:    my-postgresql-db                                                                                                                                                                                                                                 </div><div><br></div><div>Question: What should I do to resolve the issue ?</div><div><br></div><div>[1] <a href="https://goo.gl/36n2U4" target="_blank">https://goo.gl/36n2U4</a></div><div>[2] <a href="https://goo.gl/CzTpjP" target="_blank">https://goo.gl/CzTpjP</a></div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Charles<br></div><div><div class="m_-5872707165399535584gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px"><div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br></div></div>