From f26f8f41d034618b2042002a90e255f21be1fcc5 Mon Sep 17 00:00:00 2001 From: Caden Marchese <56140267+cadenmarchese@users.noreply.github.com> Date: Wed, 23 Aug 2023 08:29:20 -0400 Subject: [PATCH] Fix local make admin.kubeconfig (#3097) --- hack/get-admin-kubeconfig.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/get-admin-kubeconfig.sh b/hack/get-admin-kubeconfig.sh index ea32110adc8..cb97ff3cd60 100755 --- a/hack/get-admin-kubeconfig.sh +++ b/hack/get-admin-kubeconfig.sh @@ -6,7 +6,7 @@ if [[ "$#" -ne 1 ]]; then fi if [[ $CI ]]; then - ./db "$1" | ./jq -r .openShiftCluster.properties.adminKubeconfig | base64 -d | sed -e 's|https://api-int\.|https://api\.|' + ./db "$1" | jq -r .openShiftCluster.properties.adminKubeconfig | base64 -d | sed -e 's|https://api-int\.|https://api\.|' else - go run ./hack/db "$1" | ./jq -r .openShiftCluster.properties.adminKubeconfig | base64 -d | sed -e 's|https://api-int\.|https://api\.|' + go run ./hack/db "$1" | jq -r .openShiftCluster.properties.adminKubeconfig | base64 -d | sed -e 's|https://api-int\.|https://api\.|' fi