-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter complex list #398
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
how can file a complex list with sprig. I want the OutOfSync only.
"resources": {{ without .app.status.resources .status "Synced" | toJson }} this just returns all elements. Thanks.
status:
resources:
- kind: ConfigMap
name: psb-amlen-webui-fluentd
namespace: pcs-dev
status: Synced
version: v1
- kind: ConfigMap
name: psb-amlen-webui-haproxy-cfg
namespace: pcs-dev
status: Synced
version: v1
- group: apps
health:
status: Healthy
kind: Deployment
name: psb-codedownload
namespace: pcs-dev
status: OutOfSync
version: v1
The text was updated successfully, but these errors were encountered: