medik8s / fence-agents-remediation

Kubernetes Operator for providing high availability between nodes by automatically remediating them using well-known fence-agents.
https://www.medik8s.io/
Apache License 2.0
9 stars 8 forks source link

Validate Agent Name by Format and Binary #119

Closed razo7 closed 9 months ago

razo7 commented 10 months ago

Agent field in far or farTemplate has not been verified.

  1. We add format validation by Kubebuilder (should have fence_ prefix)
  2. We add Webhook validation for whether a fence agent file exists with this agent name (under /usr/sbin directory)

ECOPROJECT-1753

openshift-ci[bot] commented 10 months ago

Skipping CI for Draft Pull Request. If you want CI signal for your change, please convert it to an actual PR. You can still manually trigger a test run with /test all

openshift-ci[bot] commented 10 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: razo7

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: - ~~[OWNERS](https://github.com/medik8s/fence-agents-remediation/blob/main/OWNERS)~~ [razo7] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
razo7 commented 10 months ago

/test 4.14-openshift-e2e /test 4.15-openshift-e2e

razo7 commented 9 months ago

/test 4.14-openshift-e2e

razo7 commented 9 months ago

/test 4.14-openshift-e2e /test 4.15-openshift-e2e

razo7 commented 9 months ago

/test 4.14-openshift-e2e

razo7 commented 9 months ago

/test 4.14-openshift-e2e

razo7 commented 9 months ago

/test 4.14-openshift-e2e

razo7 commented 9 months ago

/test 4.14-openshift-e2e

clobrano commented 9 months ago

Sorry, somehow my editor pushed the same review twice

razo7 commented 9 months ago

/test 4.14-openshift-e2e

slintes commented 9 months ago

/lgtm

razo7 commented 9 months ago

/retest