[go: up one dir, main page]

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

Remove s390X for Krew #4063

Merged
merged 1 commit into from
Jun 3, 2022
Merged

Conversation

realshuting
Copy link
Member

Signed-off-by: ShutingZhao shuting@nirmata.com

Related issue

Closes #4062.

Signed-off-by: ShutingZhao <shuting@nirmata.com>
Copy link
Contributor
@developer-guy developer-guy left a comment

Choose a reason for hiding this comment

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

// allPlatforms returns all <os,arch> pairs krew is supported on.
func allPlatforms() []installation.OSArchPair {
	// TODO(ahmetb) find a more authoritative source for this list
	return []installation.OSArchPair{
		{OS: "windows", Arch: "386"},
		{OS: "windows", Arch: "amd64"},
		{OS: "windows", Arch: "arm64"},
		{OS: "linux", Arch: "386"},
		{OS: "linux", Arch: "amd64"},
		{OS: "linux", Arch: "arm"},
		{OS: "linux", Arch: "arm64"},
		{OS: "darwin", Arch: "386"},
		{OS: "darwin", Arch: "amd64"},
		{OS: "darwin", Arch: "arm64"},
	}
}

Source: https://github.com/kubernetes-sigs/krew/blob/60e29d9b23183bdf8f0e5761def09e544d1842cd/cmd/validate-krew-manifest/main.go#L234

So, s390x is not in the supported platforms list, LGTM 👏

@realshuting realshuting merged commit fac1904 into kyverno:main Jun 3, 2022
realshuting added a commit to realshuting/kyverno that referenced this pull request Jun 3, 2022
Signed-off-by: ShutingZhao <shuting@nirmata.com>
realshuting added a commit that referenced this pull request Jun 3, 2022
Signed-off-by: ShutingZhao <shuting@nirmata.com>
@realshuting realshuting added cherry-pick-completed The PR was cherry-picked (or merged) to required release branches release notes This label is added to the PR without a corresponding issue. It is used to create release notes. labels Jun 16, 2022
@realshuting realshuting deleted the remove_os_krew branch October 24, 2022 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-completed The PR was cherry-picked (or merged) to required release branches cherry-pick-required release notes This label is added to the PR without a corresponding issue. It is used to create release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Krew doesn't support s390X
3 participants