feat(bootstrap): Add healthcheck before moving forward

This commit is contained in:
2026-08-08 09:11:11 +05:30
parent 7d001e81c2
commit 0c07d967a4
2 changed files with 22 additions and 0 deletions
@@ -0,0 +1,18 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
data:
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
+4
View File
@@ -9,3 +9,7 @@ patches:
kind: Service kind: Service
name: argocd-server name: argocd-server
path: argocd-server-nodeport-patch.yaml path: argocd-server-nodeport-patch.yaml
- target:
kind: ConfigMap
name: argocd-cm
path: argocd-cm-application-health-patch.yaml