Duplicate key "version" in CRD
Closed this issue · 0 comments
thiagoalessio commented
version: v1alpha1
is defined twice, in https://github.com/openshift/cluster-nfd-operator/blob/release-4.5/manifests/olm-catalog/4.5/nfd.crd.yaml#L13 and https://github.com/openshift/cluster-nfd-operator/blob/release-4.5/manifests/olm-catalog/4.5/nfd.crd.yaml#L38 which is failing validation in brew.
Image build failed. Error in plugin orchestrate_build: {"x86_64": {"pin_operator_digest": "while constructing a mapping\n in \"/tmp/tmpXBzS7p/cluster-nfd-operator-bundle/manifests/nfd.crd.yaml\", line 6, column 3\nfound duplicate key \"version\" with value \"v1alpha1\" (original value: \"v1alpha1\")\n in \"/tmp/tmpXBzS7p/cluster-nfd-operator-bundle/manifests/nfd.crd.yaml\", line 38, column 3\n\nTo suppress this check see:\n http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys\n\nDuplicate keys will become and error in future releases, and are errors\nby default when using the new API.\n"}}. OSBS build id: cluster-nfd-operator-bundle-rhaos-45-rhel-7-7ffff-4
Failed brew build: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=28602159