promscale
promscale copied to clipboard
Remove helm upgrade logic from promscale connection secret
Description
This PR adds the preserveConnectionSecret value to allow for a removal of the upgrade logic from the promscale connection secret as suggested in #1474.
By default preserveConnectionSecret is set to true.
If preserveConnectionSecret is set to false this will allow to upgrade the connection secret by a helm upgrade for the release of the promscale helm chart.
This needs a bit more thinking as we currently rely on this mechanism in tobs.
@paulfantom sorry I wasn't aware of the dependency in tobs to this mechanism.
How about introducing a switch to the helm values instead to disable the upgrade logic? I've updated the PR and added a value named preserveConnectionSecret to switch between helm upgrade modes of the secret.