Skip to content

Commit

Permalink
Add default install desktop apps. (#4838)
Browse files Browse the repository at this point in the history
Signed-off-by: zzjin <tczzjin@gmail.com>
  • Loading branch information
zzjin authored Jul 4, 2024
1 parent b109ffe commit 0041eed
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
33 changes: 33 additions & 0 deletions deploy/cloud/manifests/default_apps.yaml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions deploy/cloud/scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0041eed

Please sign in to comment.