Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
datree/datree-policy-check datree/datree-policy-check
This action runs the Datree CLI against given k8s configuration file/s in your repository, featuring full Helm and Kustomize support.
arguments
datree-policy-check:
title: Run Datree policy check
type: datree/datree-policy-check
arguments:
DATREE_TOKEN: '${{DATREE_TOKEN}}'
INPUT_PATH: fileName.yaml
datree-policy-check:
title: Run Datree policy check
type: datree/datree-policy-check
arguments:
DATREE_TOKEN: '${{DATREE_TOKEN}}'
INPUT_PATH: my/chart/directory
IS_HELM_CHART: true
HELM_ARGUMENTS: '--values values.yaml'