Skip to content

Commit

Permalink
Fix local make admin.kubeconfig (#3097)
Browse files Browse the repository at this point in the history
  • Loading branch information
cadenmarchese authored Aug 23, 2023
1 parent 099f624 commit f26f8f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/get-admin-kubeconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f26f8f4

Please sign in to comment.