-
Notifications
You must be signed in to change notification settings - Fork 109
CSV keeps pending due to "CSV missing minimum kube version specification" #43
Comments
|
Hi @gyliu513, I just would like to share with you that I am waiting for we are able to merge the PR operator-framework/operator-sdk#1162 because then we can update the CSV example easily. This file shows outdated. If you wish to check some examples to see how it works, I'd recommend giving a look in the files used by the opers which are published in the https://operatorhub.io/ https://github.com/operator-framework/community-operators/tree/master/upstream-community-operators. |
Hi @gyliu513, I have been working a PR operator-framework/operator-sdk#2095 in order to try to make clear that this field is required and avoid the msg that the min Kube version is missing. I remember that I said it in other OLM/CSV issue raised by you and give some examples, however, it is important to highlight, that the issues faced are because the example is outdated and not exactly the min Kube version. |
Thanks @camilamacedo86 , got it. Any latest example that I can try? |
HI @gyliu513, My proposal to this doc to try to make what/how is required to do more understandable and easier is in the PR #57. It is essential to highlight that it is just an idea/suggestion and needs the consent of the others too, however, you are free to check. So, please let me know if this PR help you have a better understanding and get it done. See that new links/examples are associated with it as well. Note that to check it I'd suggested to you follow up all using the SDK version v0.11.0. Currently, the SDK can help you integrate your project with OLM by generating the CSV file, but it needs to be updated as described there. Then, it is required to create the OLM bundle and follow its steps to test the project locally. The project has some PRs and proposals for improvements in these areas well. See, for example, operator-framework/operator-sdk#1162 (which may help you to generate the file) and operator-framework/operator-sdk#1913. I hope that it helps you with. |
HI @gyliu513, In order to help you with. See a PR to upgrade the Memcached sample to use SDK 0.11. Also, if you wish to try to use operator-framework/operator-sdk#1162 to generate the CSV file in your projects, the see here my personal project which I used this PR to do the file. May it helps you check how to use the metadatas in the type to do that. This project is available in the operatorHub and you can check/test/use it as well if you wish. |
@camilamacedo86 I will do some test for this. Thanks! |
Hi @gyliu513, I'd like to share that since the minKubeVersion is not a requirement for the project works in the OLM we raised an issue for it be fixed/changed. See operator-framework/operator-lifecycle-manager#1093 which is solved now. Thank you for raising it. |
Hi @gyliu513, The OLM steps in the Getting Started as its example was updated in the #57 in order to address this issue as well as we could address the change/fix regards the minKubeVersion to make it more clear in the OLM project as well.(See operator-framework/operator-lifecycle-manager#1093) In this way, I am closing this task. However, please, feel free to re-open if you see that still required. |
I followed the document at https://github.com/operator-framework/getting-started/blob/master/README.md#deploy-the-operator to deploy the CSV, but the CSV keeps pending due to following errors of
CSV missing minimum kube version specification
.The text was updated successfully, but these errors were encountered: