Skip to content

klustair/kubeaudit-action

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

Repository files navigation

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/kubeaudit-action@v1.0
      with:
        path: 'charts'
        kubeauditCommands: 'image,rootfs,limits'
        helmVersion: '3'

Full configuration

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