mirror of
https://github.com/labring/sealos.git
synced 2026-09-19 02:23:07 +08:00
fix cloud kubefile (#3543)
This commit is contained in:
@@ -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"
|
||||
```
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user