-
Bug
-
Resolution: Done
-
Major
-
netobserv-1.6-candidate
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
NetObserv - Sprint 253
-
None
-
None
-
None
Description of problem:
make oc-commands shows errors on terminal related to sed
Steps to Reproduce:
1. Run make oc-commands on a Mac terminal
Actual results:
make oc-commands
### Generating oc commands
DIST_DIR=build \
K8S_CLI_BIN=oc \
IMAGE=quay.io/amoghrd/network-observability-cli:main \
PULL_POLICY=Always \
VERSION=main \
./scripts/inject.sh
updating CLI images to quay.io/amoghrd/network-observability-cli:main
sed: 1: "/img=/c\img="quay.io/am ...": extra characters after \ at the end of c command
updating CLI pull policy to Always
sed: 1: "/ --image-pull-policy/ ...": extra characters after \ at the end of c command
updating CLI version to main
sed: 1: "/version=/c\version="main"": extra characters after \ at the end of c command
updating K8S CLI to oc
sed: 1: "0,/K8S_CLI_BIN=/c\K8S_C ...": extra characters after \ at the end of c command
prefixing with oc-
sed: 1: "/namespaceYAMLContent/{ ...": unexpected EOF (pending }'s)
sed: 1: "/saYAMLContent/{r ./res ...": unexpected EOF (pending }'s)
sed: 1: "/flowAgentYAMLContent/{ ...": unexpected EOF (pending }'s)
sed: 1: "/packetAgentYAMLContent ...": unexpected EOF (pending }'s)
sed: 1: "/collectorServiceYAMLCo ...": unexpected EOF (pending }'s)
sed: 1: "/source.*/{r ./tmp/func ...": unexpected EOF (pending }'s)
pull policy not provided, keeping current ones
output generated in build folder
Expected results:
Command should be successful