Skip to content

Commit

Permalink
Deploy cr-scale-operator in tnf namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
bnshr committed Jul 2, 2024
1 parent 0842656 commit 3036913
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/delete-cr-scale-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ git clone "$CR_SCALE_OPERATOR_GIT_REPO" -b "$TAG" "${CR_SCALE_OPERATOR_DIR}" ||
cd $CR_SCALE_OPERATOR_DIR || exit 1

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

# Clean up operator
./scripts/cleanup.sh
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy-cr-scale-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ pushd "${CR_SCALE_OPERATOR_DIR}" || exit 1
make deploy IMG=$IMG

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

# Check the pods
oc get pods
oc get pods -n "${TNF_EXAMPLE_CNF_NAMESPACE}"

# Return from the checkout folder.
popd || exit 1
Expand Down

0 comments on commit 3036913

Please sign in to comment.