Skip to content

Commit

Permalink
Patch apiVersion in the operator-test config
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Sekretenko <[email protected]>
  • Loading branch information
asekretenko committed May 25, 2021
1 parent 00e59e8 commit eb0044c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hack/run-operator-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ rm -rf operators
git clone https://github.com/kudobuilder/operators
mkdir operators/bin/
cp ./bin/kubectl-kudo operators/bin/
sed "s/%version%/$KUDO_VERSION/" operators/kudo-test.yaml.tmpl > operators/kudo-test.yaml

# TODO (asekretenko): Use kuttl directly instead of kudo test.
# This will obviate the need to patch apiVersion.
cat operators/kudo-test.yaml.tmpl | sed "s/%version%/$KUDO_VERSION/" | sed "s/apiVersion: kudo.dev\/v1alpha1/apiVersion: kuttl.dev\/v1beta1/" > operators/kudo-test.yaml

if [ "$INTEGRATION_OUTPUT_JUNIT" == true ]
then
Expand Down

0 comments on commit eb0044c

Please sign in to comment.