Skip to content

Commit

Permalink
add makefile targets
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-wmde committed Jul 30, 2024
1 parent 6af2f9c commit 60c066b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 60c066b

Please sign in to comment.