diff --git a/deploy/cloud/init.sh b/deploy/cloud/init.sh index 68591c939cd..ec76456965e 100644 --- a/deploy/cloud/init.sh +++ b/deploy/cloud/init.sh @@ -12,6 +12,7 @@ sealos pull --policy=always ghcr.io/labring/sealos-cloud-resources-controller:la sealos pull --policy=always ghcr.io/labring/sealos-cloud-account-controller:latest sealos pull --policy=always ghcr.io/labring/sealos-cloud-costcenter-frontend:latest sealos pull --policy=always ghcr.io/labring/sealos-cloud-licenseissuer-controller:latest +sealos pull --policy=always ghcr.io/labring/sealos-cloud-template-frontend:latest sealos save -o tars/user.tar ghcr.io/labring/sealos-cloud-user-controller:latest sealos save -o tars/terminal.tar ghcr.io/labring/sealos-cloud-terminal-controller:latest @@ -26,3 +27,4 @@ sealos save -o tars/frontend-terminal.tar ghcr.io/labring/sealos-cloud-terminal sealos save -o tars/frontend-dbprovider.tar ghcr.io/labring/sealos-cloud-dbprovider-frontend:latest sealos save -o tars/frontend-costcenter.tar ghcr.io/labring/sealos-cloud-costcenter-frontend:latest sealos save -o tars/frontend-applaunchpad.tar ghcr.io/labring/sealos-cloud-applaunchpad-frontend:latest +sealos save -o tars/frontend-template.tar ghcr.io/labring/sealos-cloud-template-frontend:latest diff --git a/deploy/cloud/scripts/init.sh b/deploy/cloud/scripts/init.sh index 761e0a10fe3..70cb6b1015b 100644 --- a/deploy/cloud/scripts/init.sh +++ b/deploy/cloud/scripts/init.sh @@ -148,6 +148,12 @@ function sealos_run_frontend { --env certSecretName="wildcard-cert" \ --env transferEnabled="true" \ --env rechargeEnabled="false" + + echo "run template frontend" + sealos run tars/frontend-template.tar \ + --env cloudDomain=$cloudDomain \ + --env cloudPort=$cloudPort \ + --env certSecretName="wildcard-cert" } function sealos_authorize {