Skip to content

Instantly share code, notes, and snippets.

@juanvallejo
Last active July 13, 2018 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanvallejo/30a5f33b725b92e9a0cf55b60390e522 to your computer and use it in GitHub Desktop.
Save juanvallejo/30a5f33b725b92e9a0cf55b60390e522 to your computer and use it in GitHub Desktop.
oc process - before and after for -o=go-template output modes between oc3.11 and https://github.com/openshift/origin/pull/20282
# ./oc3_11_master process -f test/templates/testdata/guestbook.json --local -l app=guestbook -o go-template="{{range .items}}{{.kind}}
{{end}}"
Route
Service
Service
Service
Pod
ReplicationController
ReplicationController
# ./oc3_11_updated process -f test/templates/testdata/guestbook.json --local -l app=guestbook -o go-template="{{range .items}}{{.kind}}
{{end}}"
Route
Service
Service
Service
Pod
ReplicationController
ReplicationController
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment