Skip to content

Commit

Permalink
fix: add missing conditional for ignore Diffs (#734)
Browse files Browse the repository at this point in the history
Signed-off-by: Henrique Oliveira <[email protected]>
  • Loading branch information
haooliveira84 authored Mar 19, 2024
1 parent 5f5bf6f commit 5438185
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion content/knowledge-base/integrations/argo-cd-crossplane.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ data:
"Composition",
"CompositionRevision",
"DeploymentRuntimeConfig",
"ControllerConfig"
"ControllerConfig",
"ProviderConfig",
"ProviderConfigUsage"
}
if obj.status == nil and contains(has_no_status, obj.kind) then
health_status.status = "Healthy"
Expand All @@ -142,6 +144,11 @@ data:
end
if obj.status == nil or obj.status.conditions == nil then
if obj.kind == "ProviderConfig" and obj.status.users ~= nil then
health_status.status = "Healthy"
health_status.message = "Resource is in use."
return health_status
end
return health_status
end
Expand Down

0 comments on commit 5438185

Please sign in to comment.