-
Notifications
You must be signed in to change notification settings - Fork 341
[GITOPS-7475]: Default argocd instance does not get recreated after deletion #960
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
[GITOPS-7475]: Default argocd instance does not get recreated after deletion #960
Conversation
Hi @akhilnittala. Thanks for your PR. I'm waiting for a redhat-developer member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @akhilnittala for working on this issue. Posted few comments. Otherwise looks good.
/ok-to-test |
9ab0570
to
b8c51df
Compare
…eletion Signed-off-by: akhil nittala <[email protected]> Signed-off-by: akhil nittala <[email protected]>
b8c51df
to
bdcd83a
Compare
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @akhilnittala. Overall looks good. Left some comments.
Did we run any tests with DISABLE_DEFAULT_ARGOCD_INSTANCE=true
env? This env var can be used to control creation and deletion of default ArgoCD instance. When set, the default instance should not be created.
…eletion Signed-off-by: akhil nittala <[email protected]>
Yes siddhesh, added env variable in manager.yaml in config files as - name: DISABLE_DEFAULT_ARGOCD_INSTANCE ; value: "true" and tested it, it didnt create default argocd instance. |
…eletion Signed-off-by: akhil nittala <[email protected]>
/test v4.14-e2e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/lgtm Thanks @akhilnittala . The change looks good. Can we add a sequential e2e test? You can use this as a reference: https://github.com/redhat-developer/gitops-operator/blob/master/test/openshift/e2e/ginkgo/sequential/1-018_validate_disable_default_instance_test.go |
…eletion Signed-off-by: akhil nittala <[email protected]>
test/openshift/e2e/ginkgo/sequential/1-018_validate_disable_default_instance_test.go
Outdated
Show resolved
Hide resolved
…eletion Signed-off-by: akhil nittala <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: svghadi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
1 similar comment
/retest |
New changes are detected. LGTM label has been removed. |
cfdfdb2
into
redhat-developer:master
What type of PR is this?
/kind bug
What does this PR do / why we need it:
Before these changes, deleting the default ArgoCD instance (openshift-gitops) did not trigger its automatic recreation. However, with these changes, the default instance is now correctly recreated when it is deleted.
Have you updated the necessary documentation?
No documentation required.
Which issue(s) this PR fixes:
https://issues.redhat.com/browse/GITOPS-7475
Fixes #?
Test acceptance criteria:
How to test changes / Special notes to the reviewer:
Deploy the GitOps Operator, then delete the default openshift-gitops instance from the openshift-gitops namespace. Verify if the instance is automatically recreated.