Skip to content

Commit

Permalink
Merge pull request #25 from mshitrit/add-node-name-annotation
Browse files Browse the repository at this point in the history
Add Node Name annotation
  • Loading branch information
openshift-merge-bot[bot] authored Mar 19, 2024
2 parents 4ce10db + cabc267 commit cd032bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/annotations/annotations.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ const (

// MultipleTemplatesSupportedAnnotation is an annotation that indicates whether multiple templates of the same kind are supported by the template's remediator
MultipleTemplatesSupportedAnnotation = "remediation.medik8s.io/multiple-templates-support"

// NodeNameAnnotation is an annotation that contains the node name and is placed on CRs of remediators which supports multiple templates of the same kind.
// It's required in order for the remediator to "know" which unhealthy node the CR represents .
NodeNameAnnotation = "remediation.medik8s.io/node-name"
)

0 comments on commit cd032bd

Please sign in to comment.