Skip to content

Instantly share code, notes, and snippets.

@rbo
Created January 20, 2020 12:31
Show Gist options
  • Save rbo/803913605faf8a4d86365bb4c660e35f to your computer and use it in GitHub Desktop.
Save rbo/803913605faf8a4d86365bb4c660e35f to your computer and use it in GitHub Desktop.
oc patch example
oc patch configmap/logging-fluentd -p "$(jq -n --arg es "$(cat output-custom-es-config.conf)" '{"data":{"output-custom-es-config.conf":$es}}')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment