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
Adding DeadMansSnitchIntegration CRD to deadmanssnitch operator #70
Adding DeadMansSnitchIntegration CRD to deadmanssnitch operator #70
Conversation
Can one of the admins verify this patch? |
Skipping CI for Draft Pull Request. |
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.
As noted in a comment, need to 's/deadmansnitch/deadmanssnitch/g'.
PARTIAL REVIEW! I haven't gotten to the controller or mapper and their tests.
pkg/apis/deadmansnitch/v1alpha1/deadmanssnitchintegration_types.go
Outdated
Show resolved
Hide resolved
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've gone through this to try to pick up on anything I can before @jewzaam gets to it again. I've left some comments inline...I hope I'm not being too pernickety! :)
deploy/crds/deadmanssnitch.managed.openshift.io_deadmanssnitchintegrations_crd.yaml
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
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.
Took a pass through all but the controller tests.
deploy/crds/deadmanssnitch.managed.openshift.io_deadmanssnitchintegrations_crd.yaml
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
/lint |
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.
@grdryn: 0 warnings.
In response to this:
/lint
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.
/retest |
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Show resolved
Hide resolved
4ea3b5b
to
96bf519
Compare
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller_test.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
We need a test for when SnitchNamePostFix is not set as well, forgot to mention. The snitch name should be just the cluster deployment name +base domain. |
looks good! holding so we can get the initial osd dsmi added (R-Lawton#1) and internal configs done |
deploy/crds/deadmanssnitch.managed.openshift.io_deadmanssnitchintegrations_crd.yaml
Outdated
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Show resolved
Hide resolved
pkg/controller/deadmanssnitchintegration/deadmanssnitchintegration_controller.go
Outdated
Show resolved
Hide resolved
10dd1e3
to
38125d1
Compare
/retest |
2 similar comments
/retest |
/retest |
https://issues.redhat.com/browse/OSD-5375 Notes: - this is pending merge and promotion of DMSI itself - this is ahead of having the label set at all but will position us to use it immediately after available: https://issues.redhat.com/browse/SDA-3021
/lgtm /hold cancel |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jewzaam, R-Lawton 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 |
This PR is for the following changes:
Adding a DeadMansSnitchIntegration CRD that replaces the clusterDeployment controller which handled the creation of just one DMS secret and syncset. The new DMSI allows more then one DeadMans snitch and the matching secret and syncset to be created per cluster.
Watches
functionality: