File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : kustomize.config.k8s.io/v1beta1
3
+ kind : Kustomization
4
+ resources :
5
+ - csi-blob-controller.yaml
6
+ - csi-blob-driver.yaml
7
+ - csi-blob-node.yaml
8
+ - rbac-csi-blob-controller.yaml
9
+ - rbac-csi-blob-node.yaml
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ LOG=/tmp/yamllint.log
22
22
helmPath=charts/latest/blob-csi-driver/templates
23
23
24
24
echo " checking yaml files num ..."
25
- deployDirNum=` ls deploy/* .yaml | wc -l`
25
+ deployDirNum=` find ./ deploy/ -maxdepth 1 -type f -name ' *.yaml' ! -name ' kustomization.yaml ' | wc -l`
26
26
helmDirNum=` ls $helmPath /* .yaml | grep -v serviceaccount | wc -l`
27
27
if [[ " ${deployDirNum} " != " ${helmDirNum} " ]]; then
28
28
echo " yaml file num($deployDirNum ) under deploy/ not equal to num($helmDirNum ) under $helmPath "
You can’t perform that action at this time.
0 commit comments