File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -193,16 +193,16 @@ validate-prereq: ## verify pre-requisites
193193.PHONY : argo-healthcheck
194194argo-healthcheck : # # Checks if all argo applications are synced
195195 @echo " Checking argo applications"
196- $(eval APPS := $(shell oc get applications -A -o jsonpath='{range .items[* ]}{@.metadata.namespace}{","}{@.metadata.name}{"\n"}{end}') )
196+ $(eval APPS := $(shell oc get applications.argoproj.io -A -o jsonpath='{range .items[* ]}{@.metadata.namespace}{","}{@.metadata.name}{"\n"}{end}') )
197197 @NOTOK=0; \
198198 for i in $( APPS) ; do\
199199 n=` echo " $$ {i}" | cut -f1 -d,` ; \
200200 a=` echo " $$ {i}" | cut -f2 -d,` ; \
201- STATUS=` oc get -n " $$ {n}" application /" $$ {a}" -o jsonpath=' {.status.sync.status}' ` ; \
201+ STATUS=` oc get -n " $$ {n}" applications.argoproj.io /" $$ {a}" -o jsonpath=' {.status.sync.status}' ` ; \
202202 if [[ $$ STATUS != " Synced" ]]; then\
203203 NOTOK=$$(( $${NOTOK} + 1 ) ); \
204204 fi ; \
205- HEALTH=` oc get -n " $$ {n}" application /" $$ {a}" -o jsonpath=' {.status.health.status}' ` ; \
205+ HEALTH=` oc get -n " $$ {n}" applications.argoproj.io /" $$ {a}" -o jsonpath=' {.status.health.status}' ` ; \
206206 if [[ $$ HEALTH != " Healthy" ]]; then\
207207 NOTOK=$$(( $${NOTOK} + 1 ) ); \
208208 fi ; \
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ podman run -it --rm --pull=newer \
8585 -e EXTRA_HELM_OPTS \
8686 -e EXTRA_PLAYBOOK_OPTS \
8787 -e TARGET_ORIGIN \
88+ -e TARGET_SITE \
8889 -e NAME \
8990 -e TOKEN_SECRET \
9091 -e TOKEN_NAMESPACE \
You can’t perform that action at this time.
0 commit comments