bcgov / networkpolicy-migration-workshop

Migration guide on how to replace Aporeto NSP with OpenShift / k8s NP
Creative Commons Zero v1.0 Universal
2 stars 7 forks source link

Documented call to run quickstart.yaml has an error #10

Closed rstens closed 3 years ago

rstens commented 3 years ago

Roland_Stens 4:55 PM Your update to network policy update causes

oc process -f quickstart.yaml -p NAMESPACE=af2668-dev oc apply -f - error: template name must be specified only once: apply See 'oc process -h' for help and examples

Run in git bash

Roland_Stens 5:02 PM Were the network policies changed as well?

Roland_Stens 5:15 PM Ah yes, forgot the pipe before oc apply

mark-walle commented 3 years ago

Needs a pipe to the second oc command, like:

oc process -f quickstart.yaml -p NAMESPACE=af2668-dev | oc apply -f -

mark-walle commented 3 years ago

https://github.com/bcgov/networkpolicy-migration-workshop/pull/11

jleach commented 3 years ago

Thx. Will apply to the new repo. Going to archive this one.