Skip to content
eye

GitHub Action

Kubeaudit

v1.0 Latest version

Kubeaudit

eye

Kubeaudit

Github Action to run kubeaudit

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Kubeaudit

uses: klustair/[email protected]

Learn more about this action in klustair/kubeaudit-action

Choose a version

kubeaudit-action

GitHub License MIT GitHub tag (latest by date)

Action to run Kubeaudit on a helm chart repository.

Some parts of this action are based on https://github.com/stefanprodan/kube-tools. Have a look if you need a more general kubernetes-tools setup action.

Minimal configuration

    steps:
    - uses: actions/checkout@v2
    - name: run kubeaudit
      uses: klustair/[email protected]
      with:
        path: 'charts'
        kubeauditCommands: 'image,rootfs,limits'
        helmVersion: '3'

Full configuration

    steps:
    - uses: actions/checkout@v2
    - name: run kubeaudit
      uses: klustair/[email protected]
        with:
            path: 'charts'
            kubeauditCommands: 'image,rootfs,limits'
            helmVersion: '3'
            kubeauditFormat: 'pretty'
            kubeauditMinseverity: 'medium'
            kubeauditIncludegenerated: 'true'
            kubeauditVersion: '0.16.0'
            helmV3Version: '3.7.2'