Giter Site home page Giter Site logo

kubeval-kz-outputs-action's Introduction

kubeval-kz-outputs-action

About

This action simply do kubeval your kustomize outputs in multiple directories you want to check.

If you want to check under multiple directories or multiple environments under overlays, You can use it only defining a directory.

Usage

on: [push]

jobs:
  this-is-example:
    runs-on: ubuntu-latest
    name: check your manifest.
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0 # required!
      - name: check manifest
        uses: wadason/kubeval-kz-outputs-action@v1
        with:
          pathList: k8s/apps, k8s/guestbook
          envList: staging, production

Here is outputs in workflow. pic

kubeval-kz-outputs-action's People

Contributors

wadason avatar

Watchers

 avatar

kubeval-kz-outputs-action's Issues

Specify k8s version, check Deprecated API

about

If you specify kubernetes-version, action detect the Deprecated api at that version.
I'm thinking about how to implement it.

If this feature is added, we must rethink the action name.

details

- name: check manifest
  uses: wadason/kubeval-kz-outputs-action@v1
  with:
    pathList: k8s/apps, k8s/guestbook
    envList: staging, production
    kubernetes-version: 1.21 # ← new!

output example

WARN: policy/v1beta1 〇〇 is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 〇〇 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.