Skip to content

Commit

Permalink
fix app status
Browse files Browse the repository at this point in the history
  • Loading branch information
dfry committed May 22, 2023
1 parent 20ad15a commit f15c4dd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions mojaloop/iac/roles/argocd/templates/argo-cm.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ apiVersion: v1
data:
ui.bannercontent: "initial attempt at deployment of argo with plugins"
ui.bannerpermanent: "true"
resource.customizations.health.argoproj.io_Application: |
hs = {}
hs.status = "Progressing"
hs.message = ""
if obj.status ~= nil then
if obj.status.health ~= nil then
hs.status = obj.status.health.status
if obj.status.health.message ~= nil then
hs.message = obj.status.health.message
end
end
end
return hs
kind: ConfigMap
metadata:
labels:
Expand Down

0 comments on commit f15c4dd

Please sign in to comment.