-
Notifications
You must be signed in to change notification settings - Fork 824
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
Error exectuateYq err: no matches found
when rendering Helm chart
#1625
Comments
Thank you for raising this issue. @MMMMMMorty can this be related to the PR we merged? |
@dwertent Yes, I will check it tonight. |
@migruiz4 Hi, could you please provide me with your test data to help me reproduce the bug? |
I think the test data is all in the repository @migruiz4 shared https://github.com/migruiz4/demo-bitnami-charts/tree/develop The issue can be reproduced with In this example we're using a chart with several subcharts, in case that helps identify the root cause. |
We have the same error without any subcharts. Its not that. Seems to break on empty map which then maps. relevant code: web:
env:
# - name: ENV_VAR
# value: myvalue spec:
template:
spec:
containers:
- name: nginx
env:
- name: NGINX_BACKEND_APP
value: localhost
{{- with .Values.web.env }}
{{- . | toYaml | nindent 12 }}
{{- end }} |
@bbrala Thank you for your information. I am working on it. |
Hopefully it helps :) And thank you for your work on this <3 |
Description
I'm having issues with Kubescape when scanning a git repository:
Environment
OS:
Debian 11
Version:
3.0.4
Steps To Reproduce
The error does not provide a specific reason as to why the render failed, but I was able to run the scan using the previous version 3.0.3
Expected behavior
Kubescape does not fail to render helm chart and the scan is executed successfully.
Additional information
Output when using the previous version of kubescape:
The text was updated successfully, but these errors were encountered: