Skip to content

Commit

Permalink
Use ytt command to apply test/config (knative#755)
Browse files Browse the repository at this point in the history
Since knative@e2a8237, `test/config` directory needs ytt command.

This patch uses ytt.
  • Loading branch information
nak3 authored May 3, 2021
1 parent 1e6e8a3 commit f810700
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openshift/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ function create_configmaps(){
function prepare_knative_serving_tests_nightly {
echo ">> Creating test resources for OpenShift (test/config/)"

# workaround until https://github.com/knative/operator/issues/431 was fixed.
rm -f test/config/config-deployment.yaml

oc apply -f test/config
run_ytt \
-f "test/config/ytt/lib" \
-f "test/config/ytt/values.yaml" \
-f test/config/ytt/core/resources.yaml | kubectl apply -f -

oc adm policy add-scc-to-user privileged -z default -n serving-tests
oc adm policy add-scc-to-user privileged -z default -n serving-tests-alt
Expand Down

0 comments on commit f810700

Please sign in to comment.