mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-22 06:02:51 +00:00
32f2913fd2
- Previously catalog's task has some images that are not tagged properly,this patch fixes these images by adding the digest - Soon once Catlin is added to the CI it will throw error for those images which don't have proper tags co-authored by:- @PuneetPunamiya Signed-off-by: vinamra28 <vinjain@redhat.com> |
||
---|---|---|
.. | ||
helm-conftest.yaml | ||
README.md |
Conftest
These tasks make it possible to use Conftest within your Tekton pipelines. Conftest is a tool for testing configuration files using Open Policy Agent.
Installation
Conftest also has a Helm plugin, which redners the Helm chart before applying the policy. For that task use:
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/master/task/helm-conftest/0.1/helm-conftest.yaml
Helm usage
Once installed, the Helm task can be used as follows:
apiVersion: tekton.dev/v1beta1
kind: TaskRun
metadata:
name: helm-conftest-example
spec:
taskRef:
name: helm-conftest
workspaces:
- name: source
persistentVolumeClaim:
claimName: my-source
params:
- name: chart
value: stable/mysql
- name: policy
value: stable/mysql/policy
Parameters
- chart: The chart to test against the specified policies (default:
.
) - policy: Where to find the policies (default:
policy
) - output: Which output format to use (default:
stdout
) - args: An array of additional arguments to pass to Conftest (_default
[]
)
Workspaces
- source: A Workspace containing the source to build.