diff --git a/Makefile b/Makefile index 1fa3b7edf..87830cf36 100644 --- a/Makefile +++ b/Makefile @@ -112,3 +112,20 @@ skaffold-%: skaffold-run: # @HELP Run all local modules using skaffold skaffold-run: cd ./skaffold && skaffold run --kube-context minikube-wbaas + +.PHONY: argo-reset-password +argo-reset-password: # @HELP Reset the admin password for the ArgoCD of the current context +argo-reset-password: + ./bin/reset-argocd-password + +argo-sync-app-of-apps: +argo-sync-ui: # @HELP Sync ui in ArgoCD +.PHONY: argo-sync-% +argo-sync-%: # @HELP Sync any Application defined in ArgoCD +argo-sync-%: APP=$* +argo-sync-%: + kubectl -n argocd exec statefulsets/argo-cd-base-argocd-application-controller -- argocd --core app sync $(APP) + +.PHONY: argo-sync +argo-sync: # @HELP Sync app-of-apps in ArgoCD (which contains all other Applications) +argo-sync: argo-sync-app-of-apps