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

refactor(kubernetes/kubectl): change download url #7085

Merged
merged 12 commits into from Oct 16, 2022

Conversation

takumin
Copy link
Contributor

@takumin takumin commented Oct 15, 2022

  • change download url
    • old: storage.googleapis.com
    • new: dl.k8s.io

@suzuki-shunsuke
Copy link
Member

Thanks!

Comment on lines 3 to 5
- name: kubernetes/kubectl@v1.24.7
- name: kubernetes/kubectl@v1.23.13
- name: kubernetes/kubectl@v1.22.15
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- name: kubernetes/kubectl@v1.24.7
- name: kubernetes/kubectl@v1.23.13
- name: kubernetes/kubectl@v1.22.15
- name: kubernetes/kubectl
version: v1.22.15

We test version_overrides with multiple versions.
So the number of versions should be same as version_constraint.

- amd64
- version_constraint: "true"
rosetta2: true
- version_constraint: semver("< 1.23.0")
Copy link
Member

Choose a reason for hiding this comment

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

version_overrides has been changed. 🤔
I'm not sure why this change is needed.

This comment was marked as outdated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I thought about it and the only change I made to version_overrides was to add Windows. I'll revert it back to the original.

@suzuki-shunsuke
Copy link
Member

The update of the download url seems to be good, but I'm not sure other updates are good.

@takumin takumin changed the title refactor(kubernetes/kubectl): apply style guide refactor(kubernetes/kubectl): change download url Oct 15, 2022
format: raw
link: https://kubernetes.io/docs/reference/kubectl/overview/
Copy link
Member

Choose a reason for hiding this comment

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

In this case, we should set link, because https://kubernetes.io/docs/reference/kubectl/ is better than the default link https://github.com/kubernetes/kubernetes

@suzuki-shunsuke suzuki-shunsuke added this to the v3.76.0 milestone Oct 16, 2022
@suzuki-shunsuke suzuki-shunsuke merged commit dd6aae5 into aquaproj:main Oct 16, 2022
@takumin takumin deleted the refactor/kubernetes/kubectl branch October 16, 2022 05:12
@suzuki-shunsuke
Copy link
Member

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.

None yet

2 participants