-
Notifications
You must be signed in to change notification settings - Fork 506
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 the new registry endpoint in the annoucements to the kubernetes-dev mailing list #2746
Conversation
@upodroid: The label(s) In response to this:
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. |
@@ -30,7 +30,6 @@ import ( | |||
"github.com/sirupsen/logrus" | |||
"golang.org/x/text/cases" | |||
"golang.org/x/text/language" | |||
"sigs.k8s.io/promo-tools/v3/image" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to update the constant in that library. I'll do that if the PR looks good and revert the change to this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm.
https://kubernetes.slack.com/archives/CCK68P2Q2/p1667850096184829
TL;DR we need to have multiple complex conversations before merging kubernetes-sigs/promo-tools#669
/lgtm |
IMHO, we should merge this after the patch releases are done for November 2022. we still don't have the backports for k8s.gcr.io => registry.k8s.io merged in the release branches. |
pkg/notes/document/document.go
Outdated
@@ -129,7 +128,7 @@ func fetchImageMetadata(dir, tag string) (*ImageMetadata, error) { | |||
const linkBase = "https://console.cloud.google.com/gcr/images/k8s-artifacts-prod/us/" | |||
|
|||
for manifest, tempArchitectures := range manifests { | |||
imageName := strings.TrimPrefix(manifest, image.ProdRegistry+"/") | |||
imageName := strings.TrimPrefix(manifest, "registry.k8s.io/") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make "registry.k8s.io/"
a const somewhere here?
This is ready now. |
/label tide/merge-method-squash |
First time I'm seeing this. Merge method is squash anyway so can we skip this? |
This can be merged now. I rebased the PR. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: saschagrunert, upodroid 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 |
…ev mailing list (kubernetes#2746) * use the new registry endpoint in the annoucements * strip newline * fix release manager urls + use a const for registry * update all occurences of release-managers.md
What type of PR is this?
/kind enhancement
/kind cleanup
What this PR does / why we need it:
registry.k8s.io has been active for some time now but we still use the old endpoint in our announcement emails.
kubernetes/kubernetes@97efa30
Which issue(s) this PR fixes:
Part of #2745
Special notes for your reviewer:
Does this PR introduce a user-facing change?
/cc @saschagrunert @puerco @BenTheElder