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)
- Error version
- BUG: Error version in script HOT 1
- BUG: unable to install sealos-cloud by one step. install script HOT 2
- Feature: sealos run can support specifying ipv6 address to install k8s cluster HOT 3
- Failed to upgrade the cluster because of image repository HOT 1
- BUG: Kirin v10 arm machine uses sealos 4.3.7 to install k8s and reports an error
- BUG: ssh cannot connect to sealos after running in centos7.9 environment. The saelos parameter nofile is configured too large. HOT 6
- BUG: The `sealos run` command parameter --env cannot read variables containing commas. HOT 2
- sealos add BUG HOT 2
- BUG: 用一键脚本安装时候在安装 Ingress-nginx-controller 和 Kubeblocks.这步显示couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request HOT 4
- [FEATURE][Add application] Open source free VPN server - Firefly HOT 1
- How to log out of the account on cloud.sealos.io, logged in with mobile phone number HOT 2
- Docs: It is recommended to give an introductory document for junior contributors
- 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
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.