feat: set default kubernetes namespace

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
This commit is contained in:
Tom Kerkhove 2022-03-14 08:02:00 +01:00 committed by Jan De Dobbeleer
parent a64a041c86
commit f3e3fe20a5

View file

@ -29,6 +29,12 @@ jobs:
with:
node_image: kindest/node:v1.23.4@sha256:0e34f0d0fd448aa2f2819cfd74e99fe5793a6e4938b328f657c8e3f81ee0dfb9
cluster_name: posh
- name: Create Kubernetes namespace
run: |
kubectl create ns demo
- name: Set default Kubernetes namespace
run: |
kubectl config set-context posh --namespace demo
- uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}