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

feat: Script supports installing kind and kubectl #251

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

lvtaococo
Copy link
Contributor

What type of PR is this?

/kind feature

What does this PR do?

Script supports installing kind and kubectl.

Which issue(s) does this PR fix?

Fixes #250

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

@@ -49,7 +49,7 @@ spec:
containers:
- name: clustertree-cluster-manager
image: ghcr.io/kosmos-io/clustertree-cluster-manager:__VERSION__
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
Copy link
Contributor

Choose a reason for hiding this comment

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

the verison is latest,so Always is better?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The "latest" image hasn't been pushed to the remote repository.

install_go
fi

echo "Go is installed and the version is correct."
Copy link
Contributor

Choose a reason for hiding this comment

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

add a new line

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

else
echo "not pass"
util::install_kubectl "" "${BS_ARCH}" "${BS_OS}"
fi
Copy link
Contributor

Choose a reason for hiding this comment

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

add a new line

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

Signed-off-by: lvtaococo <lvtao_yewu@cmss.chinamobile.com>
@wuyingjun-lucky
Copy link
Member

/approve
/lgtm

@kosmos-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lvtaococo, wuyingjun-lucky

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kosmos-robot kosmos-robot merged commit f6b2acc into kosmos-io:main Nov 20, 2023
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Script supports installing kind and kubectl
4 participants