Skip to content
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

Unknow warning #69

Open
sofiafernandezmoreno opened this issue Feb 22, 2024 · 3 comments
Open

Unknow warning #69

sofiafernandezmoreno opened this issue Feb 22, 2024 · 3 comments
Labels
question Further information is requested

Comments

@sofiafernandezmoreno
Copy link

sofiafernandezmoreno commented Feb 22, 2024

First of all, thank you so much for this amazing tool.
I'm creating this issue due since several days I'm facing this issue

WARN: failed to recognize a resource. snapshot as Unknown:
---
object:
    apiVersion: helm-chartsnap.jlandowner.dev/v1alpha1
    kind: Unknown
    raw: |
        coalesce.go:286: warning: cannot overwrite table with non table for certificate-exporter.hostPathsExporter.securityContext (map[capabilities:map[drop:[ALL]] readOnlyRootFilesystem:true runAsGroup:0 runAsUser:0])
        coalesce.go:286: warning: cannot overwrite table with non table for certificate-exporter.secretsExporter.securityContext (map[capabilities:map[drop:[ALL]] readOnlyRootFilesystem:true runAsGroup:65534 runAsUser:65534])

I don't know but maybe could be related with the array section
this is my values.yaml:

certificate-exporter:
  exposePerCertificateErrorMetrics: true
  exposeRelativeMetrics: true
  secretsExporter:
    securityContext: []    
  hostPathsExporter:
    securityContext: []

My helm version is 3.14.2

@jlandowner
Copy link
Owner

Hi @sofiafernandezmoreno! Thank you for opening a issue and sorry for my late reply.

Unknown warning is stderr or stdout of the output of helm template command. So it seems the warning of your chart and values.

Can you run helm template command directly with your chart and values and check if the same warning appears?

@sofiafernandezmoreno
Copy link
Author

Hi, @jlandowner ,
Yes, I tested with helm template and it's not showing that warning
Thank you for the feedback and for the help

@jlandowner
Copy link
Owner

OK. I would like to reproduce it in my environment.

Can you share the additional information?

  • The command and options you used.
  • A reprodusable Helm chart information(e.g. URL if it's a public chart, or full chart templates or just a part which you can share)

@jlandowner jlandowner added the question Further information is requested label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants