Skip to content

Commit

Permalink
Merge pull request #88 from datawire/rlane/update-smoke-test-auth
Browse files Browse the repository at this point in the history
Update smoke test credential usage
  • Loading branch information
rick-a-lane-ii authored Mar 14, 2024
2 parents 5bddc37 + 0c4fb03 commit 2193a79
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- distribution: Kubeception
version: "1.27"
runs-on: ubuntu-latest
env:
KUBECEPTION_TOKEN: ${{ secrets.KUBECEPTION_TOKEN }}
GKE_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
steps:
- name: Kubectl tool installer
uses: Azure/setup-kubectl@v3
Expand All @@ -35,8 +38,8 @@ jobs:
distribution: ${{ matrix.clusters.distribution }}
version: ${{ matrix.clusters.version }}
kubeconfig: ${{ runner.temp}}/kubeconfig.yaml
kubeceptionToken: ${{ secrets.KUBECEPTION_TOKEN }}
gkeCredentials: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
kubeceptionToken: ${{ matrix.clusters.distribution == 'Kubeception' && env.KUBECEPTION_TOKEN }}
gkeCredentials: ${{ matrix.clusters.distribution == 'GKE' && env.GKE_CREDENTIALS }}
useAuthProvider: ${{ matrix.clusters.useAuthProvider }}
- name: "Get kubeconfig and cluster information"
run: |
Expand Down

0 comments on commit 2193a79

Please sign in to comment.