-
Notifications
You must be signed in to change notification settings - Fork 20
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
gcr.io/google_containers is the same as gcr.io/google-containers #103
gcr.io/google_containers is the same as gcr.io/google-containers #103
Conversation
You can confirm by visiting both: |
@@ -143,7 +143,7 @@ func runPrettyCommand(v *viper.Viper) error { | |||
|
|||
config, _ := KubernetesConfigFlags.ToRESTConfig() | |||
log.Header(headerLine(config.Host)) | |||
re := regexp.MustCompile(`^k8s\.gcr\.io/|^gcr\.io/google-containers`) | |||
re := regexp.MustCompile(`^k8s\.gcr\.io/|^gcr\.io/google[-_]containers`) |
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.
let me add a test case for this
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.
ah ... we don't have any for this code?
.. in that case, maybe later, this is a quick fix in aside to other work ...
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, dims 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 |
I don't have a quick way to produce a new version of the image, so I'm just removing it for now, because showing ✅ gcr.io/google_containers is sending the wrong message. This endpoint will likely quit working in march/april 2025 (https://cloud.google.com/artifact-registry/docs/transition/prepare-gcr-shutdown)