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

🌱 Protect well know registry from accidental push during tilt up #8930

Conversation

fabriziopandini
Copy link
Member

What this PR does / why we need it:
This PR makes sure that if you are using tilt up without a local registry, you can't accidentally push to well know repository like our staging repo

cc @sbueringer

@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 28, 2023
Copy link
Contributor

@killianmuldoon killianmuldoon left a comment

Choose a reason for hiding this comment

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

Looks good - just a couple of spelling nits.

The behaviour here is that setting this value only matters if there's no default registry.

Tiltfile Outdated Show resolved Hide resolved
Tiltfile Outdated Show resolved Hide resolved
@fabriziopandini fabriziopandini force-pushed the protect-well-known-registry-during-tilt-up branch from e6a1637 to d382fb0 Compare June 28, 2023 11:39
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 28, 2023
Copy link
Member

@sbueringer sbueringer left a comment

Choose a reason for hiding this comment

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

Thx for following up on this!!

Tiltfile Outdated Show resolved Hide resolved
Tiltfile Outdated Show resolved Hide resolved
@fabriziopandini fabriziopandini force-pushed the protect-well-known-registry-during-tilt-up branch from d382fb0 to dc87b86 Compare July 3, 2023 16:04
Tiltfile Outdated Show resolved Hide resolved
@fabriziopandini fabriziopandini force-pushed the protect-well-known-registry-during-tilt-up branch from dc87b86 to f192b7b Compare July 7, 2023 14:31
Tiltfile Outdated Show resolved Hide resolved
@sbueringer
Copy link
Member

Sorry last one :)

@fabriziopandini fabriziopandini force-pushed the protect-well-known-registry-during-tilt-up branch 2 times, most recently from 856a2d0 to 54586ea Compare July 7, 2023 14:44
@fabriziopandini fabriziopandini force-pushed the protect-well-known-registry-during-tilt-up branch from 54586ea to cb5f429 Compare July 7, 2023 14:44
@sbueringer
Copy link
Member

Tested locally. All works!

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 7, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 9be614ecf4d3a40e0920e3c4535db2cdf62b34fc

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sbueringer

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 7, 2023
@k8s-ci-robot k8s-ci-robot merged commit ab2f3dc into kubernetes-sigs:main Jul 7, 2023
11 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.5 milestone Jul 7, 2023
@fabriziopandini fabriziopandini deleted the protect-well-known-registry-during-tilt-up branch July 7, 2023 15:32
@johannesfrey
Copy link
Contributor

/area devtools

@k8s-ci-robot k8s-ci-robot added the area/devtools Issues or PRs related to devtools label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/devtools Issues or PRs related to devtools cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants