File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
internal/framework/controller/predicate Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ func (cp AnnotationPredicate) Update(e event.UpdateEvent) bool {
44
44
// RestartDeploymentAnnotationPredicate skips update events if they are due to a rolling restart.
45
45
// This type of event is triggered by adding an annotation to the deployment's PodSpec.
46
46
// This is used by the provisioner to ensure it allows for rolling restarts of the nginx deployment
47
- // without reverting the annotation and deleting the new pod(s).
47
+ // without reverting the annotation and deleting the new pod(s). Otherwise, if a user changes
48
+ // the nginx deployment, we want to see that event so we can revert it back to the configuration
49
+ // that we expect it to have.
48
50
type RestartDeploymentAnnotationPredicate struct {
49
51
predicate.Funcs
50
52
}
You can’t perform that action at this time.
0 commit comments