many-evening-4906602/02/2023, 2:40 PM
is here: https://github.com/rancher/charts/blob/dev-v2.7/charts/rancher-monitoring/102.0.0%2Bup40.1.2/templates/alertmanager/secret.yaml#L4 It is not in the official prometheus-operator chart and it makes changes to alertmanager not apply since the secret already exists. I tried git blaming without success
clean-spoon-5415602/02/2023, 4:36 PM
By default, the Alertmanager Config Secret created by Rancher will never be modified or deleted on an upgrade or uninstall of the rancher-monitoring chart. This restriction prevents users from losing or overwriting their alerting configuration when executing operations on the chart.
many-evening-4906602/02/2023, 4:38 PM
• creating the secret
alertmanager: alertmanagerSpec: useExistingSecret: true
in `cattle-monitoring-system`'s namespace with
clean-spoon-5415602/02/2023, 4:42 PM
many-evening-4906602/02/2023, 4:42 PM
clean-spoon-5415602/02/2023, 4:44 PM
many-evening-4906602/02/2023, 4:44 PM
) that when set to true it would always generate the Secret from the config applied in helm values?
clean-spoon-5415602/02/2023, 4:51 PM
many-evening-4906602/02/2023, 4:56 PM
clean-spoon-5415602/02/2023, 5:00 PM