Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions content/master/guides/crossplane-with-argo-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ data:
end
end

if condition.type == "Installed" then
if condition.status == "False" then
health_status.status = "Degraded"
health_status.message = condition.message
return health_status
end
end

if contains({"Ready", "Healthy", "Offered", "Established", "ValidPipeline", "RevisionHealthy"}, condition.type) then
if condition.status == "True" then
health_status.status = "Healthy"
Expand Down
8 changes: 8 additions & 0 deletions content/v1.20/guides/crossplane-with-argo-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,14 @@ data:
end
end

if condition.type == "Installed" then
if condition.status == "False" then
health_status.status = "Degraded"
health_status.message = condition.message
return health_status
end
end

if contains({"Ready", "Healthy", "Offered", "Established"}, condition.type) then
if condition.status == "True" then
health_status.status = "Healthy"
Expand Down
8 changes: 8 additions & 0 deletions content/v2.0-preview/guides/crossplane-with-argo-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,14 @@ data:
end
end

if condition.type == "Installed" then
if condition.status == "False" then
health_status.status = "Degraded"
health_status.message = condition.message
return health_status
end
end

if contains({"Ready", "Healthy", "Offered", "Established"}, condition.type) then
if condition.status == "True" then
health_status.status = "Healthy"
Expand Down
8 changes: 8 additions & 0 deletions content/v2.0/guides/crossplane-with-argo-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ data:
end
end

if condition.type == "Installed" then
if condition.status == "False" then
health_status.status = "Degraded"
health_status.message = condition.message
return health_status
end
end

if contains({"Ready", "Healthy", "Offered", "Established", "ValidPipeline", "RevisionHealthy"}, condition.type) then
if condition.status == "True" then
health_status.status = "Healthy"
Expand Down
8 changes: 8 additions & 0 deletions content/v2.1/guides/crossplane-with-argo-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ data:
end
end

if condition.type == "Installed" then
if condition.status == "False" then
health_status.status = "Degraded"
health_status.message = condition.message
return health_status
end
end

if contains({"Ready", "Healthy", "Offered", "Established", "ValidPipeline", "RevisionHealthy"}, condition.type) then
if condition.status == "True" then
health_status.status = "Healthy"
Expand Down
8 changes: 8 additions & 0 deletions content/v2.2/guides/crossplane-with-argo-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ data:
end
end

if condition.type == "Installed" then
if condition.status == "False" then
health_status.status = "Degraded"
health_status.message = condition.message
return health_status
end
end

if contains({"Ready", "Healthy", "Offered", "Established", "ValidPipeline", "RevisionHealthy"}, condition.type) then
if condition.status == "True" then
health_status.status = "Healthy"
Expand Down
Loading