From cf9120729506034f61c968caff33b5281d18584c Mon Sep 17 00:00:00 2001 From: John Allberg Date: Tue, 16 Apr 2024 16:25:02 +0200 Subject: [PATCH] chore: Switch from oc to kubectl. --- tests/e2e/examples/secureJsonDatasource/chainsaw-test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/examples/secureJsonDatasource/chainsaw-test.yaml b/tests/e2e/examples/secureJsonDatasource/chainsaw-test.yaml index b2ae50b45..f117d51cb 100755 --- a/tests/e2e/examples/secureJsonDatasource/chainsaw-test.yaml +++ b/tests/e2e/examples/secureJsonDatasource/chainsaw-test.yaml @@ -27,7 +27,7 @@ spec: - name: step-02 try: - script: - content: 'oc logs -n ${namespace} -l job-name=grafana-querier | grep "Result: " -A200 | sed "s|Result:||" | jq -r "."' + content: 'kubectl logs -n ${namespace} -l job-name=grafana-querier | grep "Result: " -A200 | sed "s|Result:||" | jq -r "."' env: - name: namespace value: ($namespace) @@ -42,7 +42,7 @@ spec: - name: step-03 try: - script: - content: 'oc logs -n ${namespace} -l app=thanos-querier | grep "^Authorization:" | head -n 1' + content: 'kubectl logs -n ${namespace} -l app=thanos-querier | grep "^Authorization:" | head -n 1' env: - name: namespace value: ($namespace)