Skip to content

Instantly share code, notes, and snippets.

@ipeacocks
Created June 29, 2018 11:10
Show Gist options
  • Save ipeacocks/61c05cded510a2d0578d3798ab73f531 to your computer and use it in GitHub Desktop.
Save ipeacocks/61c05cded510a2d0578d3798ab73f531 to your computer and use it in GitHub Desktop.
$ sed "s/ALERTMANAGER_CONFIG/$(cat alertmanager.yaml | base64 -w0)/g" alertmanager-secret-k8s.yaml | kubectl apply -f -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment