Skip to content

Commit

Permalink
Added Helm Action
Browse files Browse the repository at this point in the history
  • Loading branch information
garethr committed Oct 30, 2019
1 parent e886bea commit 812f913
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions helm/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Helm Conftest"
description: "Write tests against your Helm Charts using Open Policy Agent"
author: "Gareth Rushgrove"
branding:
icon: "check"
color: "green"
inputs:
chart:
description: "The directory containing the Chart configuration"
required: true
policy:
description: "Where to find the policy folder or file"
default: "policy"
namespace:
description: "The Rego namespace to use for testing"
default: "main"
output:
description: "Output format for results"
default: "stdout"
runs:
using: 'docker'
image: 'docker://instrumenta/helm-conftest:latest'
args:
- -o
- ${{ inputs.output }}
- -p
- ${{ inputs.policy }}
- --namespace
- ${{ inputs.namespace }}
- ${{ inputs.chart }}

0 comments on commit 812f913

Please sign in to comment.