Skip to content

Commit 4266a5d

Browse files
committed
chore: added kind ci
1 parent 7194b56 commit 4266a5d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/validate.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Validate controller
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
run-controller:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
18+
- name: Create k8s Kind Cluster
19+
uses: helm/[email protected]
20+
21+
- name: Validate if Kind is working
22+
run: |
23+
kubectl get nodes -o wide
24+
kubectl get pods --all-namespaces -o wide
25+
kubectl get services --all-namespaces -o wide

0 commit comments

Comments
 (0)