Skip to content

Commit e172f19

Browse files
committed
tests: filter out trivy-operator from kubeconform validation
1 parent cacfefe commit e172f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/templates/validate.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
helmfile_template_kubeconform() {
44
mkdir -p /tmp/compliantkubernetes-apps-tests-unit-kubeconform
55

6-
helmfile -e "${1}" -f "${ROOT}/helmfile.d/" -q template | \
6+
helmfile -e "${1}" -f "${ROOT}/helmfile.d/" '-lname!=trivy-operator' -q template | \
77
kubeconform -cache /tmp/compliantkubernetes-apps-tests-unit-kubeconform -ignore-missing-schemas -schema-location default -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' -strict -summary -
88
}

0 commit comments

Comments
 (0)