Replies: 4 comments 1 reply
-
tried with adding ....
"*.services.k8s.aws/*":
health.lua.useOpenLibs: true
health.lua: |
hs = {}
if obj.status ~= nil then
.... any ideas how to make this work? or globally allow the useOpenLibs? |
Beta Was this translation helpful? Give feedback.
-
im also interested in this question... |
Beta Was this translation helpful? Give feedback.
-
No, unfortunately never did. We used a different approach in the end |
Beta Was this translation helpful? Give feedback.
-
ive tried the equivalent of the following under resource.customizations and the libraries were enabled...
|
Beta Was this translation helpful? Give feedback.
-
As part of our argo system we have a lot of resources created by AWS Controllers for Kubernetes (ACK)
For this we have implemented a simple health check lua using wildcard to target all resource under
*.services.k8s.aws/*
Unfortunately this does not seem to be working, in objects status I can see that condition is met, but the status is not applied.
Currently We are thinking it might be due to access to the standard Lua libraries being disabled by default.
The (health check documentation)(https://github.com/schakrad/argo-cd/blob/master/docs/operator-manual/health.md) shows an example of how to enable it for a specific
resource/kind
but I can't seem to figure out how to enable it for a wildcard based check?Beta Was this translation helpful? Give feedback.
All reactions