Closed David-VTUK closed 1 year ago
Currently, the Exporter determines if Rancher and the Rancher Backup operator are installed based on the helm app status:
https://github.com/David-VTUK/prometheus-rancher-exporter/blob/966a08464be27884b49eada0abc1409577266576/internal/utils/utils.go#L38-L44
Sometimes, both these apps can be installed and working but have a non deployed Helm status
deployed
Investigate an alternative way to determine if these exist. Potentially by CRD's
Currently, the Exporter determines if Rancher and the Rancher Backup operator are installed based on the helm app status:
https://github.com/David-VTUK/prometheus-rancher-exporter/blob/966a08464be27884b49eada0abc1409577266576/internal/utils/utils.go#L38-L44
Sometimes, both these apps can be installed and working but have a non
deployed
Helm statusInvestigate an alternative way to determine if these exist. Potentially by CRD's