containerbuilding / cbi

Container Builder Interface for Kubernetes with support for several backends (Docker, BuildKit, Buildah, kaniko, img, Google Cloud Container Builder, Azure Container Registry Build, OpenShift Source-to-Image...)
Apache License 2.0
243 stars 18 forks source link

Error while installing #79

Open yaron2 opened 5 years ago

yaron2 commented 5 years ago

Deployed the following on AKS, 1.11.5 with RBAC: kubectl apply -f https://raw.githubusercontent.com/containerbuilding/cbi/master/cbi-latest.yaml

Response:

namespace/cbi-system created error: error validating "https://raw.githubusercontent.com/containerbuilding/cbi/master/cbi-latest.yaml": error validating data: [ValidationError(CustomResourceDefinition.status): missing required field "conditions" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus, ValidationError(CustomResourceDefinition.status): missing required field "storedVersions" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus]; if you choose to ignore these errors, turn validation off with --validate=false

yaron2 commented 5 years ago

You need to remove the status field on the CRD..

AkihiroSuda commented 5 years ago

thanks for the report!