Kanister CRDs should be distributed with helm chart #1232
Replies: 4 comments
-
@pavannd1 I was thinking if we should have an environment variable to figure out if the CRDs should be created using kanister controller or not. If we run kanister independently we would set that to false, otherwise (if kanister is being consumed by other projects) true. |
Beta Was this translation helpful? Give feedback.
-
Any thoughts on how we would keep the generated vs. helm CRDs in-sync? |
Beta Was this translation helpful? Give feedback.
-
thats a good point @ihcsim, immediate thought that I have is having symlinks between the two. We would have the main ones in helm template. |
Beta Was this translation helpful? Give feedback.
-
I have raised a PR, closing the discussion. |
Beta Was this translation helpful? Give feedback.
-
Kanister CRDs right now are distributed with kanister controller code and not the helm chart. Ideally we should try to distribute them with helm chart.
In some scenarios people were not able to upgrade to newer version because they didn't want to give kanister access to manage CRDs and because of that upgrade to recent version failed.
Beta Was this translation helpful? Give feedback.
All reactions