Skip to content

Conversation

@paulgmiller
Copy link
Member

…ut still some failures

reconcileInterval, err := time.ParseDuration(str)
if anno[reconcileIntervalKey] != "" && err != nil {
logger.V(0).Info("invalid reconcile interval - ignoring")
return nil, fmt.Errorf("invalid reconcile interval, %s", str)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's safe to make these terminal errors but we should add an integration test in the reconciliation controller to prove that producing invalid resources doesn't cause a deadlock state e.g. synthesis is blocked because the previous synthesis is invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants