Skip to content

Commit

Permalink
add pluto k8s api version validator
Browse files Browse the repository at this point in the history
  • Loading branch information
inductor committed Aug 30, 2022
1 parent 901934c commit 53e7e09
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pluto.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: K8s resource API version check with Pluto

on:
pull_request:
paths:
- "helm-charts/cloudflared-tunnel"
- "seichi-onp-k8s/manifests/seichi-kubernetes"

jobs:
api-c :
name: K8s resource API version check with Pluto
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Download Pluto
uses: FairwindsOps/pluto/github-action@master

- name: Use pluto
run: |
pluto detect-files -d helm-charts/cloudflared-tunnel --target-versions k8s=v1.24.0
- name: Use pluto
run: |
pluto detect-files -d seichi-onp-k8s/manifests/seichi-kubernetes/apps --target-versions k8s=v1.24.0

0 comments on commit 53e7e09

Please sign in to comment.