Skip to content

Commit

Permalink
deploy service accounts before deployments [ch88229] (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
darend authored Apr 1, 2021
1 parent f434679 commit 91624fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Makefile.kubernetes
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ kubernetes\:deploy:
@echo -e "INFO: Deploying $(KUBERNETES_APP) resources on cluster $(call yellow,$(CLUSTER))..."
$(NOTIFY_STARTING)
@[ ! -f "$(KUBERNETES_RESOURCE_PATH)/$(KUBERNETES_APP)-poddisruptionbudget.yml" ] || $(SELF) kubernetes:apply-poddisruptionbudget || $(NOTIFY_FAILURE)
@[ ! -f "$(KUBERNETES_RESOURCE_PATH)/$(KUBERNETES_APP)-service-account.yml" ] || $(SELF) kubernetes:apply-service-account || $(NOTIFY_FAILURE)
@[ ! -f "$(KUBERNETES_RESOURCE_PATH)/$(KUBERNETES_APP)-deployment.yml" ] || $(SELF) kubernetes:apply-deployment || $(NOTIFY_FAILURE)
@[ ! -f "$(KUBERNETES_RESOURCE_PATH)/$(KUBERNETES_APP)-controller.yml" ] || $(SELF) kubernetes:apply-controller || $(NOTIFY_FAILURE)
@[ ! -f "$(KUBERNETES_RESOURCE_PATH)/$(KUBERNETES_APP)-service.yml" ] || $(SELF) kubernetes:apply-service || $(NOTIFY_FAILURE)
@[ ! -f "$(KUBERNETES_RESOURCE_PATH)/$(KUBERNETES_APP)-service-account.yml" ] || $(SELF) kubernetes:apply-service-account || $(NOTIFY_FAILURE)
@[ ! -f "$(KUBERNETES_RESOURCE_PATH)/$(KUBERNETES_APP)-horizontalpodautoscaler.yml" ] || $(SELF) kubernetes:apply-horizontalpodautoscaler || $(NOTIFY_FAILURE)
@[ ! -f "$(KUBERNETES_RESOURCE_PATH)/$(KUBERNETES_APP)-cronjob.yml" ] || $(SELF) kubernetes:apply-cronjob || $(NOTIFY_FAILURE)
$(NOTIFY_SUCCESS)
Expand Down

0 comments on commit 91624fb

Please sign in to comment.