Skip to content

Commit 0577a27

Browse files
committed
fix code comment
1 parent 0ae070b commit 0577a27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/status/analyzer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ type statusAnalyzer struct {
3232
// - certain hints about the object's status type can be passed by setting the annotation '<reconcilerName>/status-hint' on the object, as a comma-separated list;
3333
// if this list contains the value 'has-observed-generation', the object's status (where appropriate) will be enhanced with an observed generation of -1 before passing it to kstatus;
3434
// if this list contains the value 'has-ready-condition', the object's status (where appropriate) will be enhanced by a ready condition with 'Unknown' state
35+
// if this list contains the value 'conditions=cond[;cond...]', then the listed conditions must be present and true in order to make the object considered ready
3536
// - jobs will be treated differently as with kstatus; other than kstatus, which considers jobs as ready if they are successfully started, this implementation waits for
3637
// the JobComplete or JobFailed condidtion to be present on the job's status.
3738
func NewStatusAnalyzer(reconcilerName string) StatusAnalyzer {

0 commit comments

Comments
 (0)