Skip to content

Commit

Permalink
Update smoke test credential usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rick-a-lane-ii committed Mar 13, 2024
1 parent 5bddc37 commit 0c4fb03
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 0c4fb03

Please sign in to comment.