fix cloud kubefile (#3543)

This commit is contained in:
yy
2023-07-19 16:18:02 +08:00
committed by GitHub
parent 4ebacd88f0
commit c493112ce5
2 changed files with 0 additions and 32 deletions
-31
View File
@@ -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: <your-tls.crt-base64>
tls.key: <your-tls.key-base64>
```
### run sealos cloud cluster image
```shell
sealos run ghcr.io/labring/sealos-cloud:latest --config-file tls-secret.yaml --env cloudDomain="cloud.example.com"
```
-1
View File
@@ -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"