many-evening-49066
02/02/2023, 2:40 PMif
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 successclean-spoon-54156
02/02/2023, 4:36 PMBy 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-49066
02/02/2023, 4:38 PMalertmanager:
alertmanagerSpec:
useExistingSecret: true
• creating the secret alertmanager-rancher-monitoring-alertmanager
in `cattle-monitoring-system`'s namespace with alertmanager.yaml
and rancher_defaults.tmpl
contentclean-spoon-54156
02/02/2023, 4:42 PMmany-evening-49066
02/02/2023, 4:42 PMclean-spoon-54156
02/02/2023, 4:44 PMmany-evening-49066
02/02/2023, 4:44 PMalwaysOverwriteSecret
) that when set to true it would always generate the Secret from the config applied in helm values?clean-spoon-54156
02/02/2023, 4:51 PMmany-evening-49066
02/02/2023, 4:56 PMclean-spoon-54156
02/02/2023, 5:00 PM