kyma-project / kyma

Kyma is an opinionated set of Kubernetes-based modular building blocks, including all necessary capabilities to develop and run enterprise-grade cloud-native applications.
https://kyma-project.io
Apache License 2.0
1.51k stars 405 forks source link

Helm3 support for monitoring component #8602

Closed a-thaler closed 4 years ago

a-thaler commented 4 years ago

Description Migrate the logging component to be helm3 compliant

AC:

Reasons Support for Helm3 in Kyma

Attachments

rakesh-garimella commented 4 years ago

Currently when we do helm3 uninstall then the CR created by patch are not deleted. So a helm3 install again would fail. To mitigate this we can use for now

k delete clusterrolebindings.rbac.authorization.k8s.io -n kyma-system monitoring-dns-patch  aks-kubelet-monitoring-kyma-patch
k delete clusterroles.rbac.authorization.k8s.io -n kyma-system aks-kubelet-monitoring-kyma-patch monitoring-dns-patch
k delete serviceaccounts -n kyma-system monitoring-dns-patch aks-kubelet-monitoring-kyma-patch
k delete configmaps -n kyma-system monitoring-dns-patch aks-kubelet-monitoring-kyma-patch
k delete jobs.batch -n kyma-system aks-kubelet-monitoring-kyma-patch 

Or we can have a post-delete hook need to check if this works with helm3 uninstall too