diff --git a/deploy/cloud/manifests/default_apps.yaml b/deploy/cloud/manifests/default_apps.yaml new file mode 100644 index 00000000000..81f907c9314 --- /dev/null +++ b/deploy/cloud/manifests/default_apps.yaml @@ -0,0 +1,33 @@ +# Copyright © 2024 sealos. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +apiVersion: app.sealos.io/v1 +kind: App +metadata: + name: sealos-document + namespace: app-system +spec: + data: + desc: Sealos Documents + url: https://sealos.run/docs/Intro/ + displayType: normal + i18n: + zh: + name: 文档中心 + zh-Hans: + name: 文档中心 + icon: https://objectstorageapi.cloud.sealos.top/resources/document.svg + name: Sealos Document + type: iframe diff --git a/deploy/cloud/scripts/init.sh b/deploy/cloud/scripts/init.sh index b01a860a37b..c2695499657 100644 --- a/deploy/cloud/scripts/init.sh +++ b/deploy/cloud/scripts/init.sh @@ -23,6 +23,9 @@ function prepare { # apply notifications crd kubectl apply -f manifests/notifications_crd.yaml + # kubectl apply default desktop apps + kubectl apply -f manifests/default_apps.yaml + # gen mongodb uri gen_mongodbUri