Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Pass maximum concurrent reconciles options to generated controllers #67

Merged
merged 2 commits into from
Sep 17, 2021

Conversation

ulucinar
Copy link
Collaborator

@ulucinar ulucinar commented Sep 17, 2021

Description of your changes

This PR proposes a change in terrajet that allows terrajet-based providers to set the maximum concurrent reconciles options for their controllers. The default value stays unmodified at 1.
It also contains a fix for tfcli, where we now consume a store file if the pipeline had a chance to generate it before timing out.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Manually tested this in the scope of the scalability tests I'm running with #55. I will provide more context and a detailed discussion there for the motivation behind this PR.

Copy link
Member

@muvaf muvaf left a comment

Choose a reason for hiding this comment

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

Could you change zz_setup.go generator as well to pass down this parameter?

Copy link
Member

@muvaf muvaf left a comment

Choose a reason for hiding this comment

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

Sorry, I didn't see that you already took care of zz_setup. LGTM!

@ulucinar ulucinar merged commit 9b4eaff into crossplane:main Sep 17, 2021
@ulucinar ulucinar deleted the fix-check branch September 17, 2021 17:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants