Since there can be only one version that needs to be stored and storage option is required else the parsing fails. Adding the storage option and setting it false.
Schema Vaildation fails with error: error validating data: ValidationError(CustomResourceDefinition.spec.versions[1]): missing
required field "storage" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion; if you choose to
ignore these errors, turn validation off with --validate=false
* Modified the NOTE for Kubectl Subresource Support.
Improvement: Removed word tool.
Typo fix.
* Added task for patch the deployment using subresource flag.
* Updated the content.
* Updated the link for kubectl patch.
* Resolved nits.
* Improvement: updated the content.
* Removed new deployment and used existing deployment manifests.
Current documentation simply suggest
"Remove v1beta1 from the CustomResourceDefinition
status.storedVersions field."
but this cannot be done just with kubectl and
it's not so intuitive.
Adding an example to make it more clear.
Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>