{{- if .Values.pipeline.enabled }} apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: amp-security-pipeline-v1.0.0 spec: templates: - name: scan-semgrep container: image: returntocorp/semgrep:1.85.0 command: - sh - -c args: - | set -eu mkdir -p /workspace/reports semgrep scan --config auto --sarif --output /workspace/reports/semgrep.sarif /workspace || true volumeMounts: - name: workspace mountPath: /workspace {{- end }}