Skip to content

Commit

Permalink
try out infra access
Browse files Browse the repository at this point in the history
  • Loading branch information
Langleu committed Nov 19, 2024
1 parent 9f7706d commit 1ed67da
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test-infra-access.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Confirm Infra Access

on:
push:

jobs:
dummy-job:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: teleport-actions/setup@v1
with:
version: 16.4.3
- uses: teleport-actions/auth-k8s@v2
with:
proxy: camunda.teleport.sh:443
token: infra-ci-prod-github-action-infraex
kubernetes-cluster: camunda-ci-eks
- run: |
kubectl version
kubectl auth whoami # see the impersonated users/groups
kubectl get ns
kubectl create ns infraex-test-space
kubectl label namespace infraex-test-space janitor/ttl=1h
kubectl label namespace infraex-test-space camunda.cloud/ephemeral=true
kubectl get ns infraex-test-space -o yaml
kubeclt delete ns infraex-test-space

0 comments on commit 1ed67da

Please sign in to comment.