forked from labring/sealos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chroe: add template cluster image for sealos cloud upgrad. (labring#4388
) * feat: add template cluster images for cloud upgrade. Signed-off-by: yy <[email protected]> * chore: fix file typo. Signed-off-by: yy <[email protected]> * chore: fix script file path. Signed-off-by: yy <[email protected]> * chore: change image tag. Signed-off-by: yy <[email protected]> --------- Signed-off-by: yy <[email protected]>
- Loading branch information
Showing
5 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# template cluster image for sealos cloud upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ghcr.io/labring/sealos-applaunchpad-frontend:v5.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM scratch | ||
|
||
USER 65532:65532 | ||
|
||
COPY registry registry | ||
COPY scripts scripts | ||
|
||
CMD ["bash scripts/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
# This script is used to upgrade the cloud | ||
|
||
bash scripts/upgrade-images.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
# This script is used to upgrade the images for sealos cloud components | ||
kubectl set image deployment/applaunchpad-frontend -n applaunchpad-frontend applaunchpad-frontend=ghcr.io/labring/sealos-applaunchpad-frontend:v5.0.0 |