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

[Web Bug] - Configuring Crossplane with Argo CD #841

Open
pablomdc opened this issue Dec 4, 2024 · 0 comments
Open

[Web Bug] - Configuring Crossplane with Argo CD #841

pablomdc opened this issue Dec 4, 2024 · 0 comments

Comments

@pablomdc
Copy link

pablomdc commented Dec 4, 2024

"return health_status" in the following block is erroneous logic - object has 3 statuses, Sync can be False, but since Ready is True and was first in the loop, recon will turn out to a healthy resource, this is wrong.

      if condition.type == "Ready" then
        if condition.status == "True" then
          health_status.status = "Healthy"
          health_status.message = "Resource is up-to-date."
          **return health_status**
        end
      end

URL: https://docs.crossplane.io/v1.18/guides/crossplane-with-argo-cd/

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

No branches or pull requests

1 participant