Open kubebc opened 6 years ago
Hi, Team, I'm following this guide. Configuring Prometheus Alertmanager https://coreos.com/tectonic/docs/latest/tectonic-prometheus-operator/user-guides/configuring-prometheus-alertmanager.html
After edited the alertmanager.yaml file, I applied the configuration $ kubectl -n tectonic-system create secret generic alertmanager-main --from-literal=alertmanager.yaml="$(< alertmanager.yaml)" --dry-run -oyaml | kubectl -n tectonic-system replace secret --filename=- secret "alertmanager-main" replaced
But, when i checked what I've uploaded, only saw a "global:" $ cat alertmanager_check.yaml global:
Any suggestions? Thanks!
@kubebc How did you edit this file? It doesn't appear as if editing was done properly.
Hi, Team, I'm following this guide. Configuring Prometheus Alertmanager https://coreos.com/tectonic/docs/latest/tectonic-prometheus-operator/user-guides/configuring-prometheus-alertmanager.html
After edited the alertmanager.yaml file, I applied the configuration $ kubectl -n tectonic-system create secret generic alertmanager-main --from-literal=alertmanager.yaml="$(< alertmanager.yaml)" --dry-run -oyaml | kubectl -n tectonic-system replace secret --filename=- secret "alertmanager-main" replaced
But, when i checked what I've uploaded, only saw a "global:" $ cat alertmanager_check.yaml global:
Any suggestions? Thanks!