From c493112ce5d39e057b7e3c86ce3420470afa8b11 Mon Sep 17 00:00:00 2001 From: yy <56745951+lingdie@users.noreply.github.com> Date: Wed, 19 Jul 2023 16:18:02 +0800 Subject: [PATCH] fix cloud kubefile (#3543) --- deploy/cloud-deprecated/README.md | 31 ------------------------------- deploy/cloud/Kubefile | 1 - 2 files changed, 32 deletions(-) delete mode 100644 deploy/cloud-deprecated/README.md diff --git a/deploy/cloud-deprecated/README.md b/deploy/cloud-deprecated/README.md deleted file mode 100644 index e77ec3037..000000000 --- a/deploy/cloud-deprecated/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# Sealos cloud cluster image - -## usage - -### prepare - -1. A cloud domain and dns to your k8s cluster. Suppose your domain name is `cloud.example.io`. -2. A TLS cert that resolves `cloud.example.io` and `*.cloud.example.io` - -### save your cert file to a sealos config file - -```yaml -# tls-secret.yaml -apiVersion: apps.sealos.io/v1beta1 -kind: Config -metadata: - name: secret -spec: - path: manifests/tls-secret.yaml - match: ghcr.io/labring/sealos-cloud:latest - strategy: merge - data: | - data: - tls.crt: - tls.key: -``` - -### run sealos cloud cluster image -```shell -sealos run ghcr.io/labring/sealos-cloud:latest --config-file tls-secret.yaml --env cloudDomain="cloud.example.com" -``` diff --git a/deploy/cloud/Kubefile b/deploy/cloud/Kubefile index eb507ce36..80e5eca77 100644 --- a/deploy/cloud/Kubefile +++ b/deploy/cloud/Kubefile @@ -3,7 +3,6 @@ COPY tars tars COPY etc etc COPY scripts scripts COPY manifests manifests -COPY registry registry ENV cloudDomain="127.0.0.1.nip.io"