Skip to content

Commit

Permalink
Merge pull request #602 from GiganticMinecraft/add_pluto_k8s_api_vers…
Browse files Browse the repository at this point in the history
…ion_validator

add pluto k8s api version validator
  • Loading branch information
kory33 authored Sep 10, 2022
2 parents 50eac29 + 4c3ee38 commit badbf83
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pluto.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: K8s resource API version check with Pluto

on:
pull_request:
paths:
- ".github/workflows/pluto.yaml"
- "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 badbf83

Please sign in to comment.