Skip to content

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

Open
@pablomdc

Description

@pablomdc

"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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions