File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -164,10 +164,15 @@ validate-schema: ## validates values files against schema in common/clustergroup
164164
165165.PHONY : validate-prereq
166166validate-prereq : # # verify pre-requisites
167+ $(eval GLOBAL_PATTERN := $(shell yq -r .global.pattern values-global.yaml) )
168+ @if [ $( NAME) != $( GLOBAL_PATTERN) ]; then\
169+ echo " " ; \
170+ echo " WARNING: folder directory is \" $( NAME) \" and global.pattern is set to \" $( GLOBAL_PATTERN) \" " ; \
171+ echo " this can create problems. Please make sure they are the same!" ; \
172+ echo " " ; \
173+ fi
167174 @if [ ! -f /run/.containerenv ]; then\
168175 echo " Checking prerequisites:" ; \
169- for t in $( EXECUTABLES) ; do if ! which $$ t > /dev/null 2>&1 ; then echo " No $$ t in PATH" ; exit 1; fi ; done ; \
170- echo " Check for '$( EXECUTABLES) ': OK" ; \
171176 echo -n " Check for python-kubernetes: " ; \
172177 if ! ansible -m ansible.builtin.command -a " {{ ansible_python_interpreter }} -c 'import kubernetes'" localhost > /dev/null 2>&1 ; then echo " Not found" ; exit 1; fi ; \
173178 echo " OK" ; \
You can’t perform that action at this time.
0 commit comments