kappnav / issues

kAppNav global issues
0 stars 0 forks source link

revert to previous version of application CRD #129

Closed cvignola closed 4 years ago

cvignola commented 4 years ago

The very latest CRD is here: https://raw.githubusercontent.com/kubernetes-sigs/application/master/config/crd/bases/app.k8s.io_applications.yaml

It added a status subresource. The status subresource causes this error:

must only have "properties", "required" or "description" at the root if the status 
subresource is enabled

This is a problem only on older kube versions. Around kube 1.12 this restriction was lifted.

So, this CRD does not work on current minishift. It works fine, however, on OCP 4.3. If you remove the subresource, it works fine on minishift.

We have no need for the status subresource in the Application CRD, so we will revert to the older version - i.e. the one we've been using since the beginning.

We'll use this version: https://raw.githubusercontent.com/kubernetes-sigs/application/v0.8.0/config/crds/app_v1beta1_application.yaml