Skip to content

Commit

Permalink
Merge pull request #10 from gianlucam76/deploy-projectsveltos
Browse files Browse the repository at this point in the history
Change the order when deploying projectsveltos
  • Loading branch information
gianlucam76 authored Apr 29, 2024
2 parents 6e24089 + 091f3f2 commit c4d58f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -258,17 +258,17 @@ deploy-projectsveltos: $(KUSTOMIZE)
@echo 'Install register-mgmt-cluster'
$(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/register-mgmt-cluster/$(TAG)/manifest/manifest.yaml

# Install projectsveltos ui-backend components
@echo 'Install projectsveltos ui-backend-manager components'
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default | $(ENVSUBST) | $(KUBECTL) apply -f-

# Install addon-controller
$(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/addon-controller/$(TAG)/manifest/manifest.yaml

# Install sveltoscluster-manager
$(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/sveltoscluster-manager/$(TAG)/manifest/manifest.yaml

# Install projectsveltos ui-backend components
@echo 'Install projectsveltos ui-backend-manager components'
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default | $(ENVSUBST) | $(KUBECTL) apply -f-

@echo "Waiting for projectsveltos ui-backend to be available..."
$(KUBECTL) wait --for=condition=Available deployment/ui-backend-manager -n projectsveltos --timeout=$(TIMEOUT)

Expand Down

0 comments on commit c4d58f6

Please sign in to comment.