[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. DetailsInstructions 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 |
anandf
left a comment
There was a problem hiding this comment.
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 <nakhil@redhat.com> Signed-off-by: akhil nittala <nakhil@redhat.com>
b8c51df to
bdcd83a
Compare
|
/retest |
There was a problem hiding this comment.
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 <nakhil@redhat.com>
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 <nakhil@redhat.com>
|
/test v4.14-e2e |
|
/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 <nakhil@redhat.com>
…eletion Signed-off-by: akhil nittala <nakhil@redhat.com>
|
/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 DetailsNeeds 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.