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

Use dl.k8s.io instead of hardcoded GCS URIs #1551

Closed
CecileRobertMichon opened this issue Jul 22, 2021 · 17 comments · Fixed by #1561
Closed

Use dl.k8s.io instead of hardcoded GCS URIs #1551

CecileRobertMichon opened this issue Jul 22, 2021 · 17 comments · Fixed by #1561
Assignees
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

Comments

@CecileRobertMichon
Copy link
Contributor

kubernetes-sigs/cluster-api#4958

/help

@k8s-ci-robot
Copy link
Contributor

@CecileRobertMichon:
This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

kubernetes-sigs/cluster-api#4958

/help

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Jul 22, 2021
@sayantani11
Copy link
Contributor

Hey is the issue open? I would like to contribute if I could get some insights and some help

@CecileRobertMichon
Copy link
Contributor Author

CecileRobertMichon commented Jul 22, 2021

Hi @sayantani11, yes it is. The ask is to replace all hardcoded usages of gs:// (https://github.com/kubernetes-sigs/cluster-api-provider-azure/search?q=gs%3A%2F%2F) with dl.k8s.io, just like kubernetes-sigs/cluster-api#4958 did for the Cluster API project.

Here is the motivation:

The only time a kubernetes GCS bucket name should be showing up in a
hardcoded URI is if gsutil is being used (e.g. gsutil cp gs://foo/bar .)
Otherwise, for tools like curl or wget, dl.k8s.io is much nicer for us
as a project, since we can transparently change where that redirects to
without having to change code everywhere
These changes will mean no changes will be necessary to accommodate a
gs://kubernetes-release -> gs://k8s-release migration equivalent of the
CI migration we're going through right now
(kubernetes/k8s.io#2318)

Some of our yaml templates are generated so make sure you run make generate after making changes to make sure all templates are updated.

Feel free to reach out if you have any questions, here or on k8s slack (#cluster-api-azure)!

@CecileRobertMichon
Copy link
Contributor Author

/assign sayantani11

@jayesh-srivastava
Copy link
Member

Hey, @CecileRobertMichon I have made the necessary changes and made the PR. I have also signed the CLA, but its not working out. Can you please guide me?

@jayesh-srivastava
Copy link
Member

I am a new contributor btw, and I really want to become a regular contributor.

@sayantani11
Copy link
Contributor

@CecileRobertMichon Got it I am working on it

@sayantani11
Copy link
Contributor

@jayesh-srivastava I guess before you make a PR the issue should be assigned to you. I requested to work on it first. So requesting to consider this.

@jayesh-srivastava
Copy link
Member

@sayantani11 Oh okay. Didn't know about it. Sorry, all yours.

@CecileRobertMichon
Copy link
Contributor Author

CecileRobertMichon commented Jul 23, 2021

@jayesh-srivastava welcome! I look forward to your contributions. If you're looking for other good issues to work on, check out help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. (make sure no one is already assigned and comment /assign to mark yourself as working on the issue).

@sayantani11 thanks for opening the PR!

@jayesh-srivastava
Copy link
Member

@CecileRobertMichon Thank you so much. Can new contributors join the kubernetes-sigs github org?

@CecileRobertMichon
Copy link
Contributor Author

Here are the requirements to become a member: https://github.com/kubernetes/community/blob/master/community-membership.md#member

@jayesh-srivastava
Copy link
Member

Thanks for sharing.

@CecileRobertMichon
Copy link
Contributor Author

no problem! Also you should come hang out with us in the #cluster-api-azure channel on k8s slack if you're not already there

@jayesh-srivastava
Copy link
Member

Thanks again for this. I joined the channel. Looking forward to learning with all you amazing guys.

@CecileRobertMichon
Copy link
Contributor Author

Here's another easy first PR: #1555

@jayesh-srivastava
Copy link
Member

Yeah was a bit late : ) Nevertheless will look out for good first issues. Thanks for helping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment