Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the broken keadm e2e task #59

Merged
merged 3 commits into from
Dec 17, 2021
Merged

Conversation

jshaofuturewei
Copy link
Collaborator

@jshaofuturewei jshaofuturewei commented Dec 17, 2021

The keadm installer tends to download crd files from kube edge NOT Fornax.

Please refer to https://github.com/CentaurusInfra/fornax/blob/main/keadm/cmd/keadm/app/cmd/util/common.go#L69. It used to work until there is a new version v1.9.0 added to https://kubeedge.io/latestversion. For the version v1.9.0, there is a change kubeedge/kubeedge@c39927e#diff-37aa47f76f3a524adab02885d1b0deaade11da7c00eee11a4b0e1486e7015b67 which updated apiVersion: apiextensions.k8s.io/v1beta1 to apiVersion: apiextensions.k8s.io/v1.

A temp solution is changing v1.9.0 to v1.8 which does not have the apiVersion change.

If we updated the wrong KubeEdgeCRDDownloadURL to our Fornax repo, there will be other issues caused by incomplete Fornax code changes, such as unmarshall tfjobCRD.

@@ -119,7 +119,8 @@ func installCRDs(ks *K8SInstTool) error {
"router": {"router/router_v1_rule.yaml",
"router/router_v1_ruleEndpoint.yaml"},
}
version := fmt.Sprintf("%d.%d", ks.ToolVersion.Major, ks.ToolVersion.Minor)
//version := fmt.Sprintf("%d.%d", ks.ToolVersion.Major, ks.ToolVersion.Minor)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove the comment code.

Copy link
Collaborator

@pdgetrf pdgetrf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

please remove comment code.

@pdgetrf pdgetrf merged commit aa964ba into CentaurusInfra:main Dec 17, 2021
@jshaofuturewei jshaofuturewei linked an issue Dec 22, 2021 that may be closed by this pull request
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update the current CI workflow from Kubeedge to Fornax
2 participants