helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[prometheus-json-exporter] coalesce.go:160: warning: skipped value for deployment: Not a table.

Open ale9412 opened this issue 2 years ago • 2 comments

Given that affinity parameter in values files is set to a list, when trying to overwrite this value on a parent chart it throws the warning coalesce.go:237: warning: skipped value for prometheus-json-exporter.prometheus-json-exporter.affinity: Not a table.

prometheus-json-exporter:
  affinity:
    nodeAffinity:
      preferredDuringSchedulingIgnoredDuringExecution:
      - weight: 1
        preference:
          matchExpressions:
          - key: "label-key"
            operator: In
            values:
            - "label-value"

This parameter should be set to a map: affinity: {} In order to be able to overwrite it correctly. The same I assume it will happen with nodeSelector

What's your helm version?

3.13.1

What's your kubectl version?

1.28.3

Which chart?

prometheus-json-exporter

What's the chart version?

0.8.0

Enter the changed values of values.yaml?

affinity: []

Enter the command that you execute and failing/misfunctioning.

helm template json-exporter .

ale9412 avatar Nov 13 '23 10:11 ale9412

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Dec 15 '23 06:12 stale[bot]

This issue is being automatically closed due to inactivity.

stale[bot] avatar Apr 26 '25 12:04 stale[bot]

This issue is being automatically closed due to inactivity.

stale[bot] avatar Jun 27 '25 01:06 stale[bot]