From 0041eedb17805bea35ccd3d4cda725194dc4b778 Mon Sep 17 00:00:00 2001 From: zzjin Date: Thu, 4 Jul 2024 10:52:42 +0800 Subject: [PATCH] Add default install desktop apps. (#4838) Signed-off-by: zzjin --- deploy/cloud/manifests/default_apps.yaml | 33 ++++++++++++++++++++++++ deploy/cloud/scripts/init.sh | 3 +++ 2 files changed, 36 insertions(+) create mode 100644 deploy/cloud/manifests/default_apps.yaml 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