Comments (10)
@lingdie Now there is an error (error when creating "manifests/deploy.yaml": ) before applying the secret!
$ sealos pull registry.cn-shanghai.aliyuncs.com/labring/sealos-cloud:latest
051115c32df50c8a3b0102d1918f606efde52dfff85101180396d16d765da24d
$ sealos reset
$ curl -sfL https://raw.githubusercontent.com/labring/sealos/main/scripts/cloud/install.sh -o install.sh && \
bash -x install.sh \
--single \
--image-registry=registry.cn-shanghai.aliyuncs.com --zh \
--cloud-domain=130.147.249.243.nip.io \
--cloud-port=443
+ kubectl apply -f manifests/deploy.yaml -f manifests/rbac.yaml -f manifests/ingress.yaml
serviceaccount/desktop-frontend unchanged
service/desktop-frontend unchanged
configmap/desktop-frontend-config unchanged
clusterrole.rbac.authorization.k8s.io/auth-system-manager-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/desktop-user-editor-role-binding unchanged
clusterrolebinding.rbac.authorization.k8s.io/desktop-operationrequest-editor-role-binding unchanged
clusterrolebinding.rbac.authorization.k8s.io/desktop-deleterequest-editor-role-binding unchanged
role.rbac.authorization.k8s.io/recharge-gift-cm-reader unchanged
rolebinding.rbac.authorization.k8s.io/recharge-gift-cm-reader-rolebinding unchanged
clusterrole.rbac.authorization.k8s.io/account-editor-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/desktop-account-editor-role-binding unchanged
ingress.networking.k8s.io/sealos-desktop unchanged
Error from server (BadRequest): error when creating "manifests/deploy.yaml": Deployment in version "v1" cannot be handled as a Deployment: json: cannot unmarshal bool into Go struct field EnvVar.spec.template.spec.containers.env.value of type string
Error: exit status 1
Error: exit status 1
from sealos.
Sry for that, this two pr will fix: #4547 #4544
Please retry later after latest image build.
Or you can use the stable version: v5.0.0-beta4.
v5.0.0-beta5 will release in this two weeks.
from sealos.
Thank you so much! Now the installation is successfull!
Close the issue.
from sealos.
But I found the workaround doesn't work, since some values like mongo-url is missing.
Anybody can guide me?
Okay, finally I found a workaround, that is after the exit,
I manually apply the secret with
kubectl apply -f manifests/secret.yaml --validation=false
I'm wondering if we need to fix this line
from sealos.
This pr shell fix it.
from sealos.
@lingdie Thank you for your PR and I see it's merged.
I pulled the latest image
sealos pull registry.cn-shanghai.aliyuncs.com/labring/sealos-cloud:latest
41033415b58a06b5cf1afca2ed16a8f6f19d6164be07395776c4ba212db5c7df
Then I do
sealos reset
curl -sfL https://raw.githubusercontent.com/labring/sealos/main/scripts/cloud/install.sh -o install.sh && \
bash -x install.sh \
--image-registry=registry.cn-shanghai.aliyuncs.com --zh \
--cloud-domain=130.147.249.243.nip.io \
--cloud-port=443
But still the same error
create desktop secret
+ kubectl apply -f manifests/secret.yaml
error: error validating "manifests/secret.yaml": error validating data: [unknown object type "nil" in Secret.data.ali_access_key_id, unknown object type "nil" in Secret.data.ali_access_key_secret, unknown object type "nil" in Secret.data.ali_sms_endpoint, unknown object type "nil" in Secret.data.ali_sms_sign_name, unknown object type "nil" in Secret.data.ali_sms_template_code, unknown object type "nil" in Secret.data.github_client_id, unknown object type "nil" in Secret.data.github_client_secret, unknown object type "nil" in Secret.data.wechat_client_id, unknown object type "nil" in Secret.data.wechat_client_secret]; if you choose to ignore these errors, turn validation off with --validate=false
Error: exit status 1
Error: exit status 1
How can I verify the fix is included in the latest image?
from sealos.
try use this image:
sealos pull --policy=always docker.io/labring/sealos-cloud:latest
sealos tag docker.io/labring/sealos-cloud:latest registry.cn-shanghai.aliyuncs.com/labring/sealos-cloud:latest
image id: 051115c32df50c8a3b0102d1918f606efde52dfff85101180396d16d765da24d
from sealos.
Thank you so much for the quick fix! @lingdie
I'm wondering what's the image tag of docker.io/labring/sealos-cloud:latest
after your #4547
Can you guide me how to check? (Should be in the GitHub Actions workflow log?)
from sealos.
try this:
sealos pull --policy=always docker.io/labring/sealos-cloud:latest
sealos tag docker.io/labring/sealos-cloud:latest registry.cn-shanghai.aliyuncs.com/labring/sealos-cloud:latest
image id: 7231c418dc856d4c2290477fd9b3da7b0e3a9eea51d34f3e77bc356a57074dc8
from sealos.
run after reset?
from sealos.
Related Issues (20)
- BUG: can not git clone repo
- BUG: Exception when upgrading sealos component HOT 1
- BUG: Log format issue
- sealos-cloud-5.0.0-beta5 reported a cockroachdb ui error during the installation process
- add new nodes it rename all nodes hostname to lvscare.node.ip HOT 2
- 添加集群失败,提示usage of cri endpoints without url scheme is deprecated and can cause kubelete error in the future. HOT 10
- Feature: supports cross-architecture deployment
- BUG: brief description of the bug
- Using sealos 5.0.0-beta5 cannot upgrade k8s from 1.27.9 to 1.28.9
- K8s (1.21, 1.24, 1.26, 1.28) cannot be installed using sealos (4.3.7 & 5.x) on kylin v10 sp3 HOT 6
- Bug: failed to init masters: generate init config error: exit status 1 HOT 4
- 添加node节点遇到 Error: can't apply application type images only since RootFS type image is not applied yet,这个问题是什么原因? HOT 10
- BUG: Use WeChat to log in, log out after recharging and cannot find the login entrance.
- 新增繁體中文語言支援
- deploy/cloud/scripts/init.sh The wrong format of the variable causes the --env parameter parsing to fail. HOT 1
- cloud-port=8443时安装cloud会发生错误 `no endpoints available for service "ingress-noinx-controller-admission"` HOT 5
- Transfer error: transfer error
- BUG: brief description of the bug
- Failed to transfer image during installation HOT 2
- BUG: The local registry has a large number of network connections that will not be released HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sealos.