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

check if deployment operator already exists #511

Merged
merged 1 commit into from
May 19, 2024
Merged

Conversation

zreigz
Copy link
Member

@zreigz zreigz commented May 17, 2024

Summary

check if deployment operator already exists and confirm if so

Labels

Test Plan

Checklist

  • If required, I have updated the Plural documentation accordingly.
  • I have added tests to cover my changes.
  • I have added a meaningful title and summary to convey the impact of this PR to a user.
  • I have added relevant labels to this PR to help with categorization for release notes.

@zreigz zreigz added the enhancement New feature or request label May 17, 2024
@@ -117,6 +117,15 @@ func (p *Plural) doInstallOperator(url, token, values string) error {
if err != nil {
return err
}
alreadyExists, err := console.IsAlreadyAgentInstalled(p.Kube.GetClient())
Copy link
Member

Choose a reason for hiding this comment

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

we potentially should add an argument here to not do this check on plural cd clusters reinstall (the expectation is you are updating an already existing agent)

@zreigz zreigz merged commit c34318c into main May 19, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants