Skip to content

Commit

Permalink
add template to aio cluster image. (#3722)
Browse files Browse the repository at this point in the history
  • Loading branch information
lingdie authored Aug 21, 2023
1 parent 076c77c commit 2b94328
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/cloud/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
6 changes: 6 additions & 0 deletions deploy/cloud/scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2b94328

Please sign in to comment.