openanalytics/shinyproxy-operator

error applying manifests

Opened this issue · 1 comments

I get this errors applying

kustomize build . | kubectl apply -f -

unable to recognize "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "STDIN": no matches for kind "ShinyProxy" in version "openanalytics.eu/v1alpha1"

Hi

I seem to have missed this issue. The reason you get this, is that the CRD resource is not yet applied when you try to apply the other resources. The simple solution is to run the command a second time. By design there is not really a proper way to fix this using kustomize.

I hope this helps, let me know if you encounter any other issue with the operator!