Skip to content

Commit

Permalink
kubeconfig debug (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
vandjelk authored Oct 17, 2024
1 parent 16c1458 commit fa1620b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ jobs:
-d "client_id=$IAS_CLIENT_ID" \
-d "client_secret=$IAS_CLIENT_SECRET" \
-d 'scope=groups, email' > token.json
echo "token"
cat token.json
- name: Build kubeconfig
env:
IAS_USERNAME: ${{ secrets.IAS_USERNAME }}
Expand All @@ -82,7 +80,7 @@ jobs:
KC=$(jq ".users[0].user.token = \"$TOKEN\" | .clusters[0].cluster.server = \"$URL\" | .clusters[0].cluster.\"certificate-authority-data\" = \"$CA\"" ./assets/kubeconfig.json)
kubectl config view --minify --raw --kubeconfig <(echo $KC) > kubeconfig.yaml
echo "kubeconfig"
cat kubeconfig.yaml
base64 -i kubeconfig.yaml
- name: Run E2E Tests
run: |
export SHOOT="${{ matrix.shoot }}"
Expand Down

0 comments on commit fa1620b

Please sign in to comment.