What this PR does / why we need it: check for pxbackup.enabled flag for deploying alertmanager, prometheus, pre-upgrade hook. This ensure none of the px-backup related components are not deployed when pxbackup.enabled is not true
Installed 2.8.1 with pxbackup.enabled=true and upgraded without pxbackup.enabled=true
Ensured none of the px-backup components exists after install/upgrade
Note: PVC still remains as it is not handled by helm , we need to remove it manually incase of upgrade (when installed with pxbackup enabled and upgraded with disabled)
What this PR does / why we need it: check for pxbackup.enabled flag for deploying alertmanager, prometheus, pre-upgrade hook. This ensure none of the px-backup related components are not deployed when pxbackup.enabled is not true
Which issue(s) this PR fixes (optional) Closes # https://purestorage.atlassian.net/browse/PB-8980
Special notes for your reviewer:
Installed 2.8.1 without pxbackup.enabled=true
Installed 2.8.1 with pxbackup.enabled=true and upgraded without pxbackup.enabled=true
Ensured none of the px-backup components exists after install/upgrade
Note: PVC still remains as it is not handled by helm , we need to remove it manually incase of upgrade (when installed with pxbackup enabled and upgraded with disabled)