Skip to content

eddykaya/helm-pluto-github-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Find deprecated APIs in your helm charts

This Github action checks your helm chart for deprecated k8s versions by using pluto in one single step. You do not have to take care about the boilerplate, just define your helm chart location, target k8s version and a pluto version to get started.

Usage

Variables

Name Description Example Default Optional
K8S_VERSION The k8s version to check your used APIs against v1.24.8 v1.24.9 yes
HELM_CHART_DIRECTORY The location of your helm chart relative to your project root helm/charts/ -- no
PLUTO_VERSION The desired version of pluto. See Pluto releases for available versions. You have to skip the v at the beginning of the version! 5.16.1 5.16.1 yes

Example

name: pluto detection test

on: workflow_dispatch

jobs:
  pluto_detect:
    runs-on: ubuntu-latest
    steps:
      - name: Check out the repo
        uses: actions/checkout@v3

      - name: Check deprecated k8s APIs
        uses: eddykaya/helm-pluto-github-action@0.0.2
        with:
          PLUTO_VERSION: 5.16.1
          K8S_VERSION: v1.24.8
          HELM_CHART_DIRECTORY: helm/charts/yahc

You will find a working example here