Bug 1838623
Summary: | operator-sdk bundle validate fails when v1beta crds are present in the bundle | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | lgallett | |
Component: | Operator SDK | Assignee: | Eric Stroczynski <estroczy> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fan Jia <jfan> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.5 | CC: | aos-bugs, jesusr, marobrie | |
Target Milestone: | --- | Keywords: | UpcomingSprint | |
Target Release: | 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1838756 (view as bug list) | Environment: | ||
Last Closed: | 2020-06-10 15:39:03 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1838756 |
Description
lgallett
2020-05-21 13:03:22 UTC
test env: operator-sdk version: "v0.17.0-119-gb602297b", commit: "b602297bde0675aee04de0b3115002877ad41e07", kubernetes version: "v1.18.2", go version: "go1.13.5 linux/amd64" result: #cat deploy/crds/cache.example.com_memcacheds_crd.yaml apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: name: memcacheds.cache.example.com # operator-sdk bundle validate quay.io/jfan/memcache-operator-metadata:v0.0.1 INFO[0000] Unpacking image layers INFO[0000] running /usr/bin/docker pull quay.io/jfan/memcache-operator-metadata:v0.0.1 bundle-dir=/tmp/bundle-399307567 container-tool=docker INFO[0043] running docker save bundle-dir=/tmp/bundle-399307567 container-tool=docker INFO[0043] Found annotations file bundle-dir=/tmp/bundle-399307567 container-tool=docker INFO[0043] Could not find optional dependencies file bundle-dir=/tmp/bundle-399307567 container-tool=docker INFO[0043] All validation tests have completed successfully This has been fixed in v0.18.0 |