Skip to content

Commit ec42219

Browse files
authored
Deploy cr-scale-operator in tnf namespace (#459)
1 parent 0842656 commit ec42219

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/delete-cr-scale-operator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ git clone "$CR_SCALE_OPERATOR_GIT_REPO" -b "$TAG" "${CR_SCALE_OPERATOR_DIR}" ||
2121
cd $CR_SCALE_OPERATOR_DIR || exit 1
2222

2323
# Delete custom resource deploymed earlier.
24-
oc delete -f config/samples/cache_v1_memcached.yaml
24+
oc delete -f config/samples/cache_v1_memcached.yaml -n "${TNF_EXAMPLE_CNF_NAMESPACE}"
2525

2626
# Clean up operator
2727
./scripts/cleanup.sh

scripts/deploy-cr-scale-operator.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ pushd "${CR_SCALE_OPERATOR_DIR}" || exit 1
2626
make deploy IMG=$IMG
2727

2828
# Deploy custom resource
29-
oc apply -f config/samples/cache_v1_memcached.yaml
29+
oc apply -f config/samples/cache_v1_memcached.yaml -n "${TNF_EXAMPLE_CNF_NAMESPACE}"
3030

3131
# Check the pods
32-
oc get pods
32+
oc get pods -n "${TNF_EXAMPLE_CNF_NAMESPACE}"
3333

3434
# Return from the checkout folder.
3535
popd || exit 1

0 commit comments

Comments
 (0)