cloud-ark / kubeplus

Kubernetes Operator for multi-instance multi-tenancy
https://cloudark.io/
Apache License 2.0
662 stars 82 forks source link

Extract ResourceComposition and other Resource CRDs in the crds directory in kubeplus chart #1338

Closed devdattakulkarni closed 3 months ago

devdattakulkarni commented 3 months ago

Currently, ResourceComposition, ResourceMonitor, ResourcePolicy, and ResourceEvents are defined inside KubePlus chart's templates folder: https://github.com/cloud-ark/kubeplus/blob/master/deploy/kubeplus-chart/templates/kubeplus-non-pod-resources.yaml

We should extract this in the "crds" folder in the KubePlus chart.

This will ensure that resourcecomposition instances are not deleted when KubePlus is upgraded. This will ensure that any application CRDs and their application instances are not deleted when KubePlus is upgraded.