Skip to content

Commit b17cd9e

Browse files
committed
updated kubeconform command for correcting the errors about Istio, PSP and CRDs
1 parent f29c136 commit b17cd9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ setup_colors
9898

9999
(
100100
cd ${abs_script_dir}/.. || exit 1
101-
comm -3 <(find . | grep yaml$ | sort) <(cat .kubeconform-ignore | sort) | xargs -n1 kubeconform --strict -ignore-missing-schemas -kubernetes-version $k8s_version
101+
comm -3 <(find . | grep yaml$ | sort) <(cat .kubeconform-ignore | sort) | xargs -n1 kubeconform --strict -kubernetes-version $k8s_version -ignore-filename-pattern 'Istio/*' -schema-location default -schema-location "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/master/customresourcedefinition.json" -ignore-filename-pattern 'PodSecurityPolicy/*'
102102
)

0 commit comments

Comments
 (0)