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

Add sentinel bootstrap file check modes in CRD #239

Merged
merged 1 commit into from
May 3, 2023

Conversation

BarthV
Copy link
Contributor

@BarthV BarthV commented Apr 26, 2023

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 26, 2023
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 26, 2023
@BarthV BarthV force-pushed the none-mode branch 5 times, most recently from ad1dbef to cdc2c48 Compare April 26, 2023 16:37
@coveralls
Copy link

Pull Request Test Coverage Report for Build 4816820717

  • 13 of 24 (54.17%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 52.519%

Changes Missing Coverage Covered Lines Changed/Added Lines %
api/v1alpha1/zz_generated.deepcopy.go 0 11 0.0%
Totals Coverage Status
Change from base Build 4542574610: 0.02%
Covered Lines: 959
Relevant Lines: 1826

💛 - Coveralls

@agradouski
Copy link
Contributor

should we include this in kubevirtmachine spec explicitly as part of this PR, given that default value is "ssh" anyway:

virtualMachineBootstrapCheck:
         checkStrategy: ssh

I know we made it backward compatible, and this is not required in the template, asking more wrt potentially confusing existing users.

one advantage of making it explicit is perhaps giving users heads up about changes (current and future) in that part of logic.

@davidvossel @pjaton wdyt?

@agradouski
Copy link
Contributor

/lgtm

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

@pjaton pjaton left a comment

Choose a reason for hiding this comment

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

Thanks @BarthV , LGTM 👍

@pjaton
Copy link
Contributor

pjaton commented May 3, 2023

should we include this in kubevirtmachine spec explicitly as part of this PR, given that default value is "ssh" anyway:

virtualMachineBootstrapCheck:
         checkStrategy: ssh

I know we made it backward compatible, and this is not required in the template, asking more wrt potentially confusing existing users.

one advantage of making it explicit is perhaps giving users heads up about changes (current and future) in that part of logic.

@davidvossel @pjaton wdyt?

In this case, I feel that the expected behavior by most users is really about "please use the default mechanism"; so, using unset to mean default feels more intuitive to me than making this required. I do see your point about future change, though, I simply see that there would be more impact if this is made required.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: agradouski, BarthV, pjaton

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 May 3, 2023
@k8s-ci-robot k8s-ci-robot merged commit b49257e into kubernetes-sigs:main May 3, 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. 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants