Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(LogGroup): Fix observe in case of more than 50 loggroups #1336

Merged
merged 1 commit into from
Jun 5, 2022

Conversation

petteja
Copy link
Contributor

@petteja petteja commented Jun 1, 2022

Description of your changes

DescribeLogGroup returns maximum 50 loggroups pr default, which can lead to cases where loggroup exists but doesn't get returned and Crossplane will then attempt to create the resource, rather than taking ownership of the loggroup.

This adds the external name as LogGroupNamePrefix to the Describe call which will return loggroups that has external name as prefix.

Fixes #1188

I have:

  • Read and followed Crossplane's [contribution process].
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

This has been tested out of cluster and also in our test- and production environments.

…xists

Signed-off-by: Petter Jacobsen <petteja@gmail.com>
Copy link
Member

@haarchri haarchri left a comment

Choose a reason for hiding this comment

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

Thanks tested ist working

@haarchri haarchri merged commit 12876a9 into crossplane-contrib:master Jun 5, 2022
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.

LogGroup: Importing existing log group does not work
2 participants