Skip to content

Commit

Permalink
Fix ProviderConfig "progressing" status
Browse files Browse the repository at this point in the history
  • Loading branch information
MacroPower committed Feb 13, 2024
1 parent 08f5356 commit 683e9d7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion applications/base/argocd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,26 @@ configs:
"Composition",
"CompositionRevision",
"DeploymentRuntimeConfig",
"ControllerConfig"
"ControllerConfig",
"ProviderConfig",
"ProviderConfigUsage"
}
if obj.status == nil and contains(has_no_status, obj.kind) then
health_status.status = "Healthy"
health_status.message = "Resource is up-to-date."
return health_status
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
if obj.status == nil or obj.status.conditions == nil then
return health_status
end
Expand Down

0 comments on commit 683e9d7

Please sign in to comment.