We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f6043d commit 0d9d51aCopy full SHA for 0d9d51a
1 file changed
Makefile
@@ -164,6 +164,13 @@ validate-schema: ## validates values files against schema in common/clustergroup
164
165
.PHONY: validate-prereq
166
validate-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
173
+ fi
174
@if [ ! -f /run/.containerenv ]; then\
175
echo "Checking prerequisites:";\
176
for t in $(EXECUTABLES); do if ! which $$t > /dev/null 2>&1; then echo "No $$t in PATH"; exit 1; fi; done;\
0 commit comments