coreos / tectonic-forum

Apache License 2.0
30 stars 9 forks source link

Editing the secret alertmanager-main configuration failed #214

Open kubebc opened 6 years ago

kubebc commented 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!

kbrwn commented 6 years ago

@kubebc How did you edit this file? It doesn't appear as if editing was done properly.