Skip to content

🌱 Add SkipNameValidation option - #2918

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
sbueringer:pr-add-skip-name-validation
Aug 13, 2024
Merged

k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
sbueringer:pr-add-skip-name-validation

Conversation

@sbueringer

@sbueringer sbueringer commented Aug 12, 2024 •

Copy link
Copy Markdown
Member

Signed-off-by: Stefan Büringer buringerst@vmware.com

Follow-up to: #2902 (comment)

Signed-off-by: Stefan Büringer buringerst@vmware.com
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 12, 2024
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 12, 2024
@sbueringer

Copy link
Copy Markdown
Member Author

/hold
for some reviews

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 12, 2024

@alvaroaleman alvaroaleman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 13, 2024
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: efc8eb17ddb24c8da6bd9f7e4f8bdf48a48ca855

@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman, sbueringer

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [alvaroaleman,sbueringer]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mythi

mythi commented Aug 13, 2024

Copy link
Copy Markdown
Contributor

Works as expected, +1. Thanks!

@sbueringer

Copy link
Copy Markdown
Member Author

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 13, 2024
@k8s-ci-robot
k8s-ci-robot merged commit 9f5afec into kubernetes-sigs:main Aug 13, 2024
@sbueringer
sbueringer deleted the pr-add-skip-name-validation branch August 13, 2024 12:15
@brito-rafa

Copy link
Copy Markdown

I had to change multiple tests to accommodate this change, can we make SkipNameValidation default to true - at least for a bit - to minimize the impact?

alvaroaleman referenced this pull request Aug 29, 2024
When re-using the same name among multiple controllers, they will report
to the same metrics and use the same logger. This can be very confusing,
might not be obvious and can happen accidentally.

Validate controller names are unique at runtime to avoid all of this.
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. 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/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants